tor-browser

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

distance-exponential.html (982B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <title>
      5      distance-exponential.html
      6    </title>
      7    <script src="/resources/testharness.js"></script>
      8    <script src="/resources/testharnessreport.js"></script>
      9    <script src="../../resources/audit-util.js"></script>
     10    <script src="../../resources/audit.js"></script>
     11    <script src="../../resources/distance-model-testing.js"></script>
     12  </head>
     13  <body>
     14    <script id="layout-test-code">
     15      let audit = Audit.createTaskRunner();
     16 
     17      audit.define(
     18          {
     19            label: 'test',
     20            description: 'Exponential distance model for PannerNode'
     21          },
     22          (task, should) => {
     23            // Create offline audio context.
     24            context = new OfflineAudioContext(
     25                2, sampleRate * renderLengthSeconds, sampleRate);
     26 
     27            createTestAndRun(context, 'exponential', should)
     28                .then(() => task.done());
     29          });
     30 
     31      audit.run();
     32    </script>
     33  </body>
     34 </html>