Closed
Bug 942154
Opened 11 years ago
Closed 2 years ago
[Session Restore] Use normal console logging instead of debug()
Categories
(Firefox :: Session Restore, defect)
Firefox
Session Restore
Tracking
()
RESOLVED
FIXED
114 Branch
Tracking | Status | |
---|---|---|
firefox114 | --- | fixed |
People
(Reporter: Yoric, Assigned: victoria.o.ajala, Mentored)
Details
(Whiteboard: [lang=js])
Attachments
(1 file)
That's more powerful and more useful for debugging, plus it's used in large parts of m-c, so let's reuse it.
Updated•2 years ago
|
Severity: normal → S3
Comment 1•2 years ago
|
||
There's two definitions of debug
in session restore, they both directly log to the console.
Looking at the three cases where they are called, I think we could replace the two calls in ContentSessionStore.sys.mjs
with console.error
as they are more like error messages, and the SessionHistory.sys.mjs
case could probably be console.warn
.
Mentor: standard8
Summary: [Session Restore] Use Console.jsm instead/inside of debug() → [Session Restore] Use normal console logging instead of debug()
Whiteboard: [lang=js]
Assignee | ||
Comment 2•2 years ago
|
||
Hi @standard8! Can I work on this ?
Assignee | ||
Comment 3•2 years ago
|
||
Updated•2 years ago
|
Assignee: nobody → victoria.o.ajala
Status: NEW → ASSIGNED
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/07112703f3aa
Use normal console logging instead of debug(). r=Standard8
Comment 5•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox114:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•