| <meta http-equiv="refresh" content="0; url=http://A=a&B=b"> |
| testRunner.setCustomPolicyDelegate(true, false); |
| testRunner.waitUntilDone(); |
| <p>Tests that we do not redirect to an invalid URL initiated by <meta http-equiv="refresh">. This test PASSED if you see an entry in the dumped frame load callbacks of the form: "willPerformClientRedirectToURL: http://A=a&B=b" followed by "didCancelClientRedirectForFrame".</p> |
| <p>Note, this test must be run in DumpRenderTree.</p> |
| // This ugly double-timeout ensures that the scheduled meta-refresh, whose timer isn't even started until the frame finishes loading, |
| // fires before notifyDone() is called, ensuring that didCancelClientRedirectForFrame is logged by DumpRenderTree. |
| window.setTimeout(function() { |
| window.setTimeout(function() { |