disabled.https.html (423B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <script src="/resources/testharness.js"></script> 5 <script src="/resources/testharnessreport.js"></script> 6 </head> 7 <body> 8 <script> 9 test(t => { 10 assert_throws_dom('NotAllowedError', () => { 11 new Profiler({ sampleInterval: 10, maxBufferSize: Number.MAX_SAFE_INTEGER }); 12 }); 13 }, 'profiling should throw without passing document policy'); 14 </script> 15 </body> 16 </html>