Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDon't throw when accessing local,sessionStorage in 3p frame #9758
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, Chromium throws an exception when JS just touches
window.{local,session}Storage, which prevents sites from doing typical feature detection style checks. We should just act as if these values aren't present (e.g.window.localStorage === undefined|null) so that defensive / well programmed sites still work correctly