web: do not clear localStorage on `about:blank` pages
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
onabout:blank
pages. - Catch errors if there're other causes to address them separately.