| Index: content/shell/renderer/test_runner/WebTestProxy.cpp
|
| diff --git a/content/shell/renderer/test_runner/WebTestProxy.cpp b/content/shell/renderer/test_runner/WebTestProxy.cpp
|
| index 1c4f1b1054ab8c7902229954c35b20c982b945b3..61e7edc180762e7473448455862a96b51c64cb36 100644
|
| --- a/content/shell/renderer/test_runner/WebTestProxy.cpp
|
| +++ b/content/shell/renderer/test_runner/WebTestProxy.cpp
|
| @@ -1036,6 +1036,18 @@ bool WebTestProxyBase::isChooserShown()
|
| return 0 < m_chooserCount;
|
| }
|
|
|
| +void WebTestProxyBase::loadURLExternally(WebLocalFrame* frame, const WebURLRequest& request, WebNavigationPolicy policy, const WebString& suggested_name)
|
| +{
|
| + if (m_testInterfaces->testRunner()->shouldWaitUntilExternalURLLoad()) {
|
| + if (policy == WebNavigationPolicyDownload) {
|
| + m_delegate->printMessage(string("Downloading URL with suggested filename \"") + suggested_name.utf8() + "\"\n");
|
| + } else {
|
| + m_delegate->printMessage(string("Loading URL externally - \"") + URLDescription(request.url()) + "\"\n");
|
| + }
|
| + m_delegate->testFinished();
|
| + }
|
| +}
|
| +
|
| void WebTestProxyBase::didStartProvisionalLoad(WebLocalFrame* frame)
|
| {
|
| if (!m_testInterfaces->testRunner()->topLoadingFrame())
|
|
|