tor-browser

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

service-worker.https.any.js (469B)


      1 // META: script=./resources/checker.js
      2 // META: timeout=long
      3 // META: global=serviceworker
      4 'use strict';
      5 
      6 promise_test(async testCase => {
      7  assert_true(self.crossOriginIsolated);
      8 
      9  const result = await performance.measureUserAgentSpecificMemory();
     10 
     11  checkMeasureMemory(result, [
     12    {
     13      url: self.location.href,
     14      scope: 'ServiceWorkerGlobalScope',
     15      container: null,
     16    },
     17  ]);
     18 }, 'Well-formed result of performance.measureUserAgentSpecificMemory.');