tor-browser

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

batch-update-inner-method-lock-not-allowed.tentative.https.sub.html (435B)


      1 <!doctype html>
      2 <script src="/resources/testharness.js"></script>
      3 <script src="/resources/testharnessreport.js"></script>
      4 
      5 <body>
      6 <script>
      7 'use strict';
      8 
      9 promise_test(async t => {
     10  return promise_rejects_dom(t, "DataError",
     11    sharedStorage.batchUpdate([
     12      new SharedStorageSetMethod("key0", "value0", {withLock: "lock1"})
     13    ]));
     14 }, 'batchUpdate() with a set method that specifies the \'withLock\' option');
     15 
     16 </script>
     17 </body>