storage/indexeddb/modern/idbobjectstore-get-failures.html is flaky on mac-wk1
authorbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 2 Nov 2015 18:39:17 +0000 (18:39 +0000)
committerbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 2 Nov 2015 18:39:17 +0000 (18:39 +0000)
https://bugs.webkit.org/show_bug.cgi?id=150804

Reviewed by Beth Dakin's rubberstamp.

* platform/mac-wk1/TestExpectations:
* storage/indexeddb/modern/idbdatabase-deleteobjectstore-failures.html:
* storage/indexeddb/modern/idbobjectstore-count-failures.html:
* storage/indexeddb/modern/idbobjectstore-get-failures.html:
* storage/indexeddb/modern/idbobjectstore-put-and-clear-failures.html:

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

LayoutTests/ChangeLog
LayoutTests/platform/mac-wk1/TestExpectations
LayoutTests/storage/indexeddb/modern/idbdatabase-deleteobjectstore-failures.html
LayoutTests/storage/indexeddb/modern/idbobjectstore-count-failures.html
LayoutTests/storage/indexeddb/modern/idbobjectstore-get-failures.html
LayoutTests/storage/indexeddb/modern/idbobjectstore-put-and-clear-failures.html

index 568425241d6610cf7caf611f0fe09d78a3faabcf..b0691488e5fd28da5480611c0dac79a104f7f0fe 100644 (file)
@@ -1,3 +1,16 @@
+2015-11-02  Brady Eidson  <beidson@apple.com>
+
+        storage/indexeddb/modern/idbobjectstore-get-failures.html is flaky on mac-wk1
+        https://bugs.webkit.org/show_bug.cgi?id=150804
+
+        Reviewed by Beth Dakin's rubberstamp.
+
+        * platform/mac-wk1/TestExpectations:
+        * storage/indexeddb/modern/idbdatabase-deleteobjectstore-failures.html:
+        * storage/indexeddb/modern/idbobjectstore-count-failures.html:
+        * storage/indexeddb/modern/idbobjectstore-get-failures.html:
+        * storage/indexeddb/modern/idbobjectstore-put-and-clear-failures.html:
+
 2015-11-02  Ryan Haddad  <ryanhaddad@apple.com>
 
         Marking imported/w3c/web-platform-tests/XMLHttpRequest/send-timeout-events.htm as flaky on Mac
 2015-11-02  Ryan Haddad  <ryanhaddad@apple.com>
 
         Marking imported/w3c/web-platform-tests/XMLHttpRequest/send-timeout-events.htm as flaky on Mac
index 94a0b0f90ffdcf0502a5da97bdaae30162e1c30b..38eeb87cb5f833d6d8d0277f39387451da1e36ba 100644 (file)
@@ -139,9 +139,6 @@ webkit.org/b/150367 [ Mavericks ] fast/canvas/webgl/oes-texture-half-float.html
 
 [ ElCapitan+ ] css3/masking/mask-repeat-space-padding.html [ ImageOnlyFailure ]
 
 
 [ ElCapitan+ ] css3/masking/mask-repeat-space-padding.html [ ImageOnlyFailure ]
 
-webkit.org/b/150804 storage/indexeddb/modern/idbobjectstore-get-failures.html [ Pass Failure ]
-webkit.org/b/150805 storage/indexeddb/modern/idbobjectstore-count-failures.html [ Pass Failure ]
-
 ### END OF (2) Failures without bug reports
 ########################################
 
 ### END OF (2) Failures without bug reports
 ########################################
 
index 7d30d41af4f95faf9e21ee58ced63ae0ed83b815..8c5aa803fc8864ccb5f3cdfa9a8be67a985f77a0 100644 (file)
@@ -100,11 +100,12 @@ function continueTest2()
         } catch(e) {
             alert("Failed to deleteObjectStore with a non-existent objectstore - " + e);
         }
         } catch(e) {
             alert("Failed to deleteObjectStore with a non-existent objectstore - " + e);
         }
-        
-        // Queue up a whole bunch of puts to keep the transaction alive for awhile
+
+        // Queue up some puts to keep the transaction alive long enough for the setTimeout to fire.
         var objectStore = versionTransaction.objectStore("TestObjectStore");
         var objectStore = versionTransaction.objectStore("TestObjectStore");
-        for (var i = 0; i < 10; ++i)
-            objectStore.put("AH AH AH AH AH", i + " puts");
+        objectStore.put("we will we will", 1).onsuccess = function() {
+            objectStore.put("rock you", 2);
+        }
         
         // After the versionChange transaction becomes inactive, but while it's still in-progress, try to delete the objectstore
         var tryInactiveDelete = function() 
         
         // After the versionChange transaction becomes inactive, but while it's still in-progress, try to delete the objectstore
         var tryInactiveDelete = function() 
index 139f5786f71b14573fc8cd18749955ce05ed7742..51d3f0dd9ec5176474dd614258573b7f257e50d1 100644 (file)
@@ -65,9 +65,10 @@ function continueTest1()
     var transaction = database.transaction("TestObjectStore", "readonly");
     var objectStore = transaction.objectStore("TestObjectStore");
 
     var transaction = database.transaction("TestObjectStore", "readonly");
     var objectStore = transaction.objectStore("TestObjectStore");
 
-    // Queue up a whole bunch of gets to keep the transaction alive for awhile
-    for (var i = 0; i < 10; ++i)
+    // Queue up some gets to keep the transaction alive long enough for the setTimeout to fire.
+    objectStore.get("foo").onsuccess = function() {
         objectStore.get("foo");
         objectStore.get("foo");
+    }
 
     var getWhileInactive = function() {
         try {
 
     var getWhileInactive = function() {
         try {
index 080b78e80b7099b21cce363537fa6aa71894ded6..0b63ab949725728b88517a2700af61c029e39ba6 100644 (file)
@@ -65,9 +65,10 @@ function continueTest1()
     var transaction = database.transaction("TestObjectStore", "readonly");
     var objectStore = transaction.objectStore("TestObjectStore");
 
     var transaction = database.transaction("TestObjectStore", "readonly");
     var objectStore = transaction.objectStore("TestObjectStore");
 
-    // Queue up a whole bunch of gets to keep the transaction alive for awhile
-    for (var i = 0; i < 10; ++i)
+    // Queue up some gets to keep the transaction alive long enough for the setTimeout to fire.
+    objectStore.get("foo").onsuccess = function() {
         objectStore.get("foo");
         objectStore.get("foo");
+    }
 
     var getWhileInactive = function() {
         try {
 
     var getWhileInactive = function() {
         try {
index cdf581216577048a062cde9406db1286df44d18b..f312dbfbbeb5baf52297118593caad4f8b15a5f3 100644 (file)
@@ -80,9 +80,10 @@ function continueTest1()
     var transaction = database.transaction("TestObjectStore", "readwrite");
     var objectStore = transaction.objectStore("TestObjectStore");
 
     var transaction = database.transaction("TestObjectStore", "readwrite");
     var objectStore = transaction.objectStore("TestObjectStore");
 
-    // Queue up a whole bunch of gets to keep the transaction alive for awhile
-    for (var i = 0; i < 10; ++i)
+    // Queue up some gets to keep the transaction alive long enough for the setTimeout to fire.
+    objectStore.get("foo").onsuccess = function() {
         objectStore.get("foo");
         objectStore.get("foo");
+    }
 
     var testWhileInactive = function() {
         try {
 
     var testWhileInactive = function() {
         try {