Closed Bug 1687461 Opened 5 years ago Closed 3 years ago

Enable SOURCE Watcher on the server for all target types

Categories

(DevTools :: Debugger, enhancement, P3)

enhancement

Tracking

(Fission Milestone:Future, firefox106 fixed)

RESOLVED FIXED
106 Branch
Fission Milestone Future
Tracking Status
firefox106 --- fixed

People

(Reporter: ochameau, Assigned: ochameau)

References

(Blocks 1 open bug)

Details

(Whiteboard: dt-fission-future)

Attachments

(1 file)

Today, the SOURCE resource is only implement for tab toolboxes on the server side.
This is being controled by the following trait:
https://searchfox.org/mozilla-central/rev/c54c71ecbd9e64cafc0df3b596e206ac4072cb91/devtools/server/actors/watcher.js#154

We should enable this trait unconditionaly and fix any edge case related to worker and process targets.

Some comments from Julian who tried to enable this traits for the browser toolbox:

  • defining a dummy attach for content-process-target actors
  • bailing out if targetActor.getFront("thread") doesn't return anything (looks like I have worker targets with no thread attached? haven't investigated)
Severity: -- → S3
Priority: -- → P3
Whiteboard: dt-fission-future
Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED

There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:ochameau, could you have a look please?
For more information, please visit auto_nag documentation.

Flags: needinfo?(poirot.alex)
Flags: needinfo?(nchevobbe)

Alex, did you wanted to wait for something before landing your patch for this?

Flags: needinfo?(nchevobbe)

Yes, time to test this some more before landing.
Given the issues leveraged by the console message enabling, this patch may suffer from the same issues.

But this isn't a priority compared to M7/bfcache/server side target switching.

dt-fission-future bugs don't need to block Fission MVP, so I'm moving them to Fission Future.

Fission Milestone: --- → Future
Flags: needinfo?(poirot.alex)
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9e49f83ddfaf [devtools] Enable SOURCE resource on all targets r=nchevobbe,devtools-backward-compat-reviewers,bomsy
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: