Unreviewed IDB test gardening.
authorbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 May 2016 21:38:10 +0000 (21:38 +0000)
committerbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 May 2016 21:38:10 +0000 (21:38 +0000)
Update the workers variant of "deletedatabase-delayed-by-open-and-versionchange" to the modern expected results.

* TestExpectations:
* storage/indexeddb/deletedatabase-delayed-by-open-and-versionchange-workers-expected.txt:

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

LayoutTests/ChangeLog
LayoutTests/TestExpectations
LayoutTests/storage/indexeddb/deletedatabase-delayed-by-open-and-versionchange-workers-expected.txt

index 8955bbb..69ceb09 100644 (file)
@@ -1,3 +1,12 @@
+2016-05-06  Brady Eidson  <beidson@apple.com>
+
+        Unreviewed IDB test gardening.
+
+        Update the workers variant of "deletedatabase-delayed-by-open-and-versionchange" to the modern expected results.
+
+        * TestExpectations:
+        * storage/indexeddb/deletedatabase-delayed-by-open-and-versionchange-workers-expected.txt:
+
 2016-05-06  Dean Jackson  <dino@apple.com>
 
         Regions, Shapes and Tracks don't need runtime features
index 6a022a7..18035b6 100644 (file)
@@ -909,7 +909,6 @@ storage/indexeddb/request-leak.html [ Failure ]
 webkit.org/b/154619 storage/indexeddb/odd-strings.html [ Skip ]
 
 # IDB workers tests that fail
-storage/indexeddb/deletedatabase-delayed-by-open-and-versionchange-workers.html [ Failure ]
 storage/indexeddb/dont-commit-on-blocked-private.html [ Failure ]
 storage/indexeddb/dont-commit-on-blocked.html [ Failure ]
 storage/indexeddb/pending-activity-workers.html [ Failure ]
index 2f27141..eb6c332 100644 (file)
@@ -6,26 +6,26 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 Starting worker: resources/deletedatabase-delayed-by-open-and-versionchange.js
 [Worker] indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 [Worker] 
-[Worker] dbname = "deletedatabase-delayed-by-open-and-versionchange.js"
 [Worker] indexedDB.deleteDatabase(dbname)
 [Worker] indexedDB.open(dbname)
 [Worker] 
 [Worker] prepareDatabase():
 [Worker] versionChangeComplete = false
 [Worker] h = event.target.result
+[Worker] blockedCalled = false
 [Worker] indexedDB.deleteDatabase(dbname)
+[Worker] h.createObjectStore('testObjectStore').put('bar', 'foo')
 [Worker] 
 [Worker] onVersionChange():
 PASS [Worker] event.target.version is 1
 PASS [Worker] event.oldVersion is 1
 PASS [Worker] event.newVersion is null
 [Worker] 
-[Worker] deleteDatabaseOnBlocked():
-[Worker] 
 [Worker] transactionOnComplete():
 [Worker] versionChangeComplete = true
 [Worker] 
 [Worker] onOpenSuccess():
+PASS [Worker] blockedCalled is true
 [Worker] h = event.target.result
 [Worker] h.close()
 [Worker]