mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
19 lines
526 B
JavaScript
19 lines
526 B
JavaScript
// 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');
|
|
},
|
|
'Test IDL implementation of Orientation Sensor'
|
|
);
|