query methods should throw SyntaxError

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

query methods should throw SyntaxError

fantasai
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

Reply | Threaded
Open this post in threaded view
|

RE: query methods should throw SyntaxError

Domenic Denicola-2
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:[hidden email]]
Sent: Wednesday, August 26, 2015 21:12
To: [hidden email]
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

Reply | Threaded
Open this post in threaded view
|

RE: query methods should throw SyntaxError

Domenic Denicola-2