From 83333e972cdd2fa630e643f19869e00219070d89 Mon Sep 17 00:00:00 2001 From: Corey Farwell Date: Sun, 20 Sep 2015 11:48:14 -0400 Subject: [PATCH] Add/update spec links for SupportedPropertyNames methods --- components/script/dom/document.rs | 2 +- components/script/dom/domstringmap.rs | 2 +- components/script/dom/storage.rs | 11 ++++++----- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/components/script/dom/document.rs b/components/script/dom/document.rs index fb67d8f84fd..123a4d8fe85 100644 --- a/components/script/dom/document.rs +++ b/components/script/dom/document.rs @@ -1848,7 +1848,7 @@ impl DocumentMethods for Document { collection.r().reflector().get_jsobject().get() } - // https://html.spec.whatwg.org/multipage/#document + // https://html.spec.whatwg.org/multipage/#dom-tree-accessors:supported-property-names fn SupportedPropertyNames(&self) -> Vec { // FIXME: unimplemented (https://github.com/servo/servo/issues/7273) vec![] diff --git a/components/script/dom/domstringmap.rs b/components/script/dom/domstringmap.rs index 112fb42ca32..771ee21a35c 100644 --- a/components/script/dom/domstringmap.rs +++ b/components/script/dom/domstringmap.rs @@ -67,7 +67,7 @@ impl DOMStringMapMethods for DOMStringMap { } } - // https://html.spec.whatwg.org/multipage/#domstringmap + // https://html.spec.whatwg.org/multipage/#the-domstringmap-interface:supported-property-names fn SupportedPropertyNames(&self) -> Vec { // FIXME: unimplemented (https://github.com/servo/servo/issues/7273) vec![] diff --git a/components/script/dom/storage.rs b/components/script/dom/storage.rs index a749663d945..dcfdf2646df 100644 --- a/components/script/dom/storage.rs +++ b/components/script/dom/storage.rs @@ -114,6 +114,12 @@ impl StorageMethods for Storage { } } + // https://html.spec.whatwg.org/multipage/#the-storage-interface:supported-property-names + fn SupportedPropertyNames(&self) -> Vec { + // FIXME: unimplemented (https://github.com/servo/servo/issues/7273) + vec![] + } + // check-tidy: no specs after this line fn NamedGetter(&self, name: DOMString, found: &mut bool) -> Option { let item = self.GetItem(name); @@ -132,11 +138,6 @@ impl StorageMethods for Storage { fn NamedDeleter(&self, name: DOMString) { self.RemoveItem(name); } - - fn SupportedPropertyNames(&self) -> Vec { - // FIXME: unimplemented (https://github.com/servo/servo/issues/7273) - vec![] - } }