Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1DD5A200B23 for ; Sun, 19 Jun 2016 09:07:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 11440160A53; Sun, 19 Jun 2016 07:07:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 59864160A07 for ; Sun, 19 Jun 2016 09:07:06 +0200 (CEST) Received: (qmail 21040 invoked by uid 500); 19 Jun 2016 07:07:05 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 21029 invoked by uid 99); 19 Jun 2016 07:07:05 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Jun 2016 07:07:05 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 4E0022C14E1 for ; Sun, 19 Jun 2016 07:07:05 +0000 (UTC) Date: Sun, 19 Jun 2016 07:07:05 +0000 (UTC) From: "Aaron Rosen (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-11453) InAppBrowser executeScript() does not return when used concurrently on iphone MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 19 Jun 2016 07:07:07 -0000 [ https://issues.apache.org/jira/browse/CB-11453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aaron Rosen updated CB-11453: ----------------------------- Summary: InAppBrowser executeScript() does not return when used concurrently on iphone (was: InAppBrowser executeScript() does not return when used concurrently) > InAppBrowser executeScript() does not return when used concurrently on iphone > ----------------------------------------------------------------------------- > > Key: CB-11453 > URL: https://issues.apache.org/jira/browse/CB-11453 > Project: Apache Cordova > Issue Type: Bug > Reporter: Aaron Rosen > > While using the cordova-plugin-inappbroswer version 1.4.0 I noticed that if I make concurrent requests with win.executeScript() that some times a callback never fires. Even if i set the interval to be much slower I've been able to reproduce this. I've been able to reproduce this problem on iOS and not Android though. > For example: > var win = window.open( "https://google.com", "_blank"); > win.addEventListener( "loadstop", function() { > var loop = setInterval(function() { > win.executeScript({ > code: "localStorage.getItem( 'foo' )" > },function( values ) { > console.log(values); > } > }); > > var loop = setInterval(function() { > win.executeScript({ > code: "localStorage.getItem( 'bar' )" > },function( values ) { > console.log(values); > } > }); > > }) -- 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