Source code

Revision control

Copy as Markdown

Other Tools

Test Info: Warnings

// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
"use strict";
idl_test(
['accelerometer'],
['generic-sensor', 'dom'],
idl_array => {
idl_array.add_objects({
Accelerometer: ['new Accelerometer();'],
LinearAccelerationSensor: ['new LinearAccelerationSensor();'],
GravitySensor: ['new GravitySensor();']
});
}
);