Skip to content

Commit

Permalink
Auto merge of #7689 - frewsxcv:supported-property-names-links, r=nox
Browse files Browse the repository at this point in the history
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 -->
  • Loading branch information
bors-servo committed Sep 20, 2015
2 parents d126929 + 83333e9 commit 566f1eb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion components/script/dom/document.rs
Expand Up @@ -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![]
Expand Down
2 changes: 1 addition & 1 deletion components/script/dom/domstringmap.rs
Expand Up @@ -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![]
Expand Down
11 changes: 6 additions & 5 deletions components/script/dom/storage.rs
Expand Up @@ -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);
Expand All @@ -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![]
}
}


Expand Down

0 comments on commit 566f1eb

Please sign in to comment.