cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Georg Howen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-8002) Creating a new div for every Js -> Native exec() call
Date Tue, 20 Jan 2015 11:35:35 GMT

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

Georg Howen commented on CB-8002:
---------------------------------

Yeah, I found that out too. But for me it was fine. The hassle about removing and readding
the platform is mostly with the icons and splash screens. But so far I had to remove and readd
the platform for most of the cordova updates to get things to work. So I'm kinda used to it.
I am testing for two days now and things seem to be OK. Thanks again, Shazron, especially
for the parameters to add the platform from git.

> Creating a new div for every Js -> Native exec() call
> -----------------------------------------------------
>
>                 Key: CB-8002
>                 URL: https://issues.apache.org/jira/browse/CB-8002
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 3.7.0
>         Environment: Tested on multiple iOS 8.1 devices, simulators
>            Reporter: Serdar Onal
>            Assignee: Andrew Grieve
>            Priority: Critical
>
> Since the 3.7.0 update, when cordova does a Js to Native call using exec(), somehow the
underlying cordova.js is creating a "gap://ready" iframe on every call. This means that if
you made 1000 native calls you'll have 1000 divs on the DOM.
> I believe this issue is of critical priority as it incurs a huge memory leak.
> Screenshot from safari inspector
> https://drive.google.com/file/d/0B94TXiq5ycp1anp6aGpTbjhPdG8/view?usp=sharing



--
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


Mime
View raw message