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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/IndexedDB/support.js

Issue 2659513002: Upstream an assortment of IndexedDB tests to WPT. (Closed)
Patch Set: Created 3 years, 11 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: third_party/WebKit/LayoutTests/external/wpt/IndexedDB/support.js
diff --git a/third_party/WebKit/LayoutTests/external/wpt/IndexedDB/support.js b/third_party/WebKit/LayoutTests/external/wpt/IndexedDB/support.js
index 814987393be25ee3794094cde6bfa487503deea5..d349983605fefffc62169f62289bacba13211308 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/IndexedDB/support.js
+++ b/third_party/WebKit/LayoutTests/external/wpt/IndexedDB/support.js
@@ -112,6 +112,11 @@ function indexeddb_test(upgrade_func, open_func, description) {
open.onupgradeneeded = t.step_func(function() {
var db = open.result;
var tx = open.transaction;
+ var old_abort = tx.abort;
+ tx.abort = function() {
+ open.onerror = null;
+ old_abort.call(tx);
+ };
upgrade_func(t, db, tx);
});
open.onsuccess = t.step_func(function() {

Powered by Google App Engine
This is Rietveld 408576698