Re: [battery-status-tests] Battery: add a test loading an iframe page that is NOT about:blank (#3167)

@zqzhang The battery-promise-iframe.html test is racy. There is nothing in the spec that requires the script to run, and the message listener to be added, before support-iframe-initial.html has loaded, done its postMessage, and had the message event fire.

You should be adding this listener before you start the load of support-iframe-initial.html.


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

Received on Wednesday, 15 June 2016 08:30:17 UTC