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

Unified Diff: LayoutTests/storage/indexeddb/resources/transaction-basics.js

Issue 243523003: Fire window.onerror for uncaught IndexedDB errors (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Include error name Created 6 years, 8 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/transaction-basics.js
diff --git a/LayoutTests/storage/indexeddb/resources/transaction-basics.js b/LayoutTests/storage/indexeddb/resources/transaction-basics.js
index 3834165fd1289cb63c70aa8e1d32ed238848e7ab..b2358d64839edc31e49f8a1e50fea1ea4c1dcce0 100644
--- a/LayoutTests/storage/indexeddb/resources/transaction-basics.js
+++ b/LayoutTests/storage/indexeddb/resources/transaction-basics.js
@@ -39,6 +39,7 @@ function addRemoveIDBObjects()
function testSetVersionAbort2()
{
+ expectError();
debug("");
debug("testSetVersionAbort2():");
checkMetadataEmpty();
@@ -70,6 +71,7 @@ function addRemoveAddIDBObjects()
function testSetVersionAbort3()
{
+ expectError();
debug("");
debug("testSetVersionAbort3():");
shouldBeFalse("event.cancelable");
@@ -116,6 +118,7 @@ function testInactiveAbortedTransaction()
function testSetVersionAbort4()
{
+ expectError();
debug("");
debug("testSetVersionAbort4():");
checkMetadataEmpty();
@@ -159,6 +162,7 @@ function testInactiveCompletedTransaction()
function testSetVersionAbort5()
{
+ expectError();
debug("");
debug("testSetVersionAbort5():");
checkMetadataExistingObjectStore();

Powered by Google App Engine
This is Rietveld 408576698