Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /IndexedDB/globalscope-indexedDB-SameObject.html - WPT Dashboard Interop Dashboard
<!doctype html>
<meta charset=utf-8>
<title>IndexedDB: Verify [SameObject] behavior of the global scope's indexedDB attribute</title>
<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>