Closed
Bug 1032592
Opened 10 years ago
Closed 10 years ago
Allow principals to be sent with the message manager
Categories
(Core :: DOM: Content Processes, defect, P1)
Tracking
()
RESOLVED
FIXED
mozilla34
People
(Reporter: billm, Assigned: billm)
References
Details
(Keywords: dev-doc-needed)
Attachments
(1 file, 1 obsolete file)
9.42 KB,
patch
|
bent.mozilla
:
review+
|
Details | Diff | Splinter Review |
The message manager uses structured clone, so this patch adds structured clone support for nsIPrincipal. It's based on the patch in bug 1024098.
Attachment #8448418 -
Flags: review?(bent.mozilla)
Assignee | ||
Comment 1•10 years ago
|
||
New patch!
Attachment #8448418 -
Attachment is obsolete: true
Attachment #8448418 -
Flags: review?(bent.mozilla)
Attachment #8452820 -
Flags: review?(bent.mozilla)
Comment 2•10 years ago
|
||
Priority: -- → P1
Comment on attachment 8452820 [details] [diff] [review] sc-principals v2 Review of attachment 8452820 [details] [diff] [review]: ----------------------------------------------------------------- Awesome, thanks! ::: dom/base/nsJSEnvironment.cpp @@ +2918,5 @@ > + } > + > + if (info.type() == mozilla::ipc::PrincipalInfo::TNullPrincipalInfo) { > + return JS_WriteUint32Pair(writer, SCTAG_DOM_NULL_PRINCIPAL, 0); > + } else if (info.type() == mozilla::ipc::PrincipalInfo::TSystemPrincipalInfo) { Nit: else after return, twice here.
Attachment #8452820 -
Flags: review?(bent.mozilla) → review+
Assignee | ||
Comment 4•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/b4f7e17a607f
Comment 5•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/b4f7e17a607f
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
Updated•10 years ago
|
Flags: qe-verify-
Comment 6•10 years ago
|
||
We should probably update the docs in https://developer.mozilla.org/en-US/docs/The_message_manager about sending Principals around.
Keywords: dev-doc-needed
You need to log in
before you can comment on or make changes to this bug.
Description
•