tor-browser

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

idlharness.https.html (690B)


      1 <!doctype html>
      2 <meta charset=utf-8>
      3 <script src="/resources/testharness.js"></script>
      4 <script src="/resources/testharnessreport.js"></script>
      5 <script src="/resources/WebIDLParser.js"></script>
      6 <script src="/resources/idlharness.js"></script>
      7 <body>
      8  <script>
      9    'use strict';
     10 
     11    idl_test(
     12          ['js-self-profiling'],
     13          ['hr-time', 'dom'],
     14          async idl_array => {
     15                idl_array.add_objects({
     16                      Profiler: ['profiler'],
     17                    });
     18 
     19                self.profiler = new Profiler({
     20                      sampleInterval: 1,
     21                      maxBufferSize: 1,
     22                    });
     23              }
     24        );
     25  </script>