[TIMOB-24185] Windows: console log not printing right arguments
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-01-24T00:54:58.000+0000 |
Affected Version/s | Release 6.0.0 |
Fix Version/s | Release 6.1.0 |
Components | Windows |
Labels | console, parity, windows |
Reporter | Shuo Liang |
Assignee | Kota Iguchi |
Created | 2016-12-01T00:35:32.000+0000 |
Updated | 2017-01-25T19:38:24.000+0000 |
Description
Reproduce
1. Create a simple default app. 2. Add following code into it
const LOG_TAG = '\x1b[31m' + '[window]' + '\x1b[39;49m ';
console.log(LOG_TAG, '- init');
3. Run it on Windows device
Expect
The output should be
[window] - init
Actual
The output is
[window]
https://github.com/appcelerator/titanium_mobile_windows/pull/926
Verified fix, using the test code provided in the description and also the test code provided in https://github.com/appcelerator/titanium_mobile_windows/pull/926. Was able to see the following message for the test code provided in the description.
And was able to see the following message in the console from the test case in https://github.com/appcelerator/titanium_mobile_windows/pull/926.
*Environment*