Implement DOMImplementation.hasFeature

Fixes #4010.
This commit is contained in:
Zachary Newman 2014-11-17 20:09:19 -05:00
parent 64cc9ec688
commit 2399a1449d
4 changed files with 7 additions and 376 deletions

View file

@ -165,4 +165,9 @@ impl<'a> DOMImplementationMethods for JSRef<'a, DOMImplementation> {
// Step 9.
Temporary::from_rooted(*doc)
}
// https://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
fn HasFeature(self, _feature: DOMString, _version: DOMString) -> bool {
true
}
}