| Index: webkit/tools/test_shell/test_webview_delegate.cc
|
| ===================================================================
|
| --- webkit/tools/test_shell/test_webview_delegate.cc (revision 5946)
|
| +++ webkit/tools/test_shell/test_webview_delegate.cc (working copy)
|
| @@ -223,10 +223,11 @@
|
| bool replace = extra_data && extra_data->pending_page_id != -1;
|
|
|
| scoped_ptr<WebRequest> request(failed_request.Clone());
|
| - request->SetURL(GURL("testshell-error:"));
|
|
|
| std::string error_text =
|
| - StringPrintf("Error loading url: %d", error.GetErrorCode());
|
| + StringPrintf("Error %d when loading url %s", error.GetErrorCode(),
|
| + request->GetURL().spec().c_str());
|
| + request->SetURL(GURL("testshell-error:"));
|
|
|
| frame->LoadAlternateHTMLString(request.get(), error_text,
|
| error.GetFailedURL(), replace);
|
|
|