Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3098] App crashes when you set webview visible = false in beforeload event

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T02:00:55.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterJim C.
AssigneeReggie Seagraves
Created2011-04-15T03:36:54.000+0000
Updated2011-04-17T02:00:55.000+0000

Description

Testing with iPhone simulator.


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

    // This doesn't seem to do anything at all.  Bug?
    webview1.hide();
        
    // This causes the app to crash.  Arghh!
    webview1.visible = false;
});

Comments

  1. Jim C. 2011-04-15

    The issue with "webview1.visible = false" causing a crash and the webview1.hide() issue seems to be resolved with 1.6 RC1.

  2. Thomas Huelbert 2011-04-15

    closing as per Jim C's comments

JSON Source