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 4c533ec721666ecbdecfb0a8a6da0bff9dc9f564..3dbcbb2306ae6a40e2b4e13f2d67147f7293a8d7 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'; |
@@ -29,7 +30,7 @@ promise_test(() => { |
device.productID = 'overwritten'; |
device.productVersion = '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'); |