Open Bug 845379 Opened 12 years ago Updated 2 years ago

SpecialPowers doesn't work in mozbrowser iframes

Categories

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

x86
macOS
defect

Tracking

()

People

(Reporter: ehsan.akhgari, Unassigned)

Details

> SpecialPowers doesn't work in mozbrowser iframes I believe it's specifically OOP ones. I believe what we've done in other tests is proxy the calls to SpecialPowers up out of the browser frame. This is not always feasible, depending on what you're trying to do. You can make a call into the "main" frame by using alert("foo") and then listening to mozbrowserprompt (?) in the page which embeds the mozbrowser.
As described, it doesn't sound like OOP is the problem here - Outer is the non-remote frame.
(In reply to Josh Matthews [:jdm] from comment #2) > As described, it doesn't sound like OOP is the problem here - Outer is the > non-remote frame. No, I think OOP is the problem here. Outer is loaded into a mozbrowser itself.
(In reply to Josh Matthews [:jdm] from comment #4) > According to > http://mxr.mozilla.org/mozilla-central/source/dom/browser-element/mochitest/ > browserElement_SetVisibleFrames.js#43, the frame that loads Outer is > explicitly not remote. Yeah sorry I don't know what I was talking about. And looks like I can work around this in bug 844169.
No longer blocks: 844169
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.