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

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

Issue 1502663003: bluetooth: Implement allowed devices map (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@my-origin
Patch Set: Forgot test file Created 5 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/idl-BluetoothDevice.html
diff --git a/third_party/WebKit/LayoutTests/bluetooth/idl-BluetoothDevice.html b/third_party/WebKit/LayoutTests/bluetooth/idl-BluetoothDevice.html
index 58d9a77e814b605cb2e74c23502e1c7896866d1c..abf265ef5a01080d1a7586e2db0acb4d048971b2 100644
--- a/third_party/WebKit/LayoutTests/bluetooth/idl-BluetoothDevice.html
+++ b/third_party/WebKit/LayoutTests/bluetooth/idl-BluetoothDevice.html
@@ -21,6 +21,7 @@ promise_test(() => {
// Attempt (and fail) to overwrite all members, verifying they are
// readonly.
+ var old_device_id = device.id;
device.id = 'overwritten';
device.name = 'overwritten';
device.deviceClass = 'overwritten';
@@ -30,7 +31,7 @@ promise_test(() => {
device.productVersion = 'overwritten';
device.paired = 'overwritten';
device.uuids = 'overwritten';
- assert_equals(device.id, '00:00:00:00:00:00');
+ assert_equals(device.id, old_device_id);
assert_equals(device.name, 'Heart Rate Device');
assert_equals(device.deviceClass, 0x1F00);
assert_equals(device.vendorIDSource, 'bluetooth');

Powered by Google App Engine
This is Rietveld 408576698