SimplePush PushService UDPSocket Not enough arguments/NS_ERROR_NOT_INITIALIZED

RESOLVED FIXED in Firefox 41

Status

()

Core
DOM: Push Notifications
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: gerard, Assigned: gerard)

Tracking

unspecified
2.2 S14 (12june)
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox41 fixed)

Details

(Whiteboard: [systemsfe])

Attachments

(1 attachment, 1 obsolete attachment)

(Assignee)

Description

3 years ago
Trying to use FindMyDevice, I'm getting errors about PushService.jsm:
> 06-13 15:15:47.594  4304  4304 E GeckoConsole: [JavaScript Error: "NS_ERROR_NOT_INITIALIZED: Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsIUDPSocket.port]" {file: "resource://gre/modules/PushService.jsm" line: 1595}]
(Assignee)

Updated

3 years ago
Blocks: 1159046
(Assignee)

Comment 1

3 years ago
Probaby because of
> 06-13 15:12:29.404  4304  4304 E GeckoConsole: [JavaScript Error: "NS_ERROR_XPC_NOT_ENOUGH_ARGS: Not enough arguments [nsIUDPSocket.init]" {file: "resource://gre/modules/PushService.jsm" line: 1736}]
Summary: SimplePush PushService UDPSocket NS_ERROR_NOT_INITIALIZED → SimplePush PushService UDPSocket Not enough arguments/NS_ERROR_NOT_INITIALIZED
(Assignee)

Comment 2

3 years ago
Looks like we missed a principal in the init() call ...
(Assignee)

Comment 3

3 years ago
https://treeherder.mozilla.org/#/jobs?repo=try&revision=ffab1068c07c
(Assignee)

Comment 4

3 years ago
Created attachment 8621983 [details] [diff] [review]
Add system principal for UDPSocket init
Attachment #8621983 - Flags: review?(fabrice)
(Assignee)

Updated

3 years ago
Assignee: nobody → lissyx+mozillians
(Assignee)

Updated

3 years ago
Whiteboard: [systemsfe]
Target Milestone: --- → 2.2 S14 (12june)
(Assignee)

Comment 5

3 years ago
Created attachment 8621993 [details] [diff] [review]
Add system principal for UDPSocket init

Just updating r=
Attachment #8621983 - Attachment is obsolete: true
Attachment #8621983 - Flags: review?(fabrice)
(Assignee)

Updated

3 years ago
Attachment #8621993 - Flags: review?(kcambridge)
Attachment #8621993 - Flags: review?(kcambridge) → review+

Comment 6

3 years ago
https://hg.mozilla.org/integration/b2g-inbound/rev/84cf3e737ca9
https://hg.mozilla.org/mozilla-central/rev/84cf3e737ca9
Status: NEW → RESOLVED
Last Resolved: 3 years ago
status-firefox41: --- → fixed
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.