| Index: third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/delayed-discovery-no-permission-present-service.html
|
| diff --git a/third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/delayed-discovery-no-permission-present-service.html b/third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/delayed-discovery-no-permission-present-service.html
|
| index 193943cb0a509fe137d8adbe10de20e8c3185ed1..45b064e673e85e759c10732f323ad849ddd8966f 100644
|
| --- a/third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/delayed-discovery-no-permission-present-service.html
|
| +++ b/third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/delayed-discovery-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')));
|
| -}, 'Delayed service discovery, request for present service without permission. Reject with NotFoundError.');
|
| + new DOMException('Origin is not allowed to access any service. Tip: ' +
|
| + 'Add the service UUID to \'optionalServices\' in ' +
|
| + 'requestDevice() options. https://goo.gl/HxfxSQ',
|
| + 'SecurityError')));
|
| +}, 'Delayed service discovery, request for present service without permission. Reject with SecurityError.');
|
| </script>
|
|
|