RE: query methods should throw SyntaxError

I mean, that's one of many inconsistencies:

https://github.com/whatwg/dom/compare/30ab745e9c252295155f388b901b15de4d691d6a...master


I think this should be treated as we normally do in such situations: the contents of the outdated snapshot are not relevant to implementers, especially given that neither of the editors seem active anymore.

-----Original Message-----
From: fantasai [mailto:fantasai.lists@inkedblade.net] 
Sent: Wednesday, August 26, 2015 21:12
To: www-dom@w3.org
Subject: 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:19:11 UTC