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

Xianzhu Wang phnixwxz at gmail.com
Sun Feb 20 20:19:54 PST 2011


Hi,

I saw several layout tests (e.g. fast/dom/wrapper-classes.html) containing
code like the following:

<iframe onload="frameLoaded()" src="data:.."></iframe>

<script>
....
function frameLoaded() {
  ......
}
</script>

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

Thanks,
Xianzhu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20110221/c8f531e8/attachment.html>


More information about the webkit-dev mailing list