[Webkit-unassigned] [Bug 54942] In layout tests, iframe's onload handler should not use script function defined after the iframe

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 22 11:15:17 PST 2011


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


Tony Gentilcore <tonyg at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mihaip at chromium.org




--- Comment #1 from Tony Gentilcore <tonyg at chromium.org>  2011-02-22 11:15:17 PST ---
There's a larger problem that a lot of layout tests aren't resilient to parser yields. This is for a variety of reasons including the one you mention.

Technically speaking, the parser can yield to service the message loop between any two tokens. Typically this doesn't happen in layout tests since tests are usually small and the parser doesn't explicitly yield until 500ms and 4,096 tokens go by. However a smaller than usual disk or network read could have the effect of sporadically introducing yields which the tests didn't expect.

One way to find all the tests which aren't resilient to parser yields is to run tests with the yielding constants in HTMLParserScheduler set so that it yields between every token:
static const int defaultParserChunkSize = 1;
static const double defaultParserTimeLimit = 0.000;

I'll try to get a list and we can try to tackle them together?

-- 
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