Index: LayoutTests/storage/indexeddb/key-cursor-request-cycle-expected.txt |
diff --git a/LayoutTests/storage/indexeddb/cursor-request-cycle-expected.txt b/LayoutTests/storage/indexeddb/key-cursor-request-cycle-expected.txt |
similarity index 85% |
copy from LayoutTests/storage/indexeddb/cursor-request-cycle-expected.txt |
copy to LayoutTests/storage/indexeddb/key-cursor-request-cycle-expected.txt |
index 99c720509d78e7d4d2f3d2dd34b723426086bebe..b4e14883783d89d0b135d8e65f63712dc12a8820 100644 |
--- a/LayoutTests/storage/indexeddb/cursor-request-cycle-expected.txt |
+++ b/LayoutTests/storage/indexeddb/key-cursor-request-cycle-expected.txt |
@@ -1,11 +1,11 @@ |
-Verify that that cursors weakly hold request, and work if request is GC'd |
+Verify that that key cursors weakly hold request, and work if request is GC'd |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB; |
-dbname = "cursor-request-cycle.html" |
+dbname = "key-cursor-request-cycle.html" |
indexedDB.deleteDatabase(dbname) |
indexedDB.open(dbname) |
@@ -17,7 +17,7 @@ onOpen(): |
db = event.target.result |
tx = db.transaction('store') |
store = tx.objectStore('store') |
-cursorRequest = store.openCursor() |
+cursorRequest = store.openKeyCursor() |
otherRequest = store.get(0) |
openCursorRequestSuccess(): |
@@ -29,7 +29,6 @@ gc() |
cursor = cursorRequest.result |
PASS cursor is non-null. |
PASS cursor.key is "key1" |
-PASS cursor.value is "value1" |
cursorRequest.extra = 123 |
cursor.extra = 456 |
Ensure request is not released if cursor is still around. |
@@ -46,13 +45,11 @@ cursorContinueSuccess(): |
cursor = event.target.result |
PASS cursor is non-null. |
PASS cursor.key is "key2" |
-PASS cursor.value is "value2" |
PASS event.target.extra is 123 |
PASS cursor.extra is 456 |
finalRequestSuccess(): |
PASS cursor.key is "key2" |
-PASS cursor.value is "value2" |
cursor = null |
gc() |
PASS cursorRequestObservation.wasCollected is true |