cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-12969) InAppBrowser - Cannot open data URLs in system browser
Date Thu, 27 Jul 2017 14:24:00 GMT

    [ https://issues.apache.org/jira/browse/CB-12969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16103264#comment-16103264
] 

ASF GitHub Bot commented on CB-12969:
-------------------------------------

Github user matrosov-nikita commented on the issue:

    https://github.com/apache/cordova-plugin-inappbrowser/pull/227
  
    @filmaj, I would expand this section (https://github.com/apache/cordova-plugin-inappbrowser#more-usage-info)
by adding samples with Data URIs.
    
    But, for now, I found that this patch doesn't work on windows with data URI in case of
using `_blank` target. Not sure, whether it supposed to work.


> InAppBrowser - Cannot open data URLs in system browser
> ------------------------------------------------------
>
>                 Key: CB-12969
>                 URL: https://issues.apache.org/jira/browse/CB-12969
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-inappbrowser
>         Environment: iOS, Android
>            Reporter: Sachitra Malwatte
>            Assignee: Nikita Matrosov
>            Priority: Critical
>
> I want to open data URLs in system browser. So I did this,
> {code:java}
> window.open('data:text/html, <html><body><h1>Hello</h1></body></html>',
'_system');
> {code}
> But nothing happens (browser won't open).
> It works with normal URLs. e.g. window.open('https://github.com/apache/cordova-plugin-inappbrowser',
'_system'); But not with data URIs.
> inappbrowser version: 1.7.1
> Please help.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message