Bug 1252459 - Replaced 'identity.name' by 'name' to fix identity undefined bug, r=mt draft
authorKevin Corre <kevin.corre@base-echo.net>
Tue, 01 Mar 2016 17:12:30 +0100
changeset 335988 777799b08b43b251e3238d370e631610aa077602
parent 335987 93c0e8939efab7801d053e5721ee758963a632dd
child 340900 0491c601319318445fff2dcfce1992c7666c5cfe
push id11928
push usermartin.thomson@gmail.com
push dateTue, 01 Mar 2016 23:55:54 +0000
reviewersmt
bugs1252459
milestone47.0a1
Bug 1252459 - Replaced 'identity.name' by 'name' to fix identity undefined bug, r=mt MozReview-Commit-ID: 40FbNyLMOhz
dom/media/PeerConnectionIdp.jsm
--- a/dom/media/PeerConnectionIdp.jsm
+++ b/dom/media/PeerConnectionIdp.jsm
@@ -172,17 +172,17 @@ PeerConnectionIdp.prototype = {
     let providerPortIdx = provider.indexOf(':');
     if (providerPortIdx > 0) {
       provider = provider.substring(0, providerPortIdx);
     }
     let idnService = Components.classes['@mozilla.org/network/idn-service;1']
         .getService(Components.interfaces.nsIIDNService);
     if (idnService.convertUTF8toACE(tail) !==
         idnService.convertUTF8toACE(provider)) {
-      error('name "' + identity.name +
+      error('name "' + name +
             '" doesn\'t match IdP: "' + this.provider + '"');
     }
   },
 
   /**
    * Check the validation response.  We are very defensive here when handling
    * the message from the IdP proxy.  That way, broken IdPs aren't likely to
    * cause catastrophic damage.