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

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: Fix merge conflicts Created 4 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 | « content/renderer/bluetooth/web_bluetooth_impl.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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');
« no previous file with comments | « content/renderer/bluetooth/web_bluetooth_impl.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698