Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F111DE59D for ; Fri, 11 Jan 2013 16:56:16 +0000 (UTC) Received: (qmail 16866 invoked by uid 500); 11 Jan 2013 16:56:13 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 16834 invoked by uid 500); 11 Jan 2013 16:56:13 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 16786 invoked by uid 500); 11 Jan 2013 16:56:13 -0000 Delivered-To: apmail-incubator-callback-dev@incubator.apache.org Received: (qmail 16769 invoked by uid 99); 11 Jan 2013 16:56:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jan 2013 16:56:13 +0000 Date: Fri, 11 Jan 2013 16:56:13 +0000 (UTC) From: "Jonathan Brumley (JIRA)" To: callback-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CB-2102) InAppBrowser will not open PDFs on different pages MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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:55 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. Any idea what is going on, could this be related to the issue posted here? 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 of my xhr is really changing. > 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