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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to