cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Brumley (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-2102) InAppBrowser will not open PDFs on different pages
Date Fri, 11 Jan 2013 16:40:13 GMT

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

Jonathan Brumley edited comment on CB-2102 at 1/11/13 4:40 PM:
---------------------------------------------------------------

I am having a weird issue with InAppBrowser that might be related to this issue, the first
time I open a PDF with window.open everything is fine and I can close and open the same PDF
over and over, but when I open a different PDF and then close it, it looks like something
is changing or affecting my ajax requests, and the reason I know is that my token(or my request)
in my ajax gets invalidated, this only happen after the second time I open a different PDF
with window.open, I think InAppBrowser is overwriting the xhr in some kind of way that when
you close the PDF xhr doesn't work properly. This only happen with PDFs when I open regular
pages it works fine. This is all I have for now I will try to do some more testing to see
what of my xhr is really changing.
                
      was (Author: cayasso):
    I am having a weird issue with InAppBrowser that might be related to this issue, the first
time I open a PDF with window.open everything is fine and I can close and open the same PDF
over and over, but when I open a different PDF and then close it, it looks like something
is changing or affecting my ajax requests, and the reason I know is that my token(or my request)
in my ajax gets invalidated, this only happen after the second time I open a different PDF
with window.open, I think InAppBrowser is overwriting the xhr in some kind of way that when
you close the PDF xhr doesn't work properly. This only happen with PDFs when I open regular
pages it works fine. This is all I have for now I will try to do some more testing to see
what is really changing of my xhr.
                  
> InAppBrowser will not open PDFs on different pages
> --------------------------------------------------
>
>                 Key: CB-2102
>                 URL: https://issues.apache.org/jira/browse/CB-2102
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaJS, iOS
>    Affects Versions: 2.3.0
>         Environment: OSX Mountain Lion, xCode 4.5.2, happens on iPad simulator 5.0, 5.1,
6.0.
>            Reporter: Chad Crowell
>            Assignee: Shazron Abdullah
>              Labels: InAppBrowser, iOS6
>             Fix For: 2.3.0
>
>         Attachments: cdv230 copy.zip, www-cb-2102.zip
>
>
> WWW folder is here: https://dl.dropbox.com/u/119908/www.zip
> The folder structure here is setup exactly like the much more elaborate website we are
wrapping in Cordova as an "offline website browser" app for my client. This stripped down
version exhibits the same problematic behavior.
> Whichever page you view first, the PDFs on that page open in IAB just fine. Click over
to the other page and the PDFs there don't open in IAB. Doesn't matter which page you go to
first, the other page always doesn't work.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message