You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sebastian Betzinger (JIRA)" <ji...@apache.org> on 2015/10/27 19:09:27 UTC

[jira] [Updated] (CB-9881) inappbrowser iframebidge console error

     [ 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