Skip to content
Snippets Groups Projects

web: do not clear localStorage on `about:blank` pages

Merged Warren Gifford requested to merge vb/do-not-clear-localstorage into main

Created by: valerybugakov

Context

localStorage clear step is flaky. One of the reasons for that is trying to do it on about:blank pages, where localStorage is unavailable. Other cases will be caught and logged to avoid flakes. We can address them later if we still see errors.

Changes

  • Do not clear localStorage on about:blank pages.
  • Catch errors if there're other causes to address them separately.

Merge request reports

Merged by avatar (Apr 23, 2025 5:05pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading