Index: LayoutTests/bluetooth/idl-BluetoothDevice.html |
diff --git a/LayoutTests/bluetooth/idl-BluetoothDevice.html b/LayoutTests/bluetooth/idl-BluetoothDevice.html |
index becf80f89d3183d64f96c4d1cb24e56155858e74..d774367a7f9d8fcc16a5aad0bd2d787ddfa2eb88 100644 |
--- a/LayoutTests/bluetooth/idl-BluetoothDevice.html |
+++ b/LayoutTests/bluetooth/idl-BluetoothDevice.html |
@@ -18,9 +18,14 @@ async_test(function(t) { |
.then( |
t.step_func(function(device) { |
assert_equals(device.constructor.name, "BluetoothDevice"); |
- // Attempt (and fail) to clear all members, verifying they are readonly. |
- device.instanceId = "" |
- assert_equals(device.instanceId, "Empty Mock deviceId"); |
+ |
+ // Attempt (and fail) to overwrite all members, verifying they are readonly. |
+ device.instanceID = "overwritten"; |
+ |
+ // FIXME: Remove "Empty Mock deviceId" after crrev.com/885723002 lands. |
+ assert_true(device.instanceID === "Empty Mock deviceId" || |
+ device.instanceID === "Empty Mock Device instanceID"); |
+ |
t.done(); |
}), |
t.step_func(function() { assert_unreached('Mock was set to resolve.'); })); |