diff options
Diffstat (limited to 'testing/web-platform/tests/IndexedDB/globalscope-indexedDB-SameObject.html')
-rw-r--r-- | testing/web-platform/tests/IndexedDB/globalscope-indexedDB-SameObject.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/web-platform/tests/IndexedDB/globalscope-indexedDB-SameObject.html b/testing/web-platform/tests/IndexedDB/globalscope-indexedDB-SameObject.html new file mode 100644 index 0000000000..7263aaaace --- /dev/null +++ b/testing/web-platform/tests/IndexedDB/globalscope-indexedDB-SameObject.html @@ -0,0 +1,15 @@ +<!doctype html> +<meta charset=utf-8> +<title>IndexedDB: Verify [SameObject] behavior of the global scope's indexedDB attribute</title> +<meta name="help" href="https://w3c.github.io/IndexedDB/#dom-windoworworkerglobalscope-indexeddb"> +<script src="/resources/testharness.js"></script> +<script src="/resources/testharnessreport.js"></script> +<script> + +test(t => { + assert_equals(self.indexedDB, self.indexedDB, + 'Attribute should yield the same object each time'); + +}, 'indexedDB is [SameObject]'); + +</script> |