tor-browser

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

shared-storage-surface-failure-2.https.html (749B)


      1 <!doctype html>
      2 <script src="/resources/testharness.js"></script>
      3 <script src="/resources/testharnessreport.js"></script>
      4 <script src="/common/utils.js"></script>
      5 <script src="/shared-storage/resources/util.js"></script>
      6 <script src="/private-aggregation/resources/util.js"></script>
      7 <script src="/fenced-frame/resources/utils.js"></script>
      8 
      9 <body>
     10 <script>
     11 'use strict';
     12 
     13 // Note: This file should contain at most 6 shared storage subtests due to the
     14 // budget on selectURL().
     15 
     16 promise_test(async () => {
     17  const paa_data = {
     18    enableDebugMode: true,
     19    contributions: [{bucket: 1n, value: -2}]
     20  };
     21 
     22  await VerifyContributeToHistogram(paa_data, /*expected_error=*/true);
     23 }, 'contributeToHistogram() with a negative value');
     24 
     25 </script>
     26 </body>