Closed Bug 1721823 Opened 3 years ago Closed 3 years ago

browser_aboutdebugging_devtoolstoolbox_navigate_back_forward.js fails with server side targets

Categories

(DevTools :: Framework, defect)

defect

Tracking

(Fission Milestone:MVP, firefox92 fixed)

RESOLVED FIXED
92 Branch
Fission Milestone MVP
Tracking Status
firefox92 --- fixed

People

(Reporter: ochameau, Assigned: ochameau)

References

Details

(Whiteboard: dt-fission-m3-mvp)

Attachments

(1 file)

This fails because this test does many navigations and now we get target switching from the server.

Target switching is an issue because about:debugging doesn't support target switching.
If the first top level target is destroyed, we would close the toolbox.

So, we should either:

  • make about:debugging support top level target switching and remove the few checks that explicitely disallow this.
    I don't think that's complex, there shouldn't be any particular challenge ? It should mostly about removing the various checks enabling this only for local tab and the code to destroy the toolbox on target destroy.

  • Stop using the preference in the server codebase and instead receive this setting from the client, so that server side target switching is only enabled by local tab descriptor. This may help use better control where server side targets are enabled, in case it has any impact on other toolboxes?

The second options looks slightly more simple and may be a good patch to have independently of this limitation in about:debugging.

This helps enabling server targets only for local tabs descriptors
and so prevents enabling them for about:debugging toolboxes.
They are always using remote tabs descriptors and do not support target switching yet.

Fission Milestone: --- → MVP
Whiteboard: dt-fission-m3-triage → dt-fission-m3-mvp
Blocks: 1702715
Pushed by apoirot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0182a908c704
[devtools] Make isServerTargetSwitchingEnabled be a runtime flag from server standpoint. r=jdescottes,devtools-backward-compat-reviewers
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: