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

Side by Side Diff: third_party/WebKit/LayoutTests/resources/bluetooth/bluetooth-helpers.js

Issue 1922923002: bluetooth: Move requestDevice to mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-separate-tests-request-device
Patch Set: Change ref to pointer Created 4 years, 6 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
1 'use strict'; 1 'use strict';
2 2
3 // Bluetooth UUID constants: 3 // Bluetooth UUID constants:
4 // Services: 4 // Services:
5 var blacklist_test_service_uuid = "611c954a-263b-4f4a-aab6-01ddb953f985"; 5 var blacklist_test_service_uuid = "611c954a-263b-4f4a-aab6-01ddb953f985";
6 var request_disconnection_service_uuid = "01d7d889-7451-419f-aeb8-d65e7b9277af"; 6 var request_disconnection_service_uuid = "01d7d889-7451-419f-aeb8-d65e7b9277af";
7 // Characteristics: 7 // Characteristics:
8 var blacklist_exclude_reads_characteristic_uuid = 8 var blacklist_exclude_reads_characteristic_uuid =
9 "bad1c9a2-9a5b-4015-8b60-1579bbbf2135"; 9 "bad1c9a2-9a5b-4015-8b60-1579bbbf2135";
10 var request_disconnection_characteristic_uuid = 10 var request_disconnection_characteristic_uuid =
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 filters: [{ services: services, name: 'Name' }], 334 filters: [{ services: services, name: 'Name' }],
335 optionalServices: ['heart_rate'] 335 optionalServices: ['heart_rate']
336 }, { 336 }, {
337 filters: [{ services: services, namePrefix: 'Pre' }], 337 filters: [{ services: services, namePrefix: 'Pre' }],
338 optionalServices: ['heart_rate'] 338 optionalServices: ['heart_rate']
339 }, { 339 }, {
340 filters: [{ services: services, name: 'Name', namePrefix: 'Pre' }], 340 filters: [{ services: services, name: 'Name', namePrefix: 'Pre' }],
341 optionalServices: ['heart_rate'] 341 optionalServices: ['heart_rate']
342 }]; 342 }];
343 } 343 }
344
345 // Bluetooth tests sometimes have left-over state that could leak into the
346 // next test. add_result_callback which is exposed by testharness.js allows us
347 // to clean up this state after each test. Once the move to Mojo is complete
348 // we will no longer need to clean up the state manually.
349 // https://crbug.com/508771
350 add_result_callback(() => {
351 setBluetoothFakeAdapter('');
352 });
OLDNEW
« no previous file with comments | « content/test/layouttest_support.cc ('k') | third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698