mirror of
https://github.com/servo/servo.git
synced 2025-07-10 17:03:40 +01:00
16 lines
301 B
JavaScript
16 lines
301 B
JavaScript
// META: script=/resources/WebIDLParser.js
|
|
// META: script=/resources/idlharness.js
|
|
|
|
// https://w3c.github.io/wake-lock/
|
|
|
|
'use strict';
|
|
|
|
idl_test(
|
|
['wake-lock'],
|
|
['dom', 'html', 'permissions'],
|
|
idl_array => {
|
|
idl_array.add_objects({
|
|
WakeLock: ['new WakeLock("screen")']
|
|
});
|
|
}
|
|
);
|