[webkit-dev] Is this a possible source of test flakiness?

Darin Adler darin at apple.com
Mon Feb 21 15:42:02 PST 2011


On Feb 20, 2011, at 8:19 PM, Xianzhu Wang wrote:

> My question is: Is this kind of usage (referencing a later-defined function in onload event handler) correct in theory?

Yes.

The contents of the onload attribute don’t matter until the load event fires, which is after the script element has been parsed.

> Will it cause flakiness?

No.

    -- Darin



More information about the webkit-dev mailing list