Bug 144590
Summary: | storage/indexeddb/mozilla/cursor-update-updates-indexes.html is flaky | ||
---|---|---|---|
Product: | WebKit | Reporter: | Alexey Proskuryakov <ap> |
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | beidson |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Alexey Proskuryakov
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
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
Marked as flaky in r183760.