[Webkit-unassigned] [Bug 63257] When blocking localStorage, Firefox throws a security exception on access, and maybe so should we
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 13 13:14:06 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=63257
--- Comment #14 from Michael Nordman <michaeln at google.com> 2012-09-13 13:14:32 PST ---
Instead of handling this in the bindings layer, have you considered doing these checks in the StorageArea impls?
Notice how ::setItem() is done with the ec out param being plumbed down to area. Maybe consistently do the same for all of these methods. A benefit would be not checking 'canAccess' twice in the chromium port on each query. When measuring perf times in the past, the cost of the canAccess call was actually a pretty significant taker of time.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list