Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 27 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /orientation-sensor/idlharness.https.window.html - WPT Dashboard Interop Dashboard
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
'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');
}
);