From e4dd9d22b8e996573d18d0c2c5cd8fb9c0f43d3a Mon Sep 17 00:00:00 2001 From: Alexandre Lissy Date: Sat, 13 Jun 2015 10:30:25 -0700 Subject: [PATCH] Bug 1174422 - Add system principal for UDPSocket init r=kitcambridge --- dom/simplepush/PushService.jsm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/simplepush/PushService.jsm b/dom/simplepush/PushService.jsm index c375751e0a7..888d7be9be9 100644 --- a/dom/simplepush/PushService.jsm +++ b/dom/simplepush/PushService.jsm @@ -1733,7 +1733,7 @@ this.PushService = { this._udpServer = Cc["@mozilla.org/network/udp-socket;1"] .createInstance(Ci.nsIUDPSocket); - this._udpServer.init(-1, false); + this._udpServer.init(-1, false, Services.scriptSecurityManager.getSystemPrincipal()); this._udpServer.asyncListen(this); debug("listenForUDPWakeup listening on " + this._udpServer.port);