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.any.html - WPT Dashboard Interop Dashboard
- /IndexedDB/globalscope-indexedDB-SameObject.any.serviceworker.html - WPT Dashboard Interop Dashboard
- /IndexedDB/globalscope-indexedDB-SameObject.any.sharedworker.html - WPT Dashboard Interop Dashboard
- /IndexedDB/globalscope-indexedDB-SameObject.any.worker.html - WPT Dashboard Interop Dashboard
// META: title=IndexedDB: Verify [SameObject] behavior of the global scope's indexedDB attribute
// META: global=window,worker
// Spec:
'use strict';
test(t => {
assert_equals(
self.indexedDB, self.indexedDB,
'Attribute should yield the same object each time');
}, 'indexedDB is [SameObject]');