[
https://issues.apache.org/jira/browse/CB-7696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15008395#comment-15008395
]
Sergey Grebnov edited comment on CB-7696 at 11/19/15 1:08 PM:
--------------------------------------------------------------
This is because on Windows 8/8.1 you can't load remote urls locally (due to
different security context).
Windows 10 works correct here.
Action items: document this behaviour.
Potentially we can add logic to see if url is remote and fallback to
InAppBrowser instead of system browser in this case (but this can lead to
additional issues as we will need to write different code for Windows10 which
supports remote urls + and Windows8/8.1 which does NOT)
was (Author: sgrebnov):
This is because on Windows 8/8.1 you can't load remote urls locally (due to
different security context).
Windows 10 works correct here.
Action items: document this behaviour.
Potentially we can add logic to see if url is remote and fallback to
InAppBrowser instead of system browser in this case (but this can lead
additional issues as we will need to write different code for Windows10+ and
Windows8/8.1)
> External links are mistakenly opening via system browser instead of
> InAppBrowser
> --------------------------------------------------------------------------------
>
> Key: CB-7696
> URL: https://issues.apache.org/jira/browse/CB-7696
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin InAppBrowser
> Environment: 'windows' platform, Windows 8.0, 8.1, Windows Phone 8.1
> Reporter: Sergey Shakhnazarov
> Assignee: Sergey Grebnov
> Labels: Triaged, Windows
>
> 1. Run Mobilespec app
> 2. Go to Plugin Tests (Automatic and manual)
> 3. Go to “manual tests”
> 4. Go to “cordova.inappbrowser.tests.tests”
> 5. Click on of these buttons
> White Listed URL
> "target=Random" button
> Expected result: open successfully in InAppBrowser to www.google.com
> Actual: opens link in a system browser
> "* target=Random, no location bar" button
> Expected result: open successfully in InAppBrowser to www.google.com with no
> location bar.
> Actual: opens link in a system browser
> Non White Listed URL
> target=Default
> Expected result: open successfully in InAppBrowser to apple.com (_self
> enforces whitelist).
> Actual: opens link in a system browser
> target=_self
> Expected result: open successfully in InAppBrowser to apple.com (_self
> enforces whitelist).
> Actual: opens link in a system browser
> target=Random
> Expected result: open successfully in InAppBrowser to apple.com.
> Actual: opens link in a system browser
> * target=Random, no location bar
> Expected result: open successfully in InAppBrowser to apple.com without
> locationBar.
> Actual: opens link in a system browser
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]