| Joshua Bell | 34938ac | 2017-10-11 21:19:01 | [diff] [blame] | 1 | <!doctype html> |
| 2 | <meta charset=utf-8> |
| 3 | <title>IndexedDB: Verify [SameObject] behavior of the global scope's indexedDB attribute</title> |
| 4 | <meta name="help" href="https://w3c.github.io/IndexedDB/#dom-windoworworkerglobalscope-indexeddb"> |
| 5 | <script src="/resources/testharness.js"></script> |
| 6 | <script src="/resources/testharnessreport.js"></script> |
| 7 | <script> |
| 8 | |
| 9 | test(t => { |
| 10 | assert_equals(self.indexedDB, self.indexedDB, |
| 11 | 'Attribute should yield the same object each time'); |
| 12 | |
| 13 | }, 'indexedDB is [SameObject]'); |
| 14 | |
| 15 | </script> |