Enable mozTCPSocket in the desktop runtime

RESOLVED FIXED in Firefox 26

Status

defect
RESOLVED FIXED
6 years ago
3 years ago

People

(Reporter: marco, Assigned: marco)

Tracking

Trunk
Firefox 26
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Assignee

Description

6 years ago
No description provided.
Assignee

Comment 1

6 years ago
Posted patch PatchSplinter Review
Assignee: nobody → mar.castelluccio
Status: NEW → ASSIGNED
Assignee

Updated

6 years ago
Depends on: 892837
Assignee

Updated

6 years ago
Attachment #774425 - Flags: review?(dpreston)
Comment on attachment 774425 [details] [diff] [review]
Patch

What are the security implications of this? Presumably normal webpages won't get access to this because they don't have the "tcp-socket" permission, but how do apps get this permission on desktop? Do apps that are installed from the marketplace on desktop that request the tcp-socket permission get it, just like on firefox os?
Assignee

Comment 3

6 years ago
(In reply to Donovan Preston from comment #2)
> Comment on attachment 774425 [details] [diff] [review]
> Patch
> 
> What are the security implications of this? Presumably normal webpages won't
> get access to this because they don't have the "tcp-socket" permission, but
> how do apps get this permission on desktop? Do apps that are installed from
> the marketplace on desktop that request the tcp-socket permission get it,
> just like on firefox os?

Yes.
For Firefox desktop the API is still completely disabled (the pref change only affects the webapp runtime).
In the runtime, only apps that have the "tcp-socket" permission will be able to use the API.
The permission will be granted just like in Firefox OS (when bug 892837 lands).
Attachment #774425 - Flags: review?(dpreston) → review+
Assignee

Updated

6 years ago
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/bc494dcd45e4
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 26
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.