You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sergey Grebnov (JIRA)" <ji...@apache.org> on 2015/11/17 10:48:10 UTC
[jira] [Commented] (CB-7696) External links are mistakenly opening
via system browser instead of InAppBrowser
[ https://issues.apache.org/jira/browse/CB-7696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15008390#comment-15008390 ]
Sergey Grebnov commented on CB-7696:
------------------------------------
The following does not repro anymore; all _blank/random target type cases works correct (also reviewed code - should work fine)
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=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
> 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
> 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org