| Index: third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js b/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js
|
| index f41672c9b35a9187a1f414a30b8484b5c94d47c0..10eeee0902406c2fbb9b593490a3a0d9e9a7bd97 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js
|
| @@ -599,7 +599,8 @@ WebInspector.ConsoleView.prototype = {
|
|
|
| _saveConsole: function()
|
| {
|
| - var filename = String.sprintf("%s-%d.log", WebInspector.targetManager.inspectedPageDomain(), Date.now());
|
| + var url = WebInspector.targetManager.mainTarget().inspectedURL();
|
| + var filename = String.sprintf("%s-%d.log", url.asParsedURL().host, Date.now());
|
| var stream = new WebInspector.FileOutputStream();
|
|
|
| var progressIndicator = new WebInspector.ProgressIndicator();
|
|
|