Bug 970734 - Part 1: When ICE fails, log a pointer to about:webrtc in the JS console. r=jib

This commit is contained in:
Byron Campen [:bwc] 2014-04-08 14:22:54 -07:00
parent f5a4bd97f2
commit 962593d956

View File

@ -1117,6 +1117,7 @@ PeerConnectionObserver.prototype = {
if (iceConnectionState === 'failed') { if (iceConnectionState === 'failed') {
histogram.add(false); histogram.add(false);
this._dompc.reportError("ICE failed, see about:webrtc for more details", null, 0);
} }
if (this._dompc.iceConnectionState === 'checking' && if (this._dompc.iceConnectionState === 'checking' &&
(iceConnectionState === 'completed' || (iceConnectionState === 'completed' ||