mirror of
https://github.com/servo/servo.git
synced 2025-08-19 12:25:33 +01:00
storage: Isolate sessionStorage per top-level browsing context and copy sessionStorage when creating a new auxiliary browsing context (#37803)
This pull request introduces changes to the storage subsystem to: - Isolate sessionStorage per top-level browsing context (WebViewId), in addition to origin. - Copy sessionStorage when creating a new auxiliary browsing context without noopener, as required by the corresponding spec These changes bring Servo closer to spec compliance, matching expected browser behavior. Testing: This work affects observable behavior. As a result, some previously failing WPT tests now pass. No new tests are added, since the behavior is already covered by existing web-platform-tests. Fixes: #21291 --------- Signed-off-by: Jan Varga <jan.varga@gmail.com>
This commit is contained in:
parent
aaf04883dd
commit
934b3341d7
6 changed files with 234 additions and 122 deletions
|
@ -1,3 +0,0 @@
|
|||
[storage_session_window_noopener.window.html]
|
||||
[A new noopener window to make sure there is a not copy of the previous window's sessionStorage]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[storage_session_window_open.window.html]
|
||||
[A new window to make sure there is a copy of the previous window's sessionStorage, and that they diverge after a change]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue