Auto merge of #7689 - frewsxcv:supported-property-names-links, r=nox

Add/update spec links for SupportedPropertyNames methods



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7689)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-09-20 10:21:22 -06:00
commit 566f1eb6f6
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![]
}
}