Skip to content
Permalink
Browse files
Modern IDB: Update a couple of tests that fail only because of error …
…message differences.

https://bugs.webkit.org/show_bug.cgi?id=152205

Reviewed by Alex Christensen.

* platform/mac-wk1/TestExpectations:
* storage/indexeddb/objectstore-autoincrement-expected.txt:
* storage/indexeddb/open-cursor-expected.txt:

Canonical link: https://commits.webkit.org/170338@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@194012 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
beidson committed Dec 12, 2015
1 parent 11807f0 commit 9408180dfb4d6832939d757434c177004d4e04da
Showing 4 changed files with 14 additions and 5 deletions.
@@ -1,3 +1,14 @@
2015-12-12 Brady Eidson <beidson@apple.com>

Modern IDB: Update a couple of tests that fail only because of error message differences.
https://bugs.webkit.org/show_bug.cgi?id=152205

Reviewed by Alex Christensen.

* platform/mac-wk1/TestExpectations:
* storage/indexeddb/objectstore-autoincrement-expected.txt:
* storage/indexeddb/open-cursor-expected.txt:

2015-12-12 Brady Eidson <beidson@apple.com>

Modern IDB: storage/indexeddb/index-duplicate-keypaths.html fails.
@@ -99,8 +99,6 @@ storage/indexeddb/intversion-open-in-upgradeneeded.html [ Failure ]
storage/indexeddb/intversion-pending-version-changes-descending.html [ Failure ]
storage/indexeddb/intversion-pending-version-changes-same.html [ Failure ]
storage/indexeddb/intversion-two-opens-no-versions.html [ Failure ]
storage/indexeddb/objectstore-autoincrement.html [ Failure ]
storage/indexeddb/open-cursor.html [ Failure ]
storage/indexeddb/open-db-private-browsing.html [ Failure ]
storage/indexeddb/open-ordering.html [ Failure ]
storage/indexeddb/properties-disabled-at-runtime.html [ Failure ]
@@ -58,7 +58,7 @@ Expecting exception from store.add({name: 'Adam'})
PASS Exception was thrown.
PASS code is 0
PASS ename is 'DataError'
Exception message: Failed to execute 'add' on 'IDBObjectStore': The object store uses out-of-line keys and has no key generator and the key parameter was not provided.
Exception message: Failed to store record in an IDBObjectStore: The object store uses out-of-line keys and has no key generator and the key parameter was not provided.
store.add({name: 'Adam'}, 1)
addAdamSuccess():
PASS event.target.result is 1
@@ -22,7 +22,7 @@ Expecting exception from event.target.result.continue({})
PASS Exception was thrown.
PASS code is 0
PASS ename is 'DataError'
Exception message: DataError: DOM IDBDatabase Exception 0
Exception message: Failed to execute 'continue' on 'IDBCursor': The parameter is not a valid key.

Opening an empty cursor.
objectStore.openCursor(keyRange)
@@ -40,7 +40,7 @@ Expecting exception from cursor.continue({})
PASS Exception was thrown.
PASS code is 0
PASS ename is 'DataError'
Exception message: DataError: DOM IDBDatabase Exception 0
Exception message: Failed to execute 'continue' on 'IDBCursor': The parameter is not a valid key.

Opening an empty cursor.
objectStore.openCursor("InexistentKey")

0 comments on commit 9408180

Please sign in to comment.