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

Unified Diff: LayoutTests/bluetooth/requestDevice.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/readValue.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/bluetooth/requestDevice.html
diff --git a/LayoutTests/bluetooth/requestDevice.html b/LayoutTests/bluetooth/requestDevice.html
index 48e46f4ca7766208cf98f90fbbb596c544cc7480..2e58ca6f4450774b7a35556b27493a27aed0849a 100644
--- a/LayoutTests/bluetooth/requestDevice.html
+++ b/LayoutTests/bluetooth/requestDevice.html
@@ -12,6 +12,7 @@ sequential_promise_test(function() {
assert_unreached('Expected no devices but one was returned.');
}, function(e) {
assert_equals(e.name, 'NotFoundError');
+ assert_equals(e.message, 'No Bluetooth devices in range.');
});
}, 'Reject with NotFoundError.');
« no previous file with comments | « LayoutTests/bluetooth/readValue.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698