Bug 172403

Summary: [iOS Simulator WK2] imported/blink/storage/indexeddb/blob-valid-after-deletion.html is flaky
Product: WebKit Reporter: Matt Lewis <jlewis3>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: beidson
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=158640
https://bugs.webkit.org/show_bug.cgi?id=163122

Description Matt Lewis 2017-05-19 17:41:49 PDT
The test imported/blink/storage/indexeddb/blob-valid-after-deletion.html has started to timeout on iOS simulator WK2.
The test is also flaky on other platforms and is marked as such already.

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=imported%2Fblink%2Fstorage%2Findexeddb%2Fblob-valid-after-deletion.html

https://build.webkit.org/results/Apple%20iOS%2010%20Simulator%20Debug%20WK2%20(Tests)/r217156%20(1501)/results.html
https://build.webkit.org/builders/Apple%20iOS%2010%20Simulator%20Debug%20WK2%20(Tests)/builds/1501

Diff:
--- /Volumes/Data/slave/ios-simulator-10-debug-tests-wk2/build/layout-test-results/imported/blink/storage/indexeddb/blob-valid-after-deletion-expected.txt
+++ /Volumes/Data/slave/ios-simulator-10-debug-tests-wk2/build/layout-test-results/imported/blink/storage/indexeddb/blob-valid-after-deletion-actual.txt
@@ -1,25 +1,3 @@
-Confirm that blobs stay alive after their records are deleted.
+#PID UNRESPONSIVE - com.apple.WebKit.WebContent.Development (pid 37841)
+FAIL: Timed out waiting for notifyDone to be called
 
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-dbname = "blob-valid-after-deletion.html"
-indexedDB.deleteDatabase(dbname)
-indexedDB.open(dbname)
-store = db.createObjectStore('store')
-store.put(value, key)
-
-doRead():
-trans = db.transaction('store')
-store = trans.objectStore('store')
-request = store.get(key)
-trans = db.transaction('store', 'readwrite')
-store = trans.objectStore('store')
-request = store.delete(key)
-PASS document.getElementById('frame0').contentDocument.body.innerText is blobAContent
-PASS document.getElementById('frame1').contentDocument.body.innerText is blobAContent
-PASS document.getElementById('frame2').contentDocument.body.innerText is blobBContent
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
Comment 1 Matt Lewis 2017-05-30 12:52:16 PDT
Marked test as flaky.
https://trac.webkit.org/changeset/217565/webkit/