REGRESSION (r240358): IndexedDB/large-binary-keys.html and IndexedDB/large-string...
authorsihui_liu@apple.com <sihui_liu@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 31 Jan 2019 08:06:16 +0000 (08:06 +0000)
committersihui_liu@apple.com <sihui_liu@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 31 Jan 2019 08:06:16 +0000 (08:06 +0000)
https://bugs.webkit.org/show_bug.cgi?id=193956
<rdar://problem/47623109>

Reviewed by Ryosuke Niwa.

r240358 sets default IDB quota as 50 MB for single test, we need to increase that for big tests.

* IndexedDB/large-binary-keys.html:
* IndexedDB/large-string-keys.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@240767 268f45cc-cd09-0410-ab3c-d52691b4dbfc

PerformanceTests/ChangeLog
PerformanceTests/IndexedDB/large-binary-keys.html
PerformanceTests/IndexedDB/large-string-keys.html

index c045c1e..7aac53b 100644 (file)
@@ -1,3 +1,16 @@
+2019-01-31  Sihui Liu  <sihui_liu@apple.com>
+
+        REGRESSION (r240358): IndexedDB/large-binary-keys.html and IndexedDB/large-string-keys.html perf tests failing
+        https://bugs.webkit.org/show_bug.cgi?id=193956
+        <rdar://problem/47623109>
+
+        Reviewed by Ryosuke Niwa.
+
+        r240358 sets default IDB quota as 50 MB for single test, we need to increase that for big tests. 
+
+        * IndexedDB/large-binary-keys.html:
+        * IndexedDB/large-string-keys.html:
+
 2019-01-18  Saam Barati  <sbarati@apple.com>
 
         Use scores everywhere in JetStream2's UI
index 72a71cf..e4ff4bf 100644 (file)
@@ -7,6 +7,10 @@
 var iterationCount = 20;
 var numberDeleted = 0;
 
+var quota = 500 * 1024 * 1024; //500MB
+if (window.testRunner)
+    testRunner.setIDBPerOriginQuota(quota);
+
 // Delete all databases for the test ahead of time.
 var databasePrefix = "large-string-keys-DB-";
 for (var i = 0; i < iterationCount + 1; ++i) {
index 916d90a..1e406cb 100644 (file)
@@ -7,6 +7,10 @@
 var iterationCount = 20;
 var numberDeleted = 0;
 
+var quota = 500 * 1024 * 1024; //500MB
+if (window.testRunner)
+    testRunner.setIDBPerOriginQuota(quota);
+
 // Delete all databases for the test ahead of time.
 var databasePrefix = "large-string-keys-DB-";
 for (var i = 0; i < iterationCount + 1; ++i) {