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

Unified Diff: LayoutTests/storage/indexeddb/mozilla/resources/add-twice-failure.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/mozilla/resources/add-twice-failure.js
diff --git a/LayoutTests/storage/indexeddb/mozilla/resources/add-twice-failure.js b/LayoutTests/storage/indexeddb/mozilla/resources/add-twice-failure.js
index 99ac11a70928f1c526310e43534ba5f0911bcaaf..5b93e8ae29fc8fb2ef95bf7336e60d6b45e08845 100644
--- a/LayoutTests/storage/indexeddb/mozilla/resources/add-twice-failure.js
+++ b/LayoutTests/storage/indexeddb/mozilla/resources/add-twice-failure.js
@@ -34,6 +34,8 @@ function addFirstSuccess()
function addSecondExpectedError()
{
+ shouldBeUndefined("event.target.result");
+ shouldBeNonNull("event.target.error");
shouldBe("event.target.error.name", "'ConstraintError'");
event.preventDefault();
finishJSTest();

Powered by Google App Engine
This is Rietveld 408576698