aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/domstringmap.rs
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-08-20 10:00:44 -0600
committerbors-servo <metajack+bors@gmail.com>2015-08-20 10:00:44 -0600
commitd2a8c278eaa159ceacffee767523d4ad0cf83da2 (patch)
tree7ba0c00e054add7cdb07f6283abff7091439192f /components/script/dom/domstringmap.rs
parent5bab439ab6c58a5b78a6c2f69d6e93ad80da560f (diff)
parentb11be4d25392561d6a396a4f54588f719de5ebad (diff)
downloadservo-d2a8c278eaa159ceacffee767523d4ad0cf83da2.tar.gz
servo-d2a8c278eaa159ceacffee767523d4ad0cf83da2.zip
Auto merge of #7254 - frewsxcv:own-property-keys, r=Ms2ger
Initial implementation of ownPropertyKeys proxy handler Generates `SupportedPropertyNames` on DOM structs that should implement it. Most of them are unimplemented now (which can be implemented in later PRs), with the exception of `HTMLCollection`. Also added a couple relevant WPT tests. Closes #6390 Closes #2215 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7254) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/domstringmap.rs')
-rw-r--r--components/script/dom/domstringmap.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/components/script/dom/domstringmap.rs b/components/script/dom/domstringmap.rs
index fdaf9d7f65c..7d3683f74db 100644
--- a/components/script/dom/domstringmap.rs
+++ b/components/script/dom/domstringmap.rs
@@ -67,5 +67,10 @@ impl<'a> DOMStringMapMethods for &'a DOMStringMap {
}
}
}
-}
+ // https://html.spec.whatwg.org/multipage/#domstringmap
+ fn SupportedPropertyNames(self) -> Vec<DOMString> {
+ // FIXME: unimplemented (https://github.com/servo/servo/issues/7273)
+ vec![]
+ }
+}