Modern IDB: storage/indexeddb/setversion-blocked-by-versionchange-close.html fails.
authorbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 9 Jan 2016 01:57:47 +0000 (01:57 +0000)
committerbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 9 Jan 2016 01:57:47 +0000 (01:57 +0000)
https://bugs.webkit.org/show_bug.cgi?id=152936

Reviewed by Alex Christensen.

* platform/mac-wk1/TestExpectations:
* storage/indexeddb/resources/setversion-blocked-by-versionchange-close.js:
* storage/indexeddb/setversion-blocked-by-versionchange-close-expected.txt:

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

LayoutTests/ChangeLog
LayoutTests/platform/mac-wk1/TestExpectations
LayoutTests/storage/indexeddb/resources/setversion-blocked-by-versionchange-close.js
LayoutTests/storage/indexeddb/setversion-blocked-by-versionchange-close-expected.txt

index fa5555c..ed799b1 100644 (file)
@@ -1,3 +1,14 @@
+2016-01-08  Brady Eidson  <beidson@apple.com>
+
+        Modern IDB: storage/indexeddb/setversion-blocked-by-versionchange-close.html fails.
+        https://bugs.webkit.org/show_bug.cgi?id=152936
+
+        Reviewed by Alex Christensen.
+
+        * platform/mac-wk1/TestExpectations:
+        * storage/indexeddb/resources/setversion-blocked-by-versionchange-close.js:
+        * storage/indexeddb/setversion-blocked-by-versionchange-close-expected.txt:
+
 2016-01-08  Ryan Haddad  <ryanhaddad@apple.com>
 
         Marking fast/scrolling/scroll-position-on-reload-rtl.html as failing on ios-simulator
index c845c06..6a3375d 100644 (file)
@@ -98,9 +98,6 @@ storage/indexeddb/intversion-long-queue.html [ Failure ]
 # With Modern IDB and the in-memory backing store, that should change.
 storage/indexeddb/open-db-private-browsing.html [ Failure ]
 
-# Incorrectly fires a blocked event
-storage/indexeddb/setversion-blocked-by-versionchange-close.html [ Failure ]
-
 # Relies on internals.observeGC
 storage/indexeddb/connection-leak.html [ Skip ]
 storage/indexeddb/cursor-leak.html [ Failure ]
index a2d8759..1e3b01a 100644 (file)
@@ -66,7 +66,6 @@ function h3Success(evt)
     preamble(evt);
     evalAndLog("h3 = event.target.result");
     shouldBe("h3.version", "2");
-    debug("FIXME: blocked should not fire as connection was closed. http://webkit.org/b/71130");
     shouldBeFalse("blockedEventFired");
     shouldBeTrue("versionChangeComplete");
     shouldBeTrue("h2Opened");
index 0fc6e09..b1c1d37 100644 (file)
@@ -18,9 +18,6 @@ indexedDB.open(dbname, 2)
 indexedDB.open(dbname)
 h1.close()
 
-h2Blocked():
-blockedEventFired = true
-
 h2UpgradeNeeded():
 h2 = event.target.result
 
@@ -33,8 +30,7 @@ h2Opened = true
 h3Success():
 h3 = event.target.result
 PASS h3.version is 2
-FIXME: blocked should not fire as connection was closed. http://webkit.org/b/71130
-FAIL blockedEventFired should be false. Was true.
+PASS blockedEventFired is false
 PASS versionChangeComplete is true
 PASS h2Opened is true
 PASS successfullyParsed is true