mirror of
https://github.com/servo/servo.git
synced 2025-08-24 22:58:21 +01:00
Update web-platform-tests to revision 74bae78af4b95a2f0ca3a81df9c7fe3143f24bbc
This commit is contained in:
parent
fb95f9df9c
commit
02c1eed999
150 changed files with 2395 additions and 829 deletions
|
@ -7,10 +7,12 @@
|
|||
const test_desc = 'Bluetooth IDL test';
|
||||
|
||||
test(() => {
|
||||
assert_throws(new TypeError(), () => new Bluetooth(),
|
||||
'the constructor should not be callable with "new"');
|
||||
assert_throws(new TypeError(), () => Bluetooth(),
|
||||
'the constructor should not be callable');
|
||||
assert_throws(
|
||||
new TypeError(), () => new Bluetooth(),
|
||||
'the constructor should not be callable with "new"');
|
||||
assert_throws(
|
||||
new TypeError(), () => Bluetooth(),
|
||||
'the constructor should not be callable');
|
||||
|
||||
// Bluetooth implements BluetoothDiscovery;
|
||||
assert_true('requestDevice' in navigator.bluetooth);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue