mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
Implement Storage::SupportedPropertyNames
This commit is contained in:
parent
f30f40b12d
commit
e7a3220bc1
5 changed files with 50 additions and 3 deletions
|
@ -116,8 +116,10 @@ impl StorageMethods for Storage {
|
|||
|
||||
// https://html.spec.whatwg.org/multipage/#the-storage-interface:supported-property-names
|
||||
fn SupportedPropertyNames(&self) -> Vec<DOMString> {
|
||||
// FIXME: unimplemented (https://github.com/servo/servo/issues/7273)
|
||||
vec![]
|
||||
let (sender, receiver) = ipc::channel().unwrap();
|
||||
|
||||
self.get_storage_task().send(StorageTaskMsg::Keys(sender, self.get_url(), self.storage_type)).unwrap();
|
||||
receiver.recv().unwrap()
|
||||
}
|
||||
|
||||
// check-tidy: no specs after this line
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue