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

Unified Diff: LayoutTests/storage/indexeddb/blob-basics-metadata.html

Issue 325383002: Snapshot File metadata when serializing for IDB (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Try a safer approach Created 6 years, 6 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
« no previous file with comments | « no previous file | Source/bindings/v8/SerializedScriptValue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/storage/indexeddb/blob-basics-metadata.html
diff --git a/LayoutTests/storage/indexeddb/blob-basics-metadata.html b/LayoutTests/storage/indexeddb/blob-basics-metadata.html
index 9760e6f765393caf9e6d170cebe9a0029d3e077a..e93cea69a9ea9db98e0e4e5e86388cf0e8253f01 100644
--- a/LayoutTests/storage/indexeddb/blob-basics-metadata.html
+++ b/LayoutTests/storage/indexeddb/blob-basics-metadata.html
@@ -66,6 +66,7 @@ function testCursor()
debug("testCursor():");
evalAndLog("transaction = db.transaction('storeName', 'readonly')");
transaction.onerror = unexpectedErrorCallback;
+ transaction.onabort = unexpectedAbortCallback;
evalAndLog("store = transaction.objectStore('storeName')");
evalAndLog("request = store.openCursor()");
@@ -107,6 +108,8 @@ function validateResult(variable, validation, onComplete)
evalAndLog("transaction = db.transaction('storeName', 'readwrite')");
evalAndLog("store = transaction.objectStore('storeName')");
evalAndLog("store.put(" + variable + ", '" + keyName + "')");
+ transaction.onerror = unexpectedErrorCallback;
+ transaction.onabort = unexpectedAbortCallback;
var readTransactionOnComplete = function (e) {
shouldBeTrue("event.target.result" + validation);
onComplete();
@@ -123,6 +126,7 @@ function doRead(keyName, onComplete)
evalAndLog("request = store.get('" + keyName + "')");
request.onsuccess = onComplete;
transaction.onerror = unexpectedErrorCallback;
+ transaction.onabort = unexpectedAbortCallback;
}
if (window.eventSender) {
« no previous file with comments | « no previous file | Source/bindings/v8/SerializedScriptValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698