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

Side by Side Diff: third_party/WebKit/LayoutTests/bluetooth/requestDevice/device-name-longer-than-29-bytes.html

Issue 2615273002: Bump Bluetooth max filter name length from 29 bytes to 240 bytes (Closed)
Patch Set: Fix layout tests, begin to add new layout test Created 3 years, 11 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 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('DeviceNameLongerThan29BytesAdapter')
9 .then(() => requestDeviceWithKeyDown({
10 filters: [{services: ['a_device_name_that_is_longer_than_29_bytes_but_shor ter_than_240_bytes']}]}))
11 .then(device => assert_equals(device.name, 'Glucose Device'));
12 }, 'Simple filter selects matching device.');
13 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698