Closed Bug 1717625 Opened 4 years ago Closed 4 years ago

Hosts are not displayed in storage inspector with disabled server side target switching + bfCacheInParent enabled

Categories

(DevTools :: Storage Inspector, defect)

defect

Tracking

(Fission Milestone:MVP, firefox92 fixed)

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

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

Details

(Whiteboard: dt-fission-m3-mvp)

Attachments

(1 file)

In Bug 1713072, I had to disable fission.bfcacheInParent as it was making a test fail: we are navigating backward and waiting for the host we're navigating to to be displayed in the storage inspector tree, but it does not.

Whiteboard: dt-fission-m3-triage → dt-fission-m3-mvp
Fission Milestone: --- → MVP
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Summary: hosts are not displayed in storage inspector with server side target switching + bfCacheInParent enabled → Hosts are not displayed in storage inspector with disabled server side target switching + bfCacheInParent enabled

In this patch, we pass a property alongside the DevToolsFrameChild:bf-cache-navigation-pageshow
message that indicates if a new target is being created as a result of this
bfcache navigation.
This flag is then used in the ParentProcessStorage to spawn a new StorageActorMock
when a new target is being created.

As a result we can stop disabling the bfCacheInParent pref in browser_storage_cookies_navigation.js,
where a bfcache navigation is performed.

Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d0fbda14ef14 [devtools] Fix storage inspector tree when bfCacheInParent is enabled and server side target switching is disabled. r=ochameau.
Status: ASSIGNED → RESOLVED
Closed: 4 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: