Index: third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/invalid-service-name.html |
diff --git a/third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/invalid-service-name.html b/third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/invalid-service-name.html |
index 9c8d4e728e78f6bcf5851b3ddbdd3fec714c3ca1..b74260fc963a9dbef360c1760b5c7860966e0aaf 100644 |
--- a/third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/invalid-service-name.html |
+++ b/third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/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> |