Closed Bug 1185985 Opened 9 years ago Closed 8 years ago

Twitter widgets and other Javascript constructs don't work in chrome nested iframes or browsers

Categories

(Firefox :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1177795
Tracking Status
firefox42 --- affected

People

(Reporter: mkaply, Unassigned)

Details

(Keywords: regression)

Given a XUL file that looks like this:

<?xml version="1.0"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  <browser width="1000" height="1000" type="content" src="http://home.brandthunder.com/goduke"/>
</window>

On the resulting page, the Twitter widget doesn't load:

Error: Permission denied to access property "postMessage"

and clicking on the buttons doesn't work either:

Error: Permission denied to access property "location"

It appears that you can no longer nest a browser (or iframe) into a chrome XUL file and have it work properly (with or without e10s).

I've gone back to firefox 31 and this worked properly then.

I'll look into getting a regression window.

Is there some new way to put iframes and browsers into chrome URLs that I don't know about?
I bet it's 

https://bugzilla.mozilla.org/show_bug.cgi?id=1083281

Need to look at the chrome manifest flags.
Neither of those chrome.manifest flags make this work.
Keywords: regression
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.