Closed Bug 1024098 Opened 10 years ago Closed 10 years ago

Add some helpers for principal verification with PBackground

Categories

(Core :: DOM: Content Processes, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla33

People

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

References

Details

Attachments

(1 file, 1 obsolete file)

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.
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
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: