Repository navigation
Report partial CDP storage restores and preserve snapshots - #2547
Open
Ethereal49 wants to merge 1 commit into
Open
Ethereal49 wants to merge 1 commit into
Ethereal49 wants to merge 1 commit into
Conversation
Contributor
|
@Ethereal49 is attempting to deploy a commit to the Vercel Labs Team on Vercel. A member of the Team first needs to authorize it. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
With Lightpanda 1.0.3 attached over CDP,
--restoresaves both a cookie and localStorage on the first close. Reopening the session restores the cookie, but Lightpanda does not implementDOMStorage.setDOMStorageItem. The CLI reportsloadedwithout a reason, and the next close overwrites the snapshot withorigins: [].Changes
loaded_partialwhen storage is skipped. With the default--restore-save autopolicy, keep the original snapshot after a partial restore.Verification
NOT_RUN: The exact Debian 13 Crostini environment and the full Rust suite.
Fixes #2543.
Implemented with Codex (AI-assisted).