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> |