summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/IndexedDB/idbfactory_open.htm
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/IndexedDB/idbfactory_open.htm')
-rw-r--r--testing/web-platform/tests/IndexedDB/idbfactory_open.htm18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/web-platform/tests/IndexedDB/idbfactory_open.htm b/testing/web-platform/tests/IndexedDB/idbfactory_open.htm
new file mode 100644
index 000000000..bca2cfdc8
--- /dev/null
+++ b/testing/web-platform/tests/IndexedDB/idbfactory_open.htm
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<title>IDBFactory.open() - request has no source</title>
+<link rel="author" title="Microsoft" href="http://www.microsoft.com">
+<script src=/resources/testharness.js></script>
+<script src=/resources/testharnessreport.js></script>
+<script src=support.js></script>
+
+<script>
+ var open_rq = createdb(async_test(), undefined, 9);
+
+ open_rq.onupgradeneeded = function(e) {};
+ open_rq.onsuccess = function(e) {
+ assert_equals(e.target.source, null, "source")
+ this.done();
+ }
+</script>
+
+<div id="log"> </div>