Add/update spec links for SupportedPropertyNames methods

This commit is contained in:
Corey Farwell 2015-09-20 11:48:14 -04:00
parent 5667283d1f
commit 83333e972c
3 changed files with 8 additions and 7 deletions

View file

@ -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<DOMString> {
// FIXME: unimplemented (https://github.com/servo/servo/issues/7273)
vec![]

View file

@ -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<DOMString> {
// FIXME: unimplemented (https://github.com/servo/servo/issues/7273)
vec![]

View file

@ -114,6 +114,12 @@ impl StorageMethods for Storage {
}
}
// https://html.spec.whatwg.org/multipage/#the-storage-interface:supported-property-names
fn SupportedPropertyNames(&self) -> Vec<DOMString> {
// 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<DOMString> {
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<DOMString> {
// FIXME: unimplemented (https://github.com/servo/servo/issues/7273)
vec![]
}
}