Closed
Bug 1063682
Opened 11 years ago
Closed 11 years ago
Certified app use of mozTCPSocket fails on nightly desktop
Categories
(Firefox OS Graveyard :: Gaia, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: jrburke, Unassigned)
Details
1) make DEBUG=1
2) Open that profile in a Nightly desktop firefox:
/path/to/nightly/firefox -profile /path/to/gaia/profile-debug http://email.gaiamobile.org:8080/
3) Set up an account. When the email tries to do a socket.open, this error appears:
ERR: onerror reporting: NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "TCPSocket does not have permission in this context.
" {file: "file:///builds/slave/m-cen-osx64-ntly-0000000000000/build/obj-firefox/x86_64/dist/FirefoxNightly.app/Contents/MacOS/components/TCPSocket.js" line: 516}]'[JavaScript Error: "TCPSocket does not have permission in this context.
" {file: "file:///builds/slave/m-cen-osx64-ntly-0000000000000/build/obj-firefox/x86_64/dist/FirefoxNightly.app/Contents/MacOS/components/TCPSocket.js" line: 516}]' when calling method: [nsIDOMTCPSocket::open] @ http://email.gaiamobile.org:8080/js/ext/worker-support/net-main.js : 50
It seems like the permissions are not quite aligning now for certified app use on desktop. In about:config dom.mozTCPSocket.enabled is true.
This was working on Aurora, last week Aurora, 33.0a2 (2014-08-29). However the nightly for that time period did not, and now Aurora does not work either, with the same error.
I use this setup frequently for doing small CSS tweaks, and has been working fine for a while, just seemed to start to fail last week.
| Reporter | ||
Comment 1•11 years ago
|
||
This seems to work now with nightly 35.0a1 (2014-09-11) so closing.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•