Bug 1084499: fix about:webrtc for hello calls r=drno

This commit is contained in:
Romain Gauthier 2014-10-20 18:47:43 +02:00
parent 251b70b197
commit c07b243275
2 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ var PeerConnection = React.createClass({displayName: 'PeerConnection',
getPCInfo: function(report) {
return {
id: report.pcid.match(/id=(\S+)/)[1],
url: report.pcid.match(/http[^)]+/)[0],
url: report.pcid.match(/url=([^)]+)/)[1],
closed: report.closed
};
},

View File

@ -113,7 +113,7 @@ var PeerConnection = React.createClass({
getPCInfo: function(report) {
return {
id: report.pcid.match(/id=(\S+)/)[1],
url: report.pcid.match(/http[^)]+/)[0],
url: report.pcid.match(/url=([^)]+)/)[1],
closed: report.closed
};
},