OLD | NEW |
---|---|
1 <script> | 1 <script> |
2 window.location = "pass.html"; | 2 // We need to wait until the iframe has finished loading before navigating o r |
3 // we risk getting duplicate prints from WebTestProxyBase::DidFinishDocument Load | |
4 // due to a race between the FrameLoader::startLoad due to setting window.lo cation | |
5 // and Document::finishedParsing both of which call FrameLoader::finishedPar sing | |
6 // which in turn calls. WebTestProxyBase::DidFinishDocumentLoad. | |
7 window.onload = function() { | |
rmcilroy
2015/04/17 12:59:32
Could we make the layouttest changes in a seperate
alex clarke (OOO till 29th)
2015/04/17 13:37:08
Possibly. I think that might depend on who does t
rmcilroy
2015/04/17 16:33:22
I'm not sure what you mean here. LayoutTest change
| |
8 window.location = "pass.html"; | |
9 } | |
3 | 10 |
4 window.onunload = function() | 11 window.onunload = function() |
5 { | 12 { |
6 document.write("document.write"); | 13 document.write("document.write"); |
7 setTimeout("parent.log('You wanted to go to: '+ location.href); parent.f ail()", 500); | 14 setTimeout("parent.log('You wanted to go to: '+ location.href); parent.f ail()", 500); |
8 } | 15 } |
9 </script> | 16 </script> |
OLD | NEW |