Title: [240312] trunk/LayoutTests
Revision
240312
Author
[email protected]
Date
2019-01-22 17:11:29 -0800 (Tue, 22 Jan 2019)

Log Message

Layout test storage/indexeddb/open-during-transaction-private.html is failing
https://bugs.webkit.org/show_bug.cgi?id=193600

Reviewed by Brady Eidson.

Make sure the second request is finished before the third one so that test ends properly.

* storage/indexeddb/open-during-transaction-expected.txt:
* storage/indexeddb/open-during-transaction-private-expected.txt:
* storage/indexeddb/resources/open-during-transaction.js:
(tryOpens.openreq3.onsuccess):
(tryOpens.openreq2.onsuccess):
(tryOpens):

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (240311 => 240312)


--- trunk/LayoutTests/ChangeLog	2019-01-23 00:43:18 UTC (rev 240311)
+++ trunk/LayoutTests/ChangeLog	2019-01-23 01:11:29 UTC (rev 240312)
@@ -1,3 +1,19 @@
+2019-01-22  Sihui Liu  <[email protected]>
+
+        Layout test storage/indexeddb/open-during-transaction-private.html is failing
+        https://bugs.webkit.org/show_bug.cgi?id=193600
+
+        Reviewed by Brady Eidson.
+
+        Make sure the second request is finished before the third one so that test ends properly.
+
+        * storage/indexeddb/open-during-transaction-expected.txt:
+        * storage/indexeddb/open-during-transaction-private-expected.txt:
+        * storage/indexeddb/resources/open-during-transaction.js:
+        (tryOpens.openreq3.onsuccess):
+        (tryOpens.openreq2.onsuccess):
+        (tryOpens):
+
 2019-01-22  Devin Rousso  <[email protected]>
 
         Web Inspector: Audit: provide a way to get related Accessibility properties for a given node

Modified: trunk/LayoutTests/storage/indexeddb/open-during-transaction-expected.txt (240311 => 240312)


--- trunk/LayoutTests/storage/indexeddb/open-during-transaction-expected.txt	2019-01-23 00:43:18 UTC (rev 240311)
+++ trunk/LayoutTests/storage/indexeddb/open-during-transaction-expected.txt	2019-01-23 01:11:29 UTC (rev 240312)
@@ -17,14 +17,12 @@
 
 trying to open the same database
 openreq2 = indexedDB.open(dbname)
-
-trying to open a different database
-openreq3 = indexedDB.open(dbname + '2')
-
 openreq2.onsuccess
 PASS state is "starting"
 state = 'open2complete'
 
+trying to open a different database
+openreq3 = indexedDB.open(dbname + '2')
 openreq3.onsuccess
 PASS state is "open2complete"
 state = 'open3complete'

Modified: trunk/LayoutTests/storage/indexeddb/open-during-transaction-private-expected.txt (240311 => 240312)


--- trunk/LayoutTests/storage/indexeddb/open-during-transaction-private-expected.txt	2019-01-23 00:43:18 UTC (rev 240311)
+++ trunk/LayoutTests/storage/indexeddb/open-during-transaction-private-expected.txt	2019-01-23 01:11:29 UTC (rev 240312)
@@ -17,14 +17,12 @@
 
 trying to open the same database
 openreq2 = indexedDB.open(dbname)
-
-trying to open a different database
-openreq3 = indexedDB.open(dbname + '2')
-
 openreq2.onsuccess
 PASS state is "starting"
 state = 'open2complete'
 
+trying to open a different database
+openreq3 = indexedDB.open(dbname + '2')
 openreq3.onsuccess
 PASS state is "open2complete"
 state = 'open3complete'

Modified: trunk/LayoutTests/storage/indexeddb/resources/open-during-transaction.js (240311 => 240312)


--- trunk/LayoutTests/storage/indexeddb/resources/open-during-transaction.js	2019-01-23 00:43:18 UTC (rev 240311)
+++ trunk/LayoutTests/storage/indexeddb/resources/open-during-transaction.js	2019-01-23 01:11:29 UTC (rev 240312)
@@ -55,17 +55,15 @@
         shouldBeEqualToString("state", "starting");
         evalAndLog("state = 'open2complete'");
         debug("");
-    };
-    debug("");
 
-    debug("trying to open a different database");
-    evalAndLog("openreq3 = indexedDB.open(dbname + '2')");
-    openreq3._onerror_ = unexpectedErrorCallback;
-    openreq3._onsuccess_ = function (e) {
-        debug("openreq3.onsuccess");
-        shouldBeEqualToString("state", "open2complete");
-        evalAndLog("state = 'open3complete'");
-        debug("");
+        debug("trying to open a different database");
+        evalAndLog("openreq3 = indexedDB.open(dbname + '2')");
+        openreq3._onerror_ = unexpectedErrorCallback;
+        openreq3._onsuccess_ = function (e) {
+            debug("openreq3.onsuccess");
+            shouldBeEqualToString("state", "open2complete");
+            evalAndLog("state = 'open3complete'");
+            debug("");
+        };
     };
-    debug("");
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to