Update web-platform-tests to revision 3f9178031eec5374c9a7d5709a7e11ba4a1955ed

This commit is contained in:
WPT Sync Bot 2018-07-22 21:05:03 -04:00
parent 4997ec26c2
commit a5af9a106a
192 changed files with 3943 additions and 1927 deletions

View file

@ -0,0 +1,20 @@
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
// https://w3c.github.io/battery/
'use strict';
idl_test(
['battery'],
['dom', 'html'],
async idl_array => {
idl_array.add_objects({
Navigator: ['navigator'],
BatteryManager: ['manager'],
})
self.manager = await navigator.getBattery();
},
'Test IDL implementation of Battery Status API'
);