Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7616] iOS: Titanium.UI.WebView: iOS5: evalJS causes app freeze and deadlock warning

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2012-02-15T14:11:19.000+0000
Affected Version/sRelease 2.0.0
Fix Version/sSprint 2012-04, Release 2.0.0, Release 1.8.2
ComponentsiOS
Labelsmodule_webview, qe-testadded, regression
ReporterDustin Hyde
AssigneeVishal Duggal
Created2012-02-10T14:12:28.000+0000
Updated2012-02-15T14:11:19.000+0000

Description

iOS 5.0 apps running SDK 1.9.0 beta freeze with deadlock warning: [WARN] Timing out waiting on main thread. Possibly a deadlock? in TiThreadPerformOnMainThread (TiBase.m:213) Regression. Works in 1.8.1. Steps to Reproduce: 1. Run WebViewTest project. Attached. Expected Result: App should display an alert indicating html javascript function call. Actual Result: App freeze with deadlock warning. Note: Test case exists in titanium_mobile_tests_internal/FeatureTest/WebView/WebViewModule => TIMOB 4885

Attachments

FileDateSize
WebViewTest.zip2012-02-10T14:12:28.000+00002321012

Comments

  1. Vishal Duggal 2012-02-13

    Pull pending https://github.com/appcelerator/titanium_mobile/pull/1411
  2. Dustin Hyde 2012-02-15

    Closing as Fixed. SDK: 1.8.2.v20120214163156 Studio: 1.0.9.201202131024 OS: Lion Devices Tested: iPhone/iPad Simulator 4.3/5.0, iPod 4.3.3, iPhone4 5.0.1

JSON Source