Closed Bug 1641551 Opened 4 years ago Closed 3 years ago

Node/AccessibleFront should check contenttoolbox.fission pref for the remoteFrame getter

Categories

(DevTools :: Inspector, task, P3)

task

Tracking

(Fission Milestone:Future, firefox91 fixed)

RESOLVED FIXED
91 Branch
Fission Milestone Future
Tracking Status
firefox91 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

Details

(Whiteboard: dt-fission-future)

Attachments

(1 file, 1 obsolete file)

Both the accessible and node front provide a remoteFrame getter in order to know if the node/accessible corresponds to a remote frame. This is used to gate some fission-only behavior. However, if we are in a content toolbox and devtools.contenttoolbox.fission is false, we will not really be able to fetch information about the remote frames.

We should probably update the getters to check this preference if we are on a content toolbox.

Not completely convinced about the approach, but maybe it can get the ball rolling

Tracking DevTools Fission bugs for Fission Nightly milestone (M6c).

Fission Milestone: --- → M6c

Adding dt-fission whiteboard tag to DevTools bugs that mention Fission or block Fission meta bugs but don't already have a dt-fission whiteboard tag.

Whiteboard: dt-fission

Moving dt-fission bugs to Fission MVP.

Fission Milestone: M6c → MVP

Bulk change of all bugs with whiteboard tag of dt-fission to Fission MVP milestone.

Moving old "dt-fission" bugs to "dt-fission-future" because they don't block Fission MVP.

Fission Milestone: MVP → Future
Whiteboard: dt-fission → dt-fission-future

As mentioned in our fission chat, I think this should re-prioritized to avoid issues on Beta with the inspector.
There are 3 spots to update:

An easy way to check this would be to also get targetFront.isParentProcess and only check the preference for parent process targets.
That being said, a better fix might be to migrate all the logic relying on remoteFrame getters to commands, where we could check the descriptor rather than a target. But this is not a trivial change.

Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Attachment #9152406 - Attachment is obsolete: true
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1e91e051cc17
[devtools] Only check browsertoolbox preference for parentProcess targets r=ochameau,bomsy
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: