You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Guard localStorage access against SecurityError in restricted browsers (#8615)
Browsers with strict privacy settings (Safari private browsing, restricted
iframes, cookie-blocked contexts) throw a SecurityError when accessing
window.localStorage. This adds a safeLocalStorage() helper that returns
null when access is denied, wraps the four unprotected call sites, and
adds a Sentry beforeSend filter to suppress the non-actionable error.
Closes#8595
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments