tor-browser

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

idlharness.https.any.js (549B)


      1 // META: script=/resources/WebIDLParser.js
      2 // META: script=/resources/idlharness.js
      3 // META: timeout=long
      4 
      5 'use strict';
      6 
      7 // https://wicg.github.io/periodic-background-sync/
      8 
      9 idl_test(
     10  ['periodic-background-sync'],
     11  ['service-workers', 'html', 'dom'],
     12  async idl_array => {
     13    idl_array.add_objects({
     14      ServiceWorkerGlobalScope: ['self', 'onperiodicsync'],
     15      ServiceWorkerRegistration: ['registration'],
     16      PeriodicSyncManager: ['registration.periodicSync'],
     17      PeriodicSyncEvent: ['new PeriodicSyncEvent("tag")'],
     18    });
     19  }
     20 );