Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11612] MobileWeb: console: js logging functions with no arg do not log to console at all

GitHub Issuen/a
TypeSub-task
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2017-06-29T18:48:07.000+0000
Affected Version/sRelease 2.1.3, Release 3.0.0
Fix Version/sn/a
ComponentsMobileWeb
Labelsparity, qe-mw100112
ReporterDustin Hyde
AssigneeChris Barber
Created2012-10-30T22:54:02.000+0000
Updated2018-04-04T23:20:20.000+0000

Description

console functions with no args do not log to console at all. This does not occur with Ti.API calls, and does not occur on iOS or Android. This is a parity issue. If there is no arg, there should be a null string printed to console (with js line info for mobile web implementation). Steps to Reproduce: 1. Run code:
/* console */

console.log();
console.debug();
console.info();
console.warn();
console.error();

/* Ti.API */

Ti.API.trace();
Ti.API.debug();
Ti.API.info();
Ti.API.warn();
Ti.API.error();
Ti.API.log();
Actual Result:
[TRACE]  index.html:11221
[DEBUG]  index.html:11221
[INFO]  index.html:11221
[WARN]  index.html:11221
[ERROR]  index.html:11221
[LOG]  index.html:11221
Note: Only the Ti.API calls are printed. Expected Result: All calls should be printed (including js console object).

Comments

  1. Lee Morris 2017-06-29

    Resolving as "Won't Fix" as MobileWeb has been deprecated.
  2. Eric Merriman 2018-04-04

    Closing as will not fix.

JSON Source