Closed Bug 1165270 Opened 10 years ago Closed 9 years ago

Use origin for BroadcastChannel

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla42
Tracking Status
firefox41 --- affected
firefox42 --- fixed

People

(Reporter: allstars.chh, Assigned: baku)

References

Details

Attachments

(1 file)

As in Bug 1163254 we will update the nsIPrincipal.origin, BroadcastChannel should use the new attributes. Check BroadcastChannel.GetOrigin.
In bug 1155153 I implemented the serialization of OriginAttributes for IPC. If we wait for that bug to land, I can take this bug.
No longer depends on: 1163254
Blocks: 1179985
Attached patch bc.patchSplinter Review
This patch, instead using nsContentUtils::GetUTFOrigin, uses principal::GetOrigin. It should be enough, correct?
Attachment #8629456 - Flags: review?(bobbyholley)
Comment on attachment 8629456 [details] [diff] [review] bc.patch Review of attachment 8629456 [details] [diff] [review]: ----------------------------------------------------------------- Looks great, thanks baku.
Attachment #8629456 - Flags: review?(bobbyholley) → review+
Assignee: nobody → amarchesini
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: