cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Veenstra (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-10061) The frame requesting access has a protocol of "https", the frame being accessed has a protocol of "http". Protocols must match.
Date Mon, 23 Nov 2015 10:20:11 GMT
Mark Veenstra created CB-10061:
----------------------------------

             Summary: The frame requesting access has a protocol of "https", the frame being
accessed has a protocol of "http". Protocols must match.
                 Key: CB-10061
                 URL: https://issues.apache.org/jira/browse/CB-10061
             Project: Apache Cordova
          Issue Type: Bug
          Components: Browser
    Affects Versions: 5.4.0
            Reporter: Mark Veenstra
            Assignee: Tim Barham


When I build and test a browser version of our app I got issues with the  InAppBrowser plugin
when opening a site that isn't on the same protocol as where I serve the app.

For example when I serve it locally I got these errors:
{code}
Uncaught SecurityError: Blocked a frame with origin "https://www.dominos.nl" from accessing
a frame with origin "http://192.168.178.17:8100".  The frame requesting access has a protocol
of "https", the frame being accessed has a protocol of "http". Protocols must match.
{code}

I open the window as follows:
{code}
window.open('https://www.dominos.nl', '_blank', 'location=yes,clearcache=yes,toolbar=yes,EnableViewPortScale=yes');
{code}

I have also tried to open the window with {{//www.dominos.nl}} but also with no success.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message