mirror of
https://github.com/servo/servo.git
synced 2025-08-14 09:55:35 +01:00
Update web-platform-tests to revision 71e901cf4534417abfabe4d77a317817f5cc09db
This commit is contained in:
parent
7c34a70ca8
commit
0bc27d4696
48 changed files with 1125 additions and 147 deletions
|
@ -261,6 +261,12 @@ function requestDeviceWithTrustedClick() {
|
|||
() => navigator.bluetooth.requestDevice.apply(navigator.bluetooth, args));
|
||||
}
|
||||
|
||||
// Calls requestLEScan() in a context that's 'allowed to show a popup'.
|
||||
function requestLEScanWithTrustedClick() {
|
||||
return callWithTrustedClick(
|
||||
() => navigator.bluetooth.requestLEScan.apply(navigator.bluetooth));
|
||||
}
|
||||
|
||||
// errorUUID(alias) returns a UUID with the top 32 bits of
|
||||
// '00000000-97e5-4cd7-b9f1-f5a427670c59' replaced with the bits of |alias|.
|
||||
// For example, errorUUID(0xDEADBEEF) returns
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue