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)
Tracking
()
NEW
People
(Reporter: ehsan.akhgari, Unassigned)
Details
STR: Modify http://mxr.mozilla.org/mozilla-central/source/dom/browser-element/mochitest/file_browserElement_SetVisibleFrames_Outer.html?force=1 to access SpecialPowers.whatever, and then run http://mxr.mozilla.org/mozilla-central/source/dom/browser-element/mochitest/test_browserElement_oop_SetVisibleFrames.html?force=1.
This makes it impossible to fix bug 844169.
Comment 1•12 years ago
|
||
> 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.
Comment 2•12 years ago
|
||
As described, it doesn't sound like OOP is the problem here - Outer is the non-remote frame.
Reporter | ||
Comment 3•12 years ago
|
||
(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.
Comment 4•12 years ago
|
||
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.
Reporter | ||
Comment 5•12 years ago
|
||
(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
Comment 6•6 years ago
|
||
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
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•