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

Unified Diff: third_party/WebKit/LayoutTests/bluetooth/idl-BluetoothDevice.html

Issue 1926623002: bluetooth: Remove the device info and device class fields from BluetoothDevice. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/idl-BluetoothDevice.html
diff --git a/third_party/WebKit/LayoutTests/bluetooth/idl-BluetoothDevice.html b/third_party/WebKit/LayoutTests/bluetooth/idl-BluetoothDevice.html
index a5af53cc962c3cbdfb96aef3fcfd4af29b7965f9..c16752b0792699c4a59ede0478e774c893fdeed9 100644
--- a/third_party/WebKit/LayoutTests/bluetooth/idl-BluetoothDevice.html
+++ b/third_party/WebKit/LayoutTests/bluetooth/idl-BluetoothDevice.html
@@ -25,19 +25,9 @@ promise_test(() => {
var old_device_id = device.id;
device.id = 'overwritten';
device.name = 'overwritten';
- device.deviceClass = 'overwritten';
- device.vendorIDSource = 'overwritten';
- device.vendorID = 'overwritten';
- device.productID = 'overwritten';
- device.productVersion = 'overwritten';
device.uuids = 'overwritten';
assert_equals(device.id, old_device_id);
assert_equals(device.name, 'Heart Rate Device');
- assert_equals(device.deviceClass, 0x1F00);
- assert_equals(device.vendorIDSource, 'bluetooth');
- assert_equals(device.vendorID, 0xFFFF);
- assert_equals(device.productID, 1);
- assert_equals(device.productVersion, 2);
assert_equals(device.uuids.length, 1);
assert_equals(device.uuids[0], heart_rate.uuid);
});

Powered by Google App Engine
This is Rietveld 408576698