query methods should throw SyntaxError

The two DOM specs are inconsistent:
   http://www.w3.org/TR/dom/#scope-match-a-selectors-string
says to throw a TypeError whereas
   https://dom.spec.whatwg.org/#scope_match-a-selectors-string
says to throw a SyntaxError.

~fantasai

Received on Thursday, 27 August 2015 01:13:08 UTC