Closed Bug 1836768 Opened 2 years ago Closed 2 years ago

Stop wiping parser worker cache on navigation

Categories

(DevTools :: Debugger, enhancement)

enhancement

Tracking

(firefox116 fixed)

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: ochameau, Assigned: ochameau)

References

Details

Attachments

(1 file)

We are currently fully wiping the internal cache (a Map) used in the parser worker on NAVIGATE action.
This breaks breakpoints on unload and upcoming service worker support.
We should instead only remove the sources of each individual target being unregistered.

Instead clear per removed thread so that state of the previous page
doesn't get cleared as the navigation of the next page starts.
This will also be useful for service worker debugging.

Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f867fd18f31c [devtools] Stop wiping parser worker cache on navigation. r=devtools-reviewers,bomsy
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: