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

Unified Diff: LayoutTests/storage/indexeddb/event-init.html

Issue 177633006: Implement IDBVersionChangeEvent ctor w/ IDBVersionChangeEventInit dict (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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/event-init.html
diff --git a/LayoutTests/storage/indexeddb/event-init.html b/LayoutTests/storage/indexeddb/event-init.html
new file mode 100644
index 0000000000000000000000000000000000000000..9ae49e37499042397ac4ed3cd6677106945970e2
--- /dev/null
+++ b/LayoutTests/storage/indexeddb/event-init.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<script src="../../resources/js-test.js"></script>
+<script>
+description("Verify the use of IDBVersionChangeEventInit");
+
+evalAndLog("initEvent = {oldVersion: 123, newVersion: 456}");
+evalAndLog("event = new IDBVersionChangeEvent('foo', initEvent)");
+shouldBeTrue("event instanceof IDBVersionChangeEvent");
+shouldBe("event.oldVersion", "initEvent.oldVersion");
+shouldBe("event.newVersion", "initEvent.newVersion");
+
+finishJSTest();
haraken 2014/02/25 01:14:38 Is this necessary?
+</script>
« no previous file with comments | « no previous file | LayoutTests/storage/indexeddb/event-init-expected.txt » ('j') | Source/bindings/v8/SerializedScriptValue.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698