Closed Bug 958167 Opened 12 years ago Closed 9 years ago

Inspector actor should use DevToolsUtils.makeInfallible instead of reinventing its own

Categories

(DevTools :: Inspector, defect, P3)

x86
macOS
defect

Tracking

(firefox49 fixed)

RESOLVED FIXED
Firefox 49
Tracking Status
firefox49 --- fixed

People

(Reporter: fitzgen, Assigned: nchevobbe)

Details

Attachments

(1 file)

(In reply to Nick Fitzgerald [:fitzgen] [⏰PDT; UTC-7] from comment #0) > It is reinvented here: > > http://mxr.mozilla.org/mozilla-central/source/toolkit/devtools/server/actors/ > inspector.js#95 > > But should just use this one: > > http://mxr.mozilla.org/mozilla-central/source/toolkit/devtools/DevToolsUtils. > js#70 Provided links don't work anymore. Here is the reinvented function : https://dxr.mozilla.org/mozilla-central/source/devtools/server/actors/inspector.js#143 And the one we should use : https://dxr.mozilla.org/mozilla-central/source/devtools/shared/ThreadSafeDevToolsUtils.js#98
Priority: -- → P3
Assignee: nobody → chevobbe.nicolas
Status: NEW → ASSIGNED
https://reviewboard.mozilla.org/r/51285/#review48123 Ship it! ::: devtools/server/actors/inspector.js (Diff revision 1) > }); > > loader.lazyGetter(this, "CssLogic", () => require("devtools/shared/inspector/css-logic").CssLogic); > > -// XXX: A poor man's makeInfallible until we move it out of transport.js > -// Which should be very soon. LOL this is an out of date comment if I've ever seen one
Attachment #8750056 - Flags: review?(nfitzgerald) → review+
Comment on attachment 8750056 [details] MozReview Request: Bug 958167 - Use Inspector DevToolsUtils.makeInfallible in inspector actor instead of its own version. r=fitzgen https://reviewboard.mozilla.org/r/51287/#review48125
(In reply to Nick Fitzgerald [:fitzgen] [⏰PDT; UTC-7] from comment #3) > https://reviewboard.mozilla.org/r/51285/#review48123 > > Ship it! > > ::: devtools/server/actors/inspector.js > (Diff revision 1) > > }); > > > > loader.lazyGetter(this, "CssLogic", () => require("devtools/shared/inspector/css-logic").CssLogic); > > > > -// XXX: A poor man's makeInfallible until we move it out of transport.js > > -// Which should be very soon. > > LOL this is an out of date comment if I've ever seen one Came across this while triaging, and it kind of bother me as I was working on inspector.js ;) checkin-needed added as TRY is green: https://treeherder.mozilla.org/#/jobs?repo=try&revision=151fcef85356 (except one known intermittent)
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 49
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: