Closed
Bug 854019
Opened 12 years ago
Closed 12 years ago
in-content XBL bindings don't work right in remote XUL domains
Categories
(Core :: XBL, defect)
Tracking
()
RESOLVED
FIXED
mozilla22
People
(Reporter: bholley, Assigned: bholley)
References
Details
(Keywords: regression, Whiteboard: [leave uplift for bholley])
Attachments
(1 file)
(deleted),
patch
|
bzbarsky
:
review+
bajaj
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Bug 853747 revealed that our remote XUL hackery in bug 844783 breaks video controls. I'm investigating.
Assignee | ||
Comment 1•12 years ago
|
||
So the issue here is a permutation of a pretty familiar problem.
When XBL scopes are disabled by remote XUL, we run XBL directly in the content compartment, except in automation. In this case, that broke video controls, because the NAC gets wrapped in a SOW, and the video controls can't access it anymore due to nsContentUtils::IsCallerXBL() not returning the right thing.
I'm attaching a patch. But more generally, I'm worried that our in-content XBL controls will start to subtle depend on the existence of the compartment boundary, which we won't notice until we ship a release and somebody tries to use the associated element on a XUL-whitelisted domain.
Jaws, dao, and dolske - can you guys keep that in mind when doing future reviews?
Assignee | ||
Comment 2•12 years ago
|
||
Attachment #728594 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 3•12 years ago
|
||
This is a regression from bug 844783, so we'll want to uplift both together.
tracking-firefox21:
--- → ?
Assignee | ||
Comment 4•12 years ago
|
||
Comment 5•12 years ago
|
||
Comment on attachment 728594 [details] [diff] [review]
Continue checking the XBL bit if remote XUL disables XBL scopes. v1
Please document the new methods (especially the overall setup they're meant to enforce) and the difference between the two boolean members, and r=me
Attachment #728594 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 6•12 years ago
|
||
Assignee | ||
Comment 7•12 years ago
|
||
Comment 8•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
Updated•12 years ago
|
Updated•12 years ago
|
Assignee: nobody → bobbyholley+bmo
Assignee | ||
Comment 9•12 years ago
|
||
Comment on attachment 728594 [details] [diff] [review]
Continue checking the XBL bit if remote XUL disables XBL scopes. v1
See bug 844783 comment 53.
Attachment #728594 -
Flags: approval-mozilla-aurora?
Assignee | ||
Updated•12 years ago
|
Whiteboard: [leave uplift for bholley]
Updated•12 years ago
|
Attachment #728594 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 10•12 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•