Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

fix: Session storage access throws when disabled #318

Merged
merged 2 commits into from
Nov 17, 2022

Conversation

billyvg
Copy link
Member

@billyvg billyvg commented Nov 17, 2022

sessionStorage access can throw when it (or cookies) are
disabled. Ensure that all API accesses to Session Storage
are doneso safely.

Fixes #316

sessionStorage access can throw when it (or cookies) are
disabled. Ensure that all API accesses to Session Storage
are doneso safely.

Fixes #316
@github-actions
Copy link

github-actions bot commented Nov 17, 2022

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
dist/index.js 34.33 KB (+0.04% 🔺) 687 ms (+0.04% 🔺) 109 ms (+498.32% 🔺) 796 ms

@billyvg billyvg marked this pull request as ready for review November 17, 2022 18:38
@billyvg billyvg requested a review from a team November 17, 2022 18:38
@billyvg billyvg merged commit 76d1df3 into main Nov 17, 2022
@billyvg billyvg deleted the fix/session-storage-when-disabled branch November 17, 2022 19:00
mydea pushed a commit to getsentry/sentry-javascript that referenced this pull request Nov 23, 2022
…play#318)

sessionStorage access can throw when it (or cookies) are
disabled. Ensure that all API accesses to Session Storage
are doneso safely.

Fixes getsentry/sentry-replay#316
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unsafe sessionStorage access
2 participants