[Webkit-unassigned] [Bug 99939] should disallow gc/layout/stylerecalc in beforeunload/unload handlers
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 22 18:45:54 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=99939
--- Comment #5 from James Robinson <jamesr at chromium.org> 2012-10-22 18:46:56 PST ---
(In reply to comment #4)
> (In reply to comment #2)
> > What would you return to layout-dependent JS queries in beforeunload/unload handlers?
>
> Stale numbers?
This sounds like a complete non-starter to me. The page might not actually unload when these events are fired and there's tons of layout-dependent JS out there for seemingly trivial things. Silently returning incorrect values is likely to break pages in ways that will be nearly impossible to debug.
I agree that measuring the breakdown of costs as the logical next step.
--
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