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

Unified Diff: third_party/WebKit/LayoutTests/bluetooth/requestDevice/chooser/accept-all-devices.html

Issue 2449813002: bluetooth: Implement acceptAllDevices (Closed)
Patch Set: 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/chooser/accept-all-devices.html
diff --git a/third_party/WebKit/LayoutTests/bluetooth/requestDevice/chooser/multiple-matching-devices.html b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/chooser/accept-all-devices.html
similarity index 90%
copy from third_party/WebKit/LayoutTests/bluetooth/requestDevice/chooser/multiple-matching-devices.html
copy to third_party/WebKit/LayoutTests/bluetooth/requestDevice/chooser/accept-all-devices.html
index 58ed1ace3f24cca5cd2ae1f28a77dff49faf8ed8..58002ea124e26bff3bf3a83e73efa2779a5cc539 100644
--- a/third_party/WebKit/LayoutTests/bluetooth/requestDevice/chooser/multiple-matching-devices.html
+++ b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/chooser/accept-all-devices.html
@@ -9,8 +9,7 @@ promise_test(() => {
let requestDevicePromise =
setBluetoothFakeAdapter('GlucoseHeartRateAdapter')
.then(() => requestDeviceWithKeyDown({
- filters: [{services: ['glucose']},
- {services: ['heart_rate']}]
+ acceptAllDevices: true
}));
return getBluetoothManualChooserEvents(5)
.then(events => {
@@ -28,5 +27,5 @@ promise_test(() => {
'selected', idsByName.get('Glucose Device'));
return requestDevicePromise;
}).then(device => assert_equals(device.name, 'Glucose Device'));
-}, 'The chooser includes all devices.');
+}, 'The chooser includes all devices if no filter services.');
</script>

Powered by Google App Engine
This is Rietveld 408576698