db.createObjectStore('foo');
Expecting exception from request = objectStore.put('value', void 0)
PASS Exception was thrown.
-FAIL code should be 5. Was 17.
+PASS code is IDBDatabaseException.DATA_ERR
Expecting exception from request = objectStore.put('value', null)
PASS Exception was thrown.
PASS code is IDBDatabaseException.DATA_ERR
Expecting exception from request = objectStore.put('value', (function() { return arguments; }()))
PASS Exception was thrown.
-FAIL code should be 5. Was 17.
+PASS code is IDBDatabaseException.DATA_ERR
Expecting exception from request = objectStore.put('value', true)
PASS Exception was thrown.
-FAIL code should be 5. Was 17.
+PASS code is IDBDatabaseException.DATA_ERR
Expecting exception from request = objectStore.put('value', false)
PASS Exception was thrown.
-FAIL code should be 5. Was 17.
+PASS code is IDBDatabaseException.DATA_ERR
Expecting exception from request = objectStore.put('value', new Error)
PASS Exception was thrown.
-FAIL code should be 5. Was 17.
+PASS code is IDBDatabaseException.DATA_ERR
Expecting exception from request = objectStore.put('value', function () {})
PASS Exception was thrown.
-FAIL code should be 5. Was 17.
+PASS code is IDBDatabaseException.DATA_ERR
Expecting exception from request = objectStore.put('value', JSON)
PASS Exception was thrown.
-FAIL code should be 5. Was 17.
+PASS code is IDBDatabaseException.DATA_ERR
Expecting exception from request = objectStore.put('value', Math)
PASS Exception was thrown.
-FAIL code should be 5. Was 17.
+PASS code is IDBDatabaseException.DATA_ERR
Expecting exception from request = objectStore.put('value', NaN)
PASS Exception was thrown.
-FAIL code should be 5. Was 17.
+PASS code is IDBDatabaseException.DATA_ERR
Expecting exception from request = objectStore.put('value', {})
PASS Exception was thrown.
-FAIL code should be 5. Was 17.
+PASS code is IDBDatabaseException.DATA_ERR
Expecting exception from request = objectStore.put('value', /regex/)
PASS Exception was thrown.
-FAIL code should be 5. Was 17.
+PASS code is IDBDatabaseException.DATA_ERR
Expecting exception from request = objectStore.put('value', window)
PASS Exception was thrown.
-FAIL code should be 5. Was 17.
+PASS code is IDBDatabaseException.DATA_ERR
Expecting exception from request = objectStore.put('value', window.document)
PASS Exception was thrown.
-FAIL code should be 5. Was 17.
+PASS code is IDBDatabaseException.DATA_ERR
Expecting exception from request = objectStore.put('value', window.document.body)
PASS Exception was thrown.
-FAIL code should be 5. Was 17.
+PASS code is IDBDatabaseException.DATA_ERR
PASS successfullyParsed is true
TEST COMPLETE