https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 236b2316d3ee4ed8ad02a65bc8a112e848e05884 authored by Kinuko Yasuda on 21 December 2018, 06:37:11 UTC
Add a test for ServiceWorker and AppCache interaction with claim()
Tip revision: 236b231
idlharness.https.window.js
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js

// https://w3c.github.io/magnetometer/

'use strict';

idl_test(
  ['magnetometer'],
  ['generic-sensor', 'dom'],
  idl_array => {
    idl_array.add_objects({
      Magnetometer: ['new Magnetometer();'],
      UncalibratedMagnetometer: ['new UncalibratedMagnetometer();']
    });
  }
);
back to top