Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Unified Diff: third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/empty-namePrefix.html

Issue 2408533002: Remove fake Bluetooth adapter from canonicalizeFilter tests (Closed)
Patch Set: Fix two small indentation issues Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/empty-namePrefix.html
diff --git a/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/empty-namePrefix.html b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/empty-namePrefix.html
index d7633f6785b6f615d9ce96c1c57ce70ef49fe639..2e5d5d5f82ea3daad60168562085905ac52267f3 100644
--- a/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/empty-namePrefix.html
+++ b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/empty-namePrefix.html
@@ -27,15 +27,12 @@ let test_specs = [{
}];
promise_test(t => {
- return setBluetoothFakeAdapter('EmptyAdapter')
- .then(() => {
- let test_promises = Promise.resolve();
- test_specs.forEach(args => {
+ let test_promises = Promise.resolve();
+ test_specs.forEach(args => {
test_promises = test_promises
.then(() => promise_rejects(
- t, new TypeError(), requestDeviceWithKeyDown(args)));
- });
- return test_promises;
+ t, new TypeError(), requestDeviceWithKeyDown(args)));
});
+ return test_promises;
}, 'requestDevice with empty namePrefix. Should reject with TypeError.');
</script>

Powered by Google App Engine
This is Rietveld 408576698