Add some helpers for principal verification with PBackground

RESOLVED FIXED in mozilla33

Status

()

RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: bent.mozilla, Assigned: bent.mozilla)

Tracking

Trunk
mozilla33
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

We need to verify principals in PBackground protocols. Unfortunately principals and URIs are not threadsafe so we have to do extra work. Patch in a bit.

Updated

4 years ago
Component: IPC → DOM: Content Processes
Attachment #8439408 - Flags: review?(mrbkap) → review+
A random thought I had: does this need to deal with document.domain? If it does, do we have to broadcast document.domain changes between parent and children (or vice versa)?
Flags: needinfo?(bent.mozilla)
Sorry, I accidentally hit enter while filling out the reviewer. I'd like to be able to do structured clone of nsIPrincipal and Blake pointed me to this bug. I factored out Ben's code into something that we can use for both. Hope this is okay Ben.
Comment on attachment 8448416 [details] [diff] [review]
principal-info

I'd love bent to weigh in here.
Attachment #8448416 - Flags: review?(mrbkap)
Attachment #8448416 - Flags: review?(bent.mozilla)
Attachment #8448416 - Flags: review+
Comment on attachment 8448416 [details] [diff] [review]
principal-info

Review of attachment 8448416 [details] [diff] [review]:
-----------------------------------------------------------------

Spoke with billm, we're going to do something else with this.
Attachment #8448416 - Flags: review?(bent.mozilla) → review-
Attachment #8448416 - Attachment is obsolete: true
Flags: needinfo?(bent.mozilla)
https://hg.mozilla.org/mozilla-central/rev/778627b321e9
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
You need to log in before you can comment on or make changes to this bug.