Re: [html-tests] Fix html/browsers/the-window-object/security-window/window-security.s… (#3607)

I think in principle there is still a race condition; the iframe might queue a `load` event for about:blank, then the script runs that sets up the onload listener and changes `src`, then the event loop spins and actually fires the `load` event for about:blank. Right?

To avoid the race completely, it seems better to do one of the following:
* create the `iframe` in the script 
* run the script in window.onload

View on GitHub: https://github.com/w3c/web-platform-tests/pull/3607#issuecomment-243362123

Received on Tuesday, 30 August 2016 07:57:37 UTC