WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
144590
storage/indexeddb/mozilla/cursor-update-updates-indexes.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=144590
Summary
storage/indexeddb/mozilla/cursor-update-updates-indexes.html is flaky
Alexey Proskuryakov
Reported
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
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2015-05-04 12:30:21 PDT
Marked as flaky in
r183760
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug