https://github.com/web-platform-tests/wpt
Raw File
Tip revision: bff298ef3a29f1fb94968766714aa360da61b00f authored by domfarolino on 25 March 2018, 02:14:31 UTC
Add tests for https://github.com/whatwg/html/pull/3084
Tip revision: bff298e
globalscope-indexedDB-SameObject.html
<!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>
back to top