shared-storage-surface-success-2.https.html (793B)
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 enableDebugModeArgs: {debugKey: 1234n}, 20 contributions: [{bucket: 1n, value: 2}] 21 }; 22 23 await VerifyContributeToHistogram(paa_data, /*expected_error=*/false); 24 }, 'contributeToHistogram() with a valid debugKey'); 25 26 </script> 27 </body>