Commit 749c2d9a authored by jiayl@chromium.org's avatar jiayl@chromium.org

Set the file name of the webrtc-internals dump "webrtc_internals_dump.txt".

BUG=398827

Review URL: https://codereview.chromium.org/448503002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287719 0039d316-1c4b-4281-b951-d872f2087c98
parent 06aa4029
......@@ -86,7 +86,9 @@ var DumpCreator = (function() {
{type: 'octet/stream'});
var URL = window.URL.createObjectURL(textBlob);
this.root_.getElementsByTagName('a')[0].href = URL;
var anchor = this.root_.getElementsByTagName('a')[0];
anchor.href = URL;
anchor.download = 'webrtc_internals_dump.txt';
// The default action of the anchor will download the URL.
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment