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

_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to