https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 1b5ce4ad3817e7b7247d7ff0f76b81877fce0d89 authored by Andrew Comminos on 21 December 2018, 21:45:26 UTC
Perform flexbox child hit testing by testing all children atomically
Tip revision: 1b5ce4a
idlharness.https.window.js
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js

// https://w3c.github.io/accelerometer/

"use strict";

idl_test(
  ['accelerometer'],
  ['generic-sensor', 'dom'],
  idl_array => {
    idl_array.add_objects({
      Accelerometer: ['new Accelerometer();'],
      LinearAccelerationSensor: ['new LinearAccelerationSensor();'],
      GravitySensor: ['new GravitySensor();']
    });
  }
);
back to top