Closed Bug 1774601 Opened 2 years ago Closed 2 years ago

Stop removing query parameters in SourceTree and Tab headers

Categories

(DevTools :: Debugger, enhancement)

enhancement

Tracking

(firefox103 fixed)

RESOLVED FIXED
103 Branch
Tracking Status
firefox103 --- fixed

People

(Reporter: ochameau, Assigned: ochameau)

References

(Blocks 2 open bugs)

Details

Attachments

(3 files)

bug 1774349 and bug 1774346 highlight the existing issues and complexity of the current implementation which tries to remove the query parameters from the source tree and tab headers.
This is a known source of performance issue, the behavior is not consistant between the two UI bits and it adds a fair amount of complexity just for this one feature.

Here is a test page highlighting all the various behaviors:
http://techno-barje.fr/fission/query-params/
Opening sources from the source tree, you can see differences appear between source tree and tab headers.

The plan here would be to remove all logic removing query parameters, while we would keep removing hash string. While doing so, we should ensure that the source filename is still readable if long query strings are used.

Blocks: 1774364
Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED
Attachment #9281636 - Attachment description: Bug 1774601 - [devtools] Remove plain url computation and move leftover to jest test helpers. → Bug 1774601 - [devtools] Remove plain url computation.
Blocks: 1775200
Pushed by apoirot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2e547daa8555
[devtools] Stop hiding query parameters in the SourceTree. r=bomsy
https://hg.mozilla.org/integration/autoland/rev/4d0fd79de60e
[devtools] Stop hiding query parameters in Tab components. r=bomsy
https://hg.mozilla.org/integration/autoland/rev/b142d6884a32
[devtools] Remove plain url computation. r=bomsy
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: