Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Unified Diff: third_party/WebKit/LayoutTests/bluetooth/requestDevice/le-not-supported.html

Issue 2815793003: bluetooth: Introduce SetLowEnergyAvailableForTesting (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/bluetooth/requestDevice/le-not-supported.html
diff --git a/third_party/WebKit/LayoutTests/bluetooth/requestDevice/le-not-supported.html b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/le-not-supported.html
index cf508401619bb49b5ace9e558de4beb6d4d2b84e..fc0c253e3d0bfe8b485397e68d70c4c699000146 100644
--- a/third_party/WebKit/LayoutTests/bluetooth/requestDevice/le-not-supported.html
+++ b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/le-not-supported.html
@@ -8,7 +8,7 @@
'use strict';
promise_test(t => {
return navigator.bluetooth.test.setLEAvailability(false)
- .then(() => promise_rejects(t, 'NotFoundError',
- navigator.bluetooth.requestDevice({acceptAllDevices: true})));
+ .then(() => promise_rejects(
+ t, 'NotFoundError', requestDeviceWithKeyDown({acceptAllDevices: true})));
}, 'Reject with NotFoundError if bluetooth is not supported.');
</script>
« no previous file with comments | « device/bluetooth/test/fake_bluetooth.cc ('k') | third_party/WebKit/LayoutTests/resources/web-bluetooth-test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698