Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3020] WebView 'beforeload' does not update url property

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionDuplicate
Resolution Date2011-04-15T03:34:54.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsn/a
Reportercorey
AssigneeReggie Seagraves
Created2011-04-15T03:34:54.000+0000
Updated2017-03-09T21:35:16.000+0000

Description

webview.addEventListener('beforeload', function(e) {

Ti.API.info(e.url);

});

e.url does not update with the loading url, instead displays webview url.

should act more like 'load' event, however should fire before webview fully loads html content

Comments

  1. Bill Dawson 2011-04-15

    dupe #2578

  2. Lee Morris 2017-03-09

    Closing ticket as duplicate.

JSON Source