Bug 1409868 - include date in about:webrtc session labels. r=ng
authorMichael Froman <mfroman@mozilla.com>
Mon, 05 Feb 2018 14:46:22 -0600
changeset 402423 0289955447cd09ec2191506bc52cea56637d6a51
parent 402422 a9b041089fc6748a24768ae4816469b0b40bdd24
child 402424 3ef8041b6eb92f41152b6a93e47d38276eaa6e42
push id33389
push usernbeleuzu@mozilla.com
push dateTue, 06 Feb 2018 09:53:43 +0000
treeherdermozilla-central@25ceb97b5773 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersng
bugs1409868
milestone60.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1409868 - include date in about:webrtc session labels. r=ng MozReview-Commit-ID: 3f8dXaWQzE
toolkit/content/aboutwebrtc/aboutWebrtc.js
--- a/toolkit/content/aboutwebrtc/aboutWebrtc.js
+++ b/toolkit/content/aboutwebrtc/aboutWebrtc.js
@@ -403,17 +403,17 @@ PeerConnection.prototype = {
 
     pc.appendChild(div);
     return pc;
   },
 
   renderHeading() {
     let pcInfo = this.getPCInfo(this._report);
     let heading = document.createElement("h3");
-    let now = new Date(this._report.timestamp).toTimeString();
+    let now = new Date(this._report.timestamp).toString();
     heading.textContent =
       `[ ${pcInfo.id} ] ${pcInfo.url} ${pcInfo.closed ? `(${getString("connection_closed")})` : ""} ${now}`;
     return heading;
   },
 
   renderDesc() {
     let info = document.createElement("div");