mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Implement DOMStringMap::SupportedPropertyNames and NamedNodeMap::SupportedPropertyNames
This commit is contained in:
parent
f6e3146de2
commit
73c4af626a
7 changed files with 145 additions and 12 deletions
|
@ -85,8 +85,10 @@ impl NamedNodeMapMethods for NamedNodeMap {
|
|||
item
|
||||
}
|
||||
|
||||
// https://heycam.github.io/webidl/#dfn-supported-property-names
|
||||
fn SupportedPropertyNames(&self) -> Vec<DOMString> {
|
||||
// FIXME: unimplemented (https://github.com/servo/servo/issues/7273)
|
||||
vec![]
|
||||
self.owner.attrs().iter().map(JS::root).map(|attr| {
|
||||
(**attr.name()).to_owned()
|
||||
}).collect()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue