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

Unified Diff: third_party/WebKit/LayoutTests/bluetooth/getPrimaryService/invalid-service-name.html

Issue 2380843002: Throw a TypeError instead of a SyntaxError on invalid UUIDs. (Closed)
Patch Set: Created 4 years, 3 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
Index: third_party/WebKit/LayoutTests/bluetooth/getPrimaryService/invalid-service-name.html
diff --git a/third_party/WebKit/LayoutTests/bluetooth/getPrimaryService/invalid-service-name.html b/third_party/WebKit/LayoutTests/bluetooth/getPrimaryService/invalid-service-name.html
index 53f9cc28fd960c82022c0f3433478e9f3bcd0b9e..f2400b9577aee86b2876e321b3a5855dcd2c37c1 100644
--- a/third_party/WebKit/LayoutTests/bluetooth/getPrimaryService/invalid-service-name.html
+++ b/third_party/WebKit/LayoutTests/bluetooth/getPrimaryService/invalid-service-name.html
@@ -21,8 +21,8 @@ promise_test(() => {
'or recognized standard name from ' +
'https://developer.bluetooth.org/gatt/services/Pages/ServicesHome.aspx' +
' e.g. \'alert_notification\'.',
- 'SyntaxError'),
+ 'TypeError'),
'Wrong Service name passed.');
});
-}, 'Wrong Service name. Reject with SyntaxError.');
+}, 'Wrong Service name. Reject with TypeError.');
</script>

Powered by Google App Engine
This is Rietveld 408576698