Commit aeee6931 authored by philipp.hancke's avatar philipp.hancke Committed by Commit bot

webrtc-internals: add useragent to JSON dump

this adds the user agent to the dump. This allows identifying
the chrome version from the dump.

BUG=

Review-Url: https://codereview.chromium.org/2543493003
Cr-Commit-Position: refs/heads/master@{#437876}
parent a79e188e
...@@ -118,6 +118,7 @@ var DumpCreator = (function() { ...@@ -118,6 +118,7 @@ var DumpCreator = (function() {
{ {
'getUserMedia': userMediaRequests, 'getUserMedia': userMediaRequests,
'PeerConnections': peerConnectionDataStore, 'PeerConnections': peerConnectionDataStore,
'UserAgent': navigator.userAgent,
}; };
var textBlob = new Blob([JSON.stringify(dump_object, null, ' ')], var textBlob = new Blob([JSON.stringify(dump_object, null, ' ')],
{type: 'octet/stream'}); {type: 'octet/stream'});
......
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