[Bug 24115] Introduce CSS.isValidSelector()

https://www.w3.org/Bugs/Public/show_bug.cgi?id=24115

--- Comment #6 from Simon Pieters <simonp@opera.com> ---
http://dev.w3.org/csswg/selectors4/#profiles

I think a slightly more realistic benchmark doesn't use the same string every
time, and also the proposal here would mean that jQuery would invoke both
CSS.isValidSelector and then query(), which seems equivalent to calling
querySelector twice, so:

http://software.hixie.ch/utilities/js/live-dom-viewer/saved/2699

The throwing path is still a lot slower in Gecko and Blink, but in Presto the
throwing code path isn't that slow. About the same as non-throwing in Blink and
about twice as slow as non-throwing in Gecko.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 18 December 2013 12:40:45 UTC