incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Zubkou (Reopened) (JIRA)" <>
Subject [jira] [Reopened] (CB-538) Change onReceivedError logic to allow scripts to handle iframe loading errors
Date Thu, 19 Apr 2012 08:42:38 GMT


Pavel Zubkou reopened CB-538:

What you mean by saying that iframes are broken? They loading a document, behave as expected
and WebView calls appropriate error handlers, we just need proper handling of these errors.
Please correct me, I do not understand the issue with iframes. 
> Change onReceivedError logic to allow scripts to handle iframe loading errors
> -----------------------------------------------------------------------------
>                 Key: CB-538
>                 URL:
>             Project: Apache Callback
>          Issue Type: Improvement
>          Components: Android
>    Affects Versions: 1.6.0
>            Reporter: Pavel Zubkou
>            Assignee: Joe Bowser
> If I understand correctly, onReceivedError handles WebView loading errors, both for a
document loaded into a WebView and for iframes loaded inside the document. Currently onReceivedError
has actually to outcomes: load page specified via errorUrl property into WebView or show error
dialog and close activity.
> Both outcomes are not desired when error came from loading iframe since application loaded
into the WebView loses control of all events and can not handle iframe loading error.
> I think it would be more appropriate to check failingUrl and if it does not equals to
this.url - just do not catch error in onReceivedError, thus allowing scripts from document
loaded into WebView handle iframe loading errors.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message