tor-browser

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

nested-cloning-basic.any.js (468B)


      1 // META: title=IndexedDB: basic objects are cloned correctly
      2 // META: global=window,worker
      3 // META: script=resources/support-promises.js
      4 // META: script=resources/nested-cloning-common.js
      5 // META: timeout=long
      6 
      7 // Spec: https://w3c.github.io/IndexedDB/#abort-transaction
      8 
      9 'use strict';
     10 
     11 cloningTest('small typed array', [
     12  {type: 'buffer', size: 64, seed: 1},
     13 ]);
     14 
     15 cloningTest('blob', [
     16  {type: 'blob', size: wrapThreshold, mimeType: 'text/x-blink-1', seed: 1},
     17 ]);