Fix DOMImplementation.hasFeature()

This commit is contained in:
Anthony Ramine 2015-04-27 23:11:53 +02:00
parent 92359c7b9a
commit 6e75889e41
3 changed files with 8 additions and 9 deletions

View file

@ -159,7 +159,7 @@ impl<'a> DOMImplementationMethods for JSRef<'a, DOMImplementation> {
}
// https://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
fn HasFeature(self, _feature: DOMString, _version: DOMString) -> bool {
fn HasFeature(self) -> bool {
true
}
}