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

Unified Diff: LayoutTests/storage/indexeddb/resources/intversion-close-in-oncomplete.js

Issue 307653004: IndexedDB: Result of failed request should be |undefined| (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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: LayoutTests/storage/indexeddb/resources/intversion-close-in-oncomplete.js
diff --git a/LayoutTests/storage/indexeddb/resources/intversion-close-in-oncomplete.js b/LayoutTests/storage/indexeddb/resources/intversion-close-in-oncomplete.js
index 1c8834da1e42d9c44a4d9095bb5f66b8ae0df947..c96acc55d9c0ffa19c445efcfc5c24d1a6924b52 100644
--- a/LayoutTests/storage/indexeddb/resources/intversion-close-in-oncomplete.js
+++ b/LayoutTests/storage/indexeddb/resources/intversion-close-in-oncomplete.js
@@ -46,7 +46,8 @@ function openError(evt)
{
preamble(evt);
shouldBeTrue("sawTransactionComplete");
- shouldBeNull("event.target.result");
+ shouldBeUndefined("event.target.result");
+ shouldBeNonNull("event.target.error");
shouldBeEqualToString("event.target.error.name", "AbortError");
evalAndExpectException("transaction = db.transaction('os', 'readwrite')", "DOMException.INVALID_STATE_ERR", "'InvalidStateError'");
finishJSTest();

Powered by Google App Engine
This is Rietveld 408576698