| Index: third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/wrong-service-in-optionalServices-member.html
|
| diff --git a/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/wrong-service-in-optionalServices-member.html b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/wrong-service-in-optionalServices-member.html
|
| index dadbb5e8f50488ad352a96fbf4ab30d6c751f2e5..cc21b0a584afba4003a1e22556d68b3399f47395 100644
|
| --- a/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/wrong-service-in-optionalServices-member.html
|
| +++ b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/wrong-service-in-optionalServices-member.html
|
| @@ -29,14 +29,11 @@ let test_specs = [{
|
| }];
|
|
|
| promise_test(t => {
|
| - return setBluetoothFakeAdapter('EmptyAdapter')
|
| - .then(() => {
|
| - let test_promises = Promise.resolve();
|
| - test_specs.forEach(args => {
|
| - test_promises = test_promises.then(() => promise_rejects(
|
| - t, TypeError(), requestDeviceWithKeyDown(args)));
|
| - });
|
| - return test_promises;
|
| - });
|
| + let test_promises = Promise.resolve();
|
| + test_specs.forEach(args => {
|
| + test_promises = test_promises.then(() => promise_rejects(
|
| + t, TypeError(), requestDeviceWithKeyDown(args)));
|
| + });
|
| + return test_promises;
|
| }, 'Invalid optional service must reject the promise.');
|
| </script>
|
|
|