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.html

Issue 1601323002: Use GetLastCommittedOrigin instead of GetLastCommittedURL in bluetooth chooser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changed bluetooth test at: requestDevice.html Created 4 years, 11 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
« no previous file with comments | « content/shell/browser/shell.cc ('k') | third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/bluetooth/requestDevice.html
diff --git a/third_party/WebKit/LayoutTests/bluetooth/requestDevice.html b/third_party/WebKit/LayoutTests/bluetooth/requestDevice.html
index de7ffc36910a267d4efea4a99f14c88309bcb89b..c65b3fd30d92ee79a344f2e9e27ac215478fc591 100644
--- a/third_party/WebKit/LayoutTests/bluetooth/requestDevice.html
+++ b/third_party/WebKit/LayoutTests/bluetooth/requestDevice.html
@@ -17,7 +17,7 @@ promise_test(() => {
return getBluetoothManualChooserEvents(3)
.then(events => {
assert_array_equals(events,
- ['chooser-opened(file:///)',
+ ['chooser-opened(file://)',
'discovering',
'discovery-failed-to-start'],
events);
@@ -46,7 +46,7 @@ promise_test(() => {
return getBluetoothManualChooserEvents(2)
.then(events => {
assert_array_equals(events,
- ['chooser-opened(file:///)',
+ ['chooser-opened(file://)',
'adapter-disabled'],
events);
testRunner.sendBluetoothManualChooserEvent('cancelled', '');
@@ -139,7 +139,7 @@ promise_test(() => {
return getBluetoothManualChooserEvents(5)
.then(events => {
assert_equals(events.length, 5, events);
- assert_equals(events[0], 'chooser-opened(file:///)', 'events[0]');
+ assert_equals(events[0], 'chooser-opened(file://)', 'events[0]');
let idsByName = new AddDeviceEventSet();
for (let addedDevice of [events[1], events[2]]) {
idsByName.assert_add_device_event(addedDevice);
@@ -197,7 +197,7 @@ promise_test(() => {
// The adapter finds nothing, so we just see discovery start and stop.
return getBluetoothManualChooserEvents(3).then(events => {
assert_array_equals(events,
- ['chooser-opened(file:///)',
+ ['chooser-opened(file://)',
'discovering',
'discovery-idle',
]);
« no previous file with comments | « content/shell/browser/shell.cc ('k') | third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698