https://github.com/web-platform-tests/wpt
Raw File
Tip revision: a802b1049167b8449b0ceefae4d2ec353c2ae122 authored by Kenichi Ishibashi on 27 March 2018, 03:21:32 UTC
service_worker: Add tests for navigation timing
Tip revision: a802b10
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