tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

globalscope-indexedDB-SameObject.any.js (390B)


      1 // META: title=IndexedDB: Verify [SameObject] behavior of the global scope's indexedDB attribute
      2 // META: global=window,worker
      3 
      4 // Spec:
      5 // "https://w3c.github.io/IndexedDB/#dom-windoworworkerglobalscope-indexeddb"
      6 
      7 'use strict';
      8 
      9 test(t => {
     10  assert_equals(
     11      self.indexedDB, self.indexedDB,
     12      'Attribute should yield the same object each time');
     13 }, 'indexedDB is [SameObject]');