Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Commit 3eb66e0

Browse files
committed
Add WebBluetooth
1 parent 12e929a commit 3eb66e0

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

scripts/9/data.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1111,6 +1111,18 @@ var tests = [
11111111
]
11121112
}
11131113
]
1114+
}, {
1115+
id: 'hardware',
1116+
name: 'Hardware',
1117+
status: 'proposal',
1118+
items: [
1119+
{
1120+
id: 'bluetooth',
1121+
name: 'Web Bluetooth',
1122+
value: 5,
1123+
urls: [
1124+
[ 'w3c', 'https://webbluetoothcg.github.io/web-bluetooth/' ],
1125+
]
11141126
}, {
11151127
id: 'output',
11161128
name: 'Output',

scripts/9/engine.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1447,6 +1447,16 @@ Test9 = (function () {
14471447
},
14481448

14491449

1450+
/* web bluetooth */
1451+
1452+
function (results) {
1453+
results.addItem({
1454+
key: 'hardware.bluetooth',
1455+
passed: 'bluetooth' in navigator && "BluetoothDevice" in window
1456+
});
1457+
},
1458+
1459+
14501460
/* fullscreen */
14511461

14521462
function (results) {

0 commit comments

Comments
 (0)