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

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

Issue 882223002: bluetooth: Add more attributes to WebBluetoothDevice. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@gclient
Patch Set: addressed comment Created 5 years, 11 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
« no previous file with comments | « no previous file | Source/modules/bluetooth/BluetoothDevice.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.'); }));
« no previous file with comments | « no previous file | Source/modules/bluetooth/BluetoothDevice.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698