Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11832] Show webview javascript errors in the console

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionWon't Do
Resolution Date2018-08-02T17:05:57.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsconsole, javascript, uiwebview, web, webview
ReporterSindre Sorhus
AssigneeUnknown
Created2011-04-15T01:27:09.000+0000
Updated2018-08-02T17:05:57.000+0000

Description

The documentation includes reference to an error event but it indicates this is only for handling errors once the content first loads.(http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.UI.WebView-event-error) If the content loads fine with no errors, but there is javascript errors that show up after this point, these errors are not written to the console or available through an event. This would be for local web/html5 content. This is a must for developing apps with webviews.

Comments

  1. Sindre Sorhus 2013-03-01

    bump
  2. Eric Merriman 2018-08-02

    Cleaning up old tickets. If this is still requested, please reopen.

JSON Source