Skip to content

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

Administrator 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

Loading