Bug 144590 - storage/indexeddb/mozilla/cursor-update-updates-indexes.html is flaky
Summary: storage/indexeddb/mozilla/cursor-update-updates-indexes.html is flaky
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-04 12:24 PDT by Alexey Proskuryakov
Modified: 2015-05-04 12:30 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2015-05-04 12:24:32 PDT
https://webkit-test-results.appspot.com/dashboards/flakiness_dashboard.html#showAllRuns=true&showExpectations=true&revision=183749&tests=storage%2Findexeddb%2Fmozilla%2Fcursor-update-updates-indexes.html

storage/indexeddb/mozilla/cursor-update-updates-indexes.html frequently fails like this:

--- /Volumes/Data/slave/yosemite-debug-tests-wk2/build/layout-test-results/storage/indexeddb/mozilla/cursor-update-updates-indexes-expected.txt
+++ /Volumes/Data/slave/yosemite-debug-tests-wk2/build/layout-test-results/storage/indexeddb/mozilla/cursor-update-updates-indexes-actual.txt
@@ -79,56 +79,7 @@
 indexedDB.deleteDatabase(dbname)
 info = objectStoreInfo[i];
 indexedDB.open(dbname)
-setupObjectStoreAndCreateIndex():
-db = event.target.result
-objectStore = db.createObjectStore(info.name, info.options);
-index = objectStore.createIndex('data_index', 'data', { unique: false });
-uniqueIndex = objectStore.createIndex('unique_data_index', 'data', { unique: true });
-request = objectStore.add(info.entry);
-trans = db.transaction(info.name, 'readwrite')
-trans.oncomplete = test
-objectStore = trans.objectStore(info.name)
-index = objectStore.index('data_index')
-uniqueIndex = objectStore.index('unique_data_index')
-request = objectStore.openCursor();
-cursor = request.result;
-value = cursor.value;
-value.data = secondValue;
-request = cursor.update(value);
-request = index.get(secondValue);
-PASS value.data is event.target.result.data
-request = uniqueIndex.get(secondValue);
-PASS value.data is event.target.result.data
-i++;
-db.close()
-indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
-
-dbname = "cursor-update-updates-indexes.html"
-indexedDB.deleteDatabase(dbname)
-info = objectStoreInfo[i];
-indexedDB.open(dbname)
-setupObjectStoreAndCreateIndex():
-db = event.target.result
-objectStore = db.createObjectStore(info.name, info.options);
-index = objectStore.createIndex('data_index', 'data', { unique: false });
-uniqueIndex = objectStore.createIndex('unique_data_index', 'data', { unique: true });
-request = objectStore.add(info.entry);
-trans = db.transaction(info.name, 'readwrite')
-trans.oncomplete = test
-objectStore = trans.objectStore(info.name)
-index = objectStore.index('data_index')
-uniqueIndex = objectStore.index('unique_data_index')
-request = objectStore.openCursor();
-cursor = request.result;
-value = cursor.value;
-value.data = secondValue;
-request = cursor.update(value);
-request = index.get(secondValue);
-PASS value.data is event.target.result.data
-request = uniqueIndex.get(secondValue);
-PASS value.data is event.target.result.data
-i++;
-db.close()
+FAIL Error function called unexpectedly: (UnknownError) undefined
 PASS successfullyParsed is true
 
 TEST COMPLETE
Comment 1 Alexey Proskuryakov 2015-05-04 12:30:21 PDT
Marked as flaky in r183760.