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

Unified Diff: LayoutTests/storage/indexeddb/resources/intversion-abort-in-initial-upgradeneeded.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-abort-in-initial-upgradeneeded.js
diff --git a/LayoutTests/storage/indexeddb/resources/intversion-abort-in-initial-upgradeneeded.js b/LayoutTests/storage/indexeddb/resources/intversion-abort-in-initial-upgradeneeded.js
index 34519fb9e505741ca80e94846c881c9bdff71172..e0cd454450660d97a6129291d886d77e2d39aa02 100644
--- a/LayoutTests/storage/indexeddb/resources/intversion-abort-in-initial-upgradeneeded.js
+++ b/LayoutTests/storage/indexeddb/resources/intversion-abort-in-initial-upgradeneeded.js
@@ -44,10 +44,10 @@ function onAbort(evt)
function onError(evt)
{
preamble(evt);
- shouldBe("db", "event.target.result");
shouldBe("request", "event.target");
+ shouldBeUndefined("event.target.result");
+ shouldBeNonNull("event.target.error");
shouldBeEqualToString("event.target.error.name", "AbortError");
- shouldBe("event.target.result.version", "0");
shouldBeNull("request.transaction");
finishJSTest();
}

Powered by Google App Engine
This is Rietveld 408576698