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

Unified Diff: third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/blocklisted-services.html

Issue 2544513004: Fix WebBluetooth generator to distinguish between different methods. (Closed)
Patch Set: Remove TL;DR in README 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/blocklisted-services.html
diff --git a/third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/blocklisted-services.html b/third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/blocklisted-services.html
deleted file mode 100644
index 10e79ce12b8b952e036abcbd2fbec02f4845a45c..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/blocklisted-services.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE html>
-<script src="../../resources/testharness.js"></script>
-<script src="../../resources/testharnessreport.js"></script>
-<script src="../../resources/bluetooth/bluetooth-helpers.js"></script>
-<script>
-'use strict';
-promise_test(() => {
- return setBluetoothFakeAdapter('BlocklistTestAdapter')
- .then(() => requestDeviceWithKeyDown({
- filters: [{services: ['device_information']}],
- optionalServices: [
- blocklist_test_service_uuid, 'device_information', 'generic_access',
- 'heart_rate', 'human_interface_device']}))
- .then(device => device.gatt.connect())
- .then(gattServer => gattServer.getPrimaryServices())
- .then(services => {
- assert_equals(services.length, 4);
- assert_equals(services[0].uuid,
- BluetoothUUID.getService(blocklist_test_service_uuid));
- assert_equals(services[1].uuid,
- BluetoothUUID.getService('device_information'));
- assert_equals(services[2].uuid,
- BluetoothUUID.getService('generic_access'));
- assert_equals(services[3].uuid,
- BluetoothUUID.getService('heart_rate'));
- });
-}, 'Request for services. Does not return blocklisted service.');
-</script>

Powered by Google App Engine
This is Rietveld 408576698