2 ms·
> I think the real issue here is that Google chose to throw errors instead of turning those APIs into no-ops. This behavior pre-dates Chrome. I get "Uncaught
by jefftk 4y ago
> I think the real issue here is that Google chose to throw errors instead of turning those APIs into no-ops.
This behavior pre-dates Chrome. I get "Uncaught DOMException: The operation is insecure" in Firefox today, and if I'm reading the patch correctly [1] this dates to when it gained localStorage support in 2006. Quickly looking I can't find when this was added to WebKit, though.
[1] "return NS_ERROR_DOM_SECURITY_ERR;" https://bugzilla.mozilla.org/attachment.cgi?id=234539&action=diff https://bugzilla.mozilla.org/attachment.cgi?id=234539&action... from https://bugzilla.mozilla.org/show_bug.cgi?id=341524 https://bugzilla.mozilla.org/show_bug.cgi?id=341524