Problem accessing cross domain content from SSL enabled sites (addon sdk)

RESOLVED INCOMPLETE

Status

Add-on SDK
General
RESOLVED INCOMPLETE
4 years ago
10 months ago

People

(Reporter: gemini, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36

Steps to reproduce:

Create addon with cross-domain iframe like in example with wikipedia https://developer.mozilla.org/en-US/Add-ons/SDK/Guides/Content_Scripts/Cross_Domain_Content_Scripts#Cross-domain_iframes
Change wikipedia url to any https url e.g. https://secure.url/
set 
"permissions": {
  "cross-domain-content": ["https://secure.url/"]
}


Someone else also encountered same problem: 
http://stackoverflow.com/questions/28130530/firefox-extension-cross-domain-iframe-https


Actual results:

permission denied accessing contents from inside iframe.


Expected results:

Since  "cross-domain-content" is set to allow "https://secure.url/" (includes scheme) then according to docs here: 
https://developer.mozilla.org/en-US/Add-ons/SDK/Guides/Content_Scripts/Cross_Domain_Content_Scripts
it should be possible to access its contents also for SSL enabled websites

Updated

3 years ago
Component: Untriaged → Layout: HTML Frames
Product: Firefox → Core
This isn't a layout issue.  Over to the addon SDK to figure out whether this is a problem on their end or somewhere down in Gecko, and if the latter where.
Component: Layout: HTML Frames → General
Product: Core → Add-on SDK
Version: 35 Branch → unspecified
we are setting this to New so that component group can review
Status: UNCONFIRMED → NEW
Ever confirmed: true
https://bugzilla.mozilla.org/show_bug.cgi?id=1399562
Status: NEW → RESOLVED
Last Resolved: 10 months ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.