[Webkit-unassigned] [Bug 42806] Crash when CSS selector is very long.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 10 02:00:26 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=42806





--- Comment #6 from Hayato Ito <hayato at chromium.org>  2010-08-10 02:00:26 PST ---
I've made CSSStyleSelector::SelectorChecker::checkSelector() iterative to avoid stack overflow.
To achieve it, I have to maintain CallStack manually.

Hi reviewers,

I am afraid the code became unintuitive. But I guess it is inevitable. If you have any ideas to make it clean and intuitive, please let me know.

I also have a concern about performance. Is there any standard way to make sure a performance degradation won't happen by this change?


I'll fix CSSSelector:specifity() in another patch later. That might be an pretty easy task.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list