mirror of
https://github.com/servo/servo.git
synced 2025-06-20 23:28:59 +01:00
Accepting empty deviceName, when requesting a BluetoothDevice.
This commit is contained in:
parent
2b4829b89a
commit
4ed461c6e5
6 changed files with 10 additions and 22 deletions
|
@ -217,9 +217,9 @@ fn canonicalize_filter(filter: &BluetoothRequestDeviceFilter) -> Fallible<Blueto
|
|||
}
|
||||
|
||||
// Step 2.4.4.2.
|
||||
name.to_string()
|
||||
Some(name.to_string())
|
||||
},
|
||||
None => String::new(),
|
||||
None => None,
|
||||
};
|
||||
|
||||
// Step 2.4.5.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue