Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Unified Diff: content/test/data/indexeddb/cursor_test.js

Issue 401893002: IndexedDB: Stop using webkit-prefixed versions of APIs in tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More webkitIndexedDB foo and update webkitErrorMessage use too Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/test/data/indexeddb/cursor_test.js
diff --git a/content/test/data/indexeddb/cursor_test.js b/content/test/data/indexeddb/cursor_test.js
index 49e037f22e0adb0ce51633ca8900cfff7ee19518..98b10d0ba5c91906108356ede84288a358ebb0aa 100644
--- a/content/test/data/indexeddb/cursor_test.js
+++ b/content/test/data/indexeddb/cursor_test.js
@@ -4,14 +4,14 @@
function emptyCursorSuccess()
{
- debug('Empty cursor opened successfully.')
+ debug('Empty cursor opened successfully.');
done();
}
function openEmptyCursor()
{
debug('Opening an empty cursor.');
- keyRange = webkitIDBKeyRange.lowerBound('InexistentKey');
+ keyRange = IDBKeyRange.lowerBound('InexistentKey');
request = objectStore.openCursor(keyRange);
request.onsuccess = emptyCursorSuccess;
request.onerror = unexpectedErrorCallback;
@@ -37,7 +37,7 @@ function cursorSuccess()
function openCursor(objectStore)
{
debug('Opening cursor');
- var keyRange = webkitIDBKeyRange.lowerBound(3.12);
+ var keyRange = IDBKeyRange.lowerBound(3.12);
var request = objectStore.openCursor(keyRange);
request.onsuccess = cursorSuccess;
request.onerror = unexpectedErrorCallback;
« no previous file with comments | « content/test/data/indexeddb/cursor_prefetch.js ('k') | content/test/data/indexeddb/database_callbacks_first.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698