Update web-platform-tests to revision 71e901cf4534417abfabe4d77a317817f5cc09db

This commit is contained in:
WPT Sync Bot 2019-01-03 20:37:31 -05:00
parent 7c34a70ca8
commit 0bc27d4696
48 changed files with 1125 additions and 147 deletions

View file

@ -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