summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/IndexedDB/globalscope-indexedDB-SameObject.html
blob: 7263aaaace5331310558e3f80b8509ac8246ed69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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>