Closed
Bug 982467
Opened 11 years ago
Closed 1 year ago
Implement CommonJS Console API in XULRunner
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: duanyao.ustc, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0 (Beta/Release)
Build ID: 20140115144847
Steps to reproduce:
Call console.log()/console.error() etc. in a web/xul page's JS code in XULRunner.
Actual results:
Nothing. Messages passed to the console API seem being dropped silently.
Expected results:
Messages passed to the console API show up somewhere(console or jsconsole?).
I doubt that XULRunner doesn't implement CommonJS Console API, because its document only mentions dump() and nsIConsoleService (https://developer.mozilla.org/en-US/docs/Mozilla/Projects/XULRunner/Debugging_XULRunner_applications).
I asked on stackoverflow, and okx suggested nsIConsoleService:
http://stackoverflow.com/questions/22086998/how-to-enable-javascript-console-log-error-warn-in-xulrunner-applications#
Howerver, nsIConsoleService (1) is not API-compatible with CommonJS console and normal browsers' console implementation (2) can't be used in non-priviliged page.
So, I suggest implement a CommonJS console in XULRunner.
Updated•3 years ago
|
Severity: normal → S3
Comment 2•1 year ago
|
||
xulrunner isn't a thing anymore
Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•