Closed Bug 1660485 Opened 4 years ago Closed 4 years ago

Write a test to verify the fix in bug 1593246 works

Categories

(Core :: Storage: localStorage & sessionStorage, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
82 Branch
Fission Milestone M6b
Tracking Status
firefox82 --- fixed

People

(Reporter: tt, Assigned: tt)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1654080 +++

This one is to write a test to verify the case like:

  • Open a tab to a URL says foo.com
  • Write some SessionStorage
  • Navigate it to some other cross-origin site says bar.com
  • Navigate it back to the original URL (foo.com)

This one should be done in M6b

Fission Milestone: --- → M6b
Depends on: 1593246
Summary: Move SessionStorage to parent process → Write a test to verify the fix in bug 1593246 works

I am still working on the test. However, after thinking deeply, maybe this scenario doesn't work at the moment because the SessionStorage is sync into the parent process per top-level browsing context.

Nevertheless, it should easily be fixed by storing per tab id. We will see after I finish the test.

It seems that the current implementation works fine with fission, at least it works on my machine.

try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=97bb5fb7b936d8ac05106eb7ee6bb454aef8cb02

Pushed by ttung@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cf5ec4cdaba0 Add a test to veirfy the SessionStorage for a tab is preserved during navigation; r=nika
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: