Closed
Bug 1473628
Opened 7 years ago
Closed 7 years ago
Remove unused support of actors as function in ActorPool
Categories
(DevTools :: Framework, enhancement)
DevTools
Framework
Tracking
(firefox63 fixed)
RESOLVED
FIXED
Firefox 63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
The following code should no longer be used:
https://searchfox.org/mozilla-central/rev/6ef785903fee6c0b16a1eab79d722373d940fd78/devtools/server/actors/common.js#220-222
We used to support registering function in pools that had to be called the first time the actor was used. I think it was dropped the day we introduced ObservedActorFactory.
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → poirot.alex
Assignee | ||
Comment 2•7 years ago
|
||
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8990041 [details]
Bug 1473628 - Stop supporting actors as functions.
https://reviewboard.mozilla.org/r/255070/#review262310
Well, it seems reasonable, but it's also hard for me to be sure this is correct without combing each call site...
Could we use this opportunity to throw an error if `prefix` ends up `null` (after checking both `actorPrefix` and `typeName`)? This way it would be easier to verify that it's correct.
Attachment #8990041 -
Flags: review?(jryans) → review+
Comment hidden (mozreview-request) |
Pushed by apoirot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c7bd2557255a
Stop supporting actors as functions. r=jryans
Comment 6•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
Assignee | ||
Updated•7 years ago
|
Blocks: dbg-server
Assignee | ||
Updated•7 years ago
|
Blocks: dt-polish-debt
You need to log in
before you can comment on or make changes to this bug.
Description
•