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

Side by Side Diff: third_party/WebKit/LayoutTests/bluetooth/requestDevice/acceptAllDevices/device-with-uuids.html

Issue 2510323002: bluetooth: Implement acceptAllDevices (Closed)
Patch Set: clean up Created 4 years 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../../resources/testharness.js"></script>
3 <script src="../../../resources/testharnessreport.js"></script>
4 <script src="../../../resources/bluetooth/bluetooth-helpers.js"></script>
5 <script>
6 'use strict';
7 promise_test(() => {
8 return setBluetoothFakeAdapter('NoNameHeartRateAdapter')
9 .then(() => requestDeviceWithKeyDown({acceptAllDevices: true}))
10 .then(device => {
11 assert_true(device.name === null);
12 });
13 }, 'Device with only UUIDs nearby. Should be found if ' +
14 'acceptAllDevices is true.');
15 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698