Hi Junwei,

Thanks for your response, I have tried changing this setting and unfortunately 
it didn’t help and i still get this message.

I believe this would help with cross-origin issues, which is not quite the same 
as accessing mixed content with different protocols.

Any other ideas? 

On 6 February 2015 at 1:08:47 pm, Fu, Junwei ([email protected]) wrote:
Thanks for trying Crosswalk.

 

Could you please try to add the URL to whitelist within the app’s config.xml,  
like below,

<access origin=”http://www.insecure-external-page.com” />

 

From: Crosswalk-help 
[mailto:[email protected]] On Behalf Of 
Brendan Roche
Sent: Friday, February 06, 2015 9:18 AM
To: [email protected]
Subject: [Crosswalk-help] Blocked request for loading HTTP from HTTPS page

 

I’m building an web based app using Cordova Crosswalk which runs from a secure 
page that is performing an AJAX request to an insecure page which results in 
the following error in the console:

 

Mixed Content: The page at 'https://my.secure-page.com' was loaded over HTTPS, 
but requested an insecure XMLHttpRequest endpoint 
'http://www.insecure-external-page.com'. This request has been blocked; the 
content must be served over HTTPS.

 

So I’ve got no way to change the url I’m trying to access to a secure page. So 
I just need a way of overriding this security check.

 

I see in the crosswalk blink project there seems to be a way to allow access to 
insecure urls view setAllowDisplayOfInsecureContent(bool)

in 
https://github.com/crosswalk-project/blink-crosswalk/blob/master/Source/web/WebSettingsImpl.h

 

But I haven’t been able to find a way to access that via the crosswalk api.

 

Any ideas would be much appreciated. 

 

Thanks,

Brendan
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to