NEW 142826
Introduce internal.querySelector[All]NoJIT
https://bugs.webkit.org/show_bug.cgi?id=142826
Summary Introduce internal.querySelector[All]NoJIT
Yusuke Suzuki
Reported 2015-03-18 08:34:17 PDT
Now, almost all selectors (even if it's very complicated) are compiled by CSS JIT. To maintain non-JIT SelectorChecker and compare CSS JIT results with expected non-JIT results, I propose new internal.API, internal.querySelectorNoJIT(root, selector) and internal.querySelectorAllNoJIT(root, selector).
Attachments
Yusuke Suzuki
Comment 1 2015-03-18 08:34:36 PDT
Benjamin, what do you think of?
Yusuke Suzuki
Comment 2 2015-03-18 08:45:53 PDT
When landing this change, I'll add non-JIT selector matching tests introduced issue 142703.
Benjamin Poulain
Comment 3 2015-03-18 11:04:51 PDT
(In reply to comment #2) > When landing this change, I'll add non-JIT selector matching tests > introduced issue 142703. I agree the non-JIT cases are under-tested, that has been worrying me for a while. I have been thinking about some solutions: -Add a new pseudo class :-webkit-no-jit that fails to compile. The problem with this is someone could ship it by accident. -Change the test running such that the layout tests in fast/selectors are run twice: once with the normal setup, then a second time with all JIT disabled (which we can do at runtime since we rely on the same flags as JavaScriptCore). I think this would have the most value. I am okay with internal.querySelectorNoJIT(root, selector) and internal.querySelectorAllNoJIT(root, selector). That seems useful.
Note You need to log in before you can comment on or make changes to this bug.