Closed
Bug 1881214
Opened 1 year ago
Closed 1 year ago
Remove unused functions in StyleEditorUtil.sys.mjs
Categories
(DevTools :: Style Editor, task)
DevTools
Style Editor
Tracking
(firefox125 fixed)
RESOLVED
FIXED
125 Branch
Tracking | Status | |
---|---|---|
firefox125 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
Details
Attachments
(1 file)
I was looking at console
usage and spotted this line in StyleEditorUtil.sys.mjs
console.logStringMessage(Array.prototype.slice.call(arguments).join(" "));
That looked wrong because console
doesn't have logStringMessage
function available, however Services.console
does have it.
Looking at where the file gets imported, I noticed that the log
and assert
functions are not used, which is why this doesn't currently cause any errors. We can therefore remove those.
Assignee | ||
Comment 1•1 year ago
|
||
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b40144fc5c19
Remove unused functions from StyleEditorUtil.sys.mjs. r=devtools-reviewers,nchevobbe
Comment 3•1 year ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 1 year ago
status-firefox125:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•