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

Unified Diff: LayoutTests/bluetooth/getCharacteristic.html

Issue 1164393004: bluetooth: Layout tests for bluetooth error messages (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@bluetooth-read-value-impl
Patch Set: Fix error message test since message on browser side changed. Created 5 years, 6 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 | « LayoutTests/bluetooth/connectGATT.html ('k') | LayoutTests/bluetooth/getPrimaryService.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/bluetooth/getCharacteristic.html
diff --git a/LayoutTests/bluetooth/getCharacteristic.html b/LayoutTests/bluetooth/getCharacteristic.html
index 403e7af4045284edcc3ad86b3b0a0813cf991b61..47bbdbb1bac7a8fb9b251136655424546861f07d 100644
--- a/LayoutTests/bluetooth/getCharacteristic.html
+++ b/LayoutTests/bluetooth/getCharacteristic.html
@@ -25,6 +25,7 @@ sequential_promise_test(function() {
assert_unreached("Device went out of range, should fail.");
}, function(e) {
assert_equals(e.name, "NetworkError");
+ assert_equals(e.message, 'Bluetooth Device is no longer in range.');
});
});
}, 'Device goes out of range. Reject with NetworkError.');
« no previous file with comments | « LayoutTests/bluetooth/connectGATT.html ('k') | LayoutTests/bluetooth/getPrimaryService.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698