Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/no-permission-present-service.html |
| diff --git a/third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/no-permission-present-service.html b/third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/no-permission-present-service.html |
| index cac585e2449c86897a37c7d96973005c91c2551f..99996c9ca57f6e21aabc2586fb2b374ee54bd34b 100644 |
| --- a/third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/no-permission-present-service.html |
| +++ b/third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/no-permission-present-service.html |
| @@ -11,6 +11,9 @@ promise_test(() => { |
| .then(device => device.gatt.connect()) |
| .then(gattServer => assert_promise_rejects_with_message( |
| gattServer.getPrimaryServices(), |
| - new DOMException('No Services found in device.', 'NotFoundError'))); |
| -}, 'Request for present service without permission. Reject with NotFoundError.'); |
| + new DOMException('Origin is not allowed to access any service. Tip: ' + |
|
ortuno
2016/10/31 00:31:16
See comment in delayed-discovery-no-permission-pre
François Beaufort
2016/11/02 16:46:17
Done.
|
| + 'Add the service UUID to \'optionalServices\' in ' + |
| + 'requestDevice() options. https://goo.gl/HxfxSQ', |
| + 'SecurityError'))); |
| +}, 'Request for present service without permission. Reject with SecurityError.'); |
| </script> |