aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/storage.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/storage.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/storage.rs')
-rw-r--r--components/script/dom/storage.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/components/script/dom/storage.rs b/components/script/dom/storage.rs
index ca47bb76c03..6ee0d3c9ccd 100644
--- a/components/script/dom/storage.rs
+++ b/components/script/dom/storage.rs
@@ -134,6 +134,11 @@ impl<'a> StorageMethods for &'a Storage {
fn NamedDeleter(self, name: DOMString) {
self.RemoveItem(name);
}
+
+ fn SupportedPropertyNames(self) -> Vec<DOMString> {
+ // FIXME: unimplemented (https://github.com/servo/servo/issues/7273)
+ vec![]
+ }
}
trait PrivateStorageHelpers {