cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastian Betzinger (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-9881) inappbrowser iframebidge console error
Date Tue, 27 Oct 2015 18:09:27 GMT

     [ https://issues.apache.org/jira/browse/CB-9881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebastian Betzinger updated CB-9881:
------------------------------------
    Description: 
Cordova 4.1 on iOS9.1

Sometimes a page in inappbrowser is loaded i get errors on the inappbrowser debug console
like this:

TypeError: null is not an object (evaluating 'd.body.appendChild')

ReferenceError: Can't find variable: _cdvIframeBridge

When this happens, the iframe with executeScript is not attached to the in inappbrowser loaded
website and executeScript is not working.

These errors occur not all the time, but most page refreshes trigger ONE of these 2 error
messages. Any workaround? Using setTimeout didn't help here to delay the iframe attachment
(executeScript).

On Android it works great without any errors with the exact same code.

  was:
Cordova 4.1 on iOS9.1

Sometimes a page in inappbrowser is loaded i get errors on the inappbrowser debug console
like this:

TypeError: null is not an object (evaluating 'd.body.appendChild')

ReferenceError: Can't find variable: _cdvIframeBridge

When this happens, the iframe with executeScript is not attached to the in inappbrowser loaded
website and executeScript is not working.

This error occurs not all the time, but most page refrehs trigger ONE of these 2 error messages.
Any workaround? Using setTimeout didn't help here to delay the iframe attachment.

On Android it works great without any errors with the exact same code.


> inappbrowser iframebidge console error 
> ---------------------------------------
>
>                 Key: CB-9881
>                 URL: https://issues.apache.org/jira/browse/CB-9881
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS, Plugin InAppBrowser
>    Affects Versions: 4.1.1
>         Environment: iOS9.1 Cordova4.1 InAppBrowser1.0.1
>            Reporter: Sebastian Betzinger
>            Priority: Critical
>
> Cordova 4.1 on iOS9.1
> Sometimes a page in inappbrowser is loaded i get errors on the inappbrowser debug console
like this:
> TypeError: null is not an object (evaluating 'd.body.appendChild')
> ReferenceError: Can't find variable: _cdvIframeBridge
> When this happens, the iframe with executeScript is not attached to the in inappbrowser
loaded website and executeScript is not working.
> These errors occur not all the time, but most page refreshes trigger ONE of these 2 error
messages. Any workaround? Using setTimeout didn't help here to delay the iframe attachment
(executeScript).
> On Android it works great without any errors with the exact same code.



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