diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2015-10-31 08:04:08 +0530 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2015-10-31 08:04:08 +0530 |
commit | 7512aa69c034767cfb41206180bec50b020b2b0f (patch) | |
tree | d18e32a7de2bc830b066da0514ac27b98e1f4ba5 /components/script/dom/domstringmap.rs | |
parent | 913ac568750502087a7f1693b3657a24cefd2460 (diff) | |
parent | 73c4af626ad261225d0fba23c78b1a8bceeac411 (diff) | |
download | servo-7512aa69c034767cfb41206180bec50b020b2b0f.tar.gz servo-7512aa69c034767cfb41206180bec50b020b2b0f.zip |
Auto merge of #8114 - nfallen:7695, r=eefriedman
Implement DOMStringMap::SupportedPropertyNames and NamedNodeMap::SupportedPropertyNames #7695
Here is a draft for issue #7695 with web platform tests.
Thanks for reviewing!
https://dom.spec.whatwg.org/#namednodemap
https://html.spec.whatwg.org/multipage/infrastructure.html#domstringmap
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8114)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/domstringmap.rs')
-rw-r--r-- | components/script/dom/domstringmap.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/script/dom/domstringmap.rs b/components/script/dom/domstringmap.rs index 95f727c93cb..bed48031786 100644 --- a/components/script/dom/domstringmap.rs +++ b/components/script/dom/domstringmap.rs @@ -61,7 +61,6 @@ impl DOMStringMapMethods for DOMStringMap { // https://html.spec.whatwg.org/multipage/#the-domstringmap-interface:supported-property-names fn SupportedPropertyNames(&self) -> Vec<DOMString> { - // FIXME: unimplemented (https://github.com/servo/servo/issues/7273) - vec![] + self.element.supported_prop_names_custom_attr().iter().cloned().collect() } } |