https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 4ff3821eee7649de53e88cd6cb7ff77ecb691d0c authored by Anne van Kesteren on 17 September 2018, 13:51:33 UTC
DOM: test listener invocation order
Tip revision: 4ff3821
idlharness.https.window.js
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js

// https://w3c.github.io/orientation-sensor/">

'use strict';

idl_test(
  ['orientation-sensor'],
  ['generic-sensor', 'dom'],
  idl_array => {
    idl_array.add_objects({
      AbsoluteOrientationSensor: ['new AbsoluteOrientationSensor();'],
      RelativeOrientationSensor: ['new RelativeOrientationSensor();']
    });
    idl_array.prevent_multiple_testing('OrientationSensor');
  }
);
back to top