aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/domstringmap.rs
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2015-08-17 13:12:47 -0400
committerCorey Farwell <coreyf@rwell.org>2015-08-20 11:58:42 -0400
commitb11be4d25392561d6a396a4f54588f719de5ebad (patch)
treeb4c1682a5c3d81d1143bdb51230bd9523166240c /components/script/dom/domstringmap.rs
parenta5fbb2f2a6fa79755f975feff2435abb6a5dd0e9 (diff)
downloadservo-b11be4d25392561d6a396a4f54588f719de5ebad.tar.gz
servo-b11be4d25392561d6a396a4f54588f719de5ebad.zip
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
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![]
+ }
+}