This repository has been archived by the owner on Dec 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 975
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
neither are supported, but this will cause sites that check whether they're supported to know more reliably that they aren't supproted. fix #13374 Test Plan: 1. go to any site and open page console. 2. navigator.usb should be undefined 3. navigator.bluetooth should be undefined
- Loading branch information
1 parent
ab32f5e
commit 027f15f
Showing
3 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<html> | ||
<div id='bluetooth'> | ||
testing... | ||
</div> | ||
<div id='webusb'> | ||
testing... | ||
</div> | ||
<script> | ||
bluetooth.innerText = navigator.bluetooth | ||
webusb.innerText = navigator.usb | ||
</script> | ||
</html> |