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 5684252..b069148 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
index 94a0b0f..38eeb87 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 ]
 
-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
 ########################################
 
index 7d30d41..8c5aa80 100644 (file)
@@ -100,11 +100,12 @@ function continueTest2()
         } 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");
-        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() 
index 139f578..51d3f0d 100644 (file)
@@ -65,9 +65,10 @@ function continueTest1()
     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");
+    }
 
     var getWhileInactive = function() {
         try {
index 080b78e..0b63ab9 100644 (file)
@@ -65,9 +65,10 @@ function continueTest1()
     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");
+    }
 
     var getWhileInactive = function() {
         try {
index cdf5812..f312dbf 100644 (file)
@@ -80,9 +80,10 @@ function continueTest1()
     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");
+    }
 
     var testWhileInactive = function() {
         try {