diff options
Diffstat (limited to 'packages/idb-bridge/src/idb-wpt-ported/idbcursor-continue-objectstore.test.ts')
-rw-r--r-- | packages/idb-bridge/src/idb-wpt-ported/idbcursor-continue-objectstore.test.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/idb-bridge/src/idb-wpt-ported/idbcursor-continue-objectstore.test.ts b/packages/idb-bridge/src/idb-wpt-ported/idbcursor-continue-objectstore.test.ts index ecfac82f4..4843b13ab 100644 --- a/packages/idb-bridge/src/idb-wpt-ported/idbcursor-continue-objectstore.test.ts +++ b/packages/idb-bridge/src/idb-wpt-ported/idbcursor-continue-objectstore.test.ts @@ -112,7 +112,8 @@ test.cb("WPT test idbcursor_continue_objectstore3.htm", (t) => { }; }); -// IDBCursor.continue() - object store - attempt to iterate to the next record when the direction is set for the previous record +// IDBCursor.continue() - object store - attempt to iterate to the +// next record when the direction is set for the previous record test.cb("WPT test idbcursor_continue_objectstore4.htm", (t) => { var db: any; const records = [ @@ -151,7 +152,9 @@ test.cb("WPT test idbcursor_continue_objectstore4.htm", (t) => { t.deepEqual(cursor.value.pKey, records[1].pKey, "second cursor pkey"); t.throws( () => { + console.log("**** continuing cursor"); cursor.continue(records[2].pKey); + console.log("**** this should not happen"); }, { name: "DataError", |