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

Unified Diff: third_party/WebKit/LayoutTests/bluetooth/requestDevice/not-processing-user-gesture.html

Issue 2867713008: bluetooth: Implement known_service_uuids for Peripherals. (Closed)
Patch Set: rebase Created 3 years, 7 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/not-processing-user-gesture.html
diff --git a/third_party/WebKit/LayoutTests/bluetooth/requestDevice/not-processing-user-gesture.html b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/not-processing-user-gesture.html
index 908763cd49321226d0ba3916d4e7a4860638043d..4eab362e45871dc8b0c4649376744d5f6625153d 100644
--- a/third_party/WebKit/LayoutTests/bluetooth/requestDevice/not-processing-user-gesture.html
+++ b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/not-processing-user-gesture.html
@@ -2,10 +2,12 @@
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../../resources/bluetooth/bluetooth-helpers.js"></script>
+<script src="../../resources/bluetooth/web-bluetooth-test.js"></script>
+<script src="../../resources/mojo-helpers.js"></script>
<script>
'use strict';
promise_test(t => {
- return setBluetoothFakeAdapter('HeartRateAdapter')
+ return setUpHealthThermometerAndHeartRateDevices()
.then(() => promise_rejects(
t, 'SecurityError', navigator.bluetooth.requestDevice({
filters: [{services: ['heart_rate']}]})));

Powered by Google App Engine
This is Rietveld 408576698