[Webkit-unassigned] [Bug 233071] Allowlisting empty elements via content hashes in CSP directives is inconsistent across browser engines
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 15 03:58:30 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=233071
Sam Sneddon [:gsnedders] <gsnedders at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gsnedders at apple.com
--- Comment #2 from Sam Sneddon [:gsnedders] <gsnedders at apple.com> ---
>From Kate:
> After a brief look at the spec, the empty string hash case doesn't seem to be explicitly talked about, but I don't see a reason here why we shouldn't match behavior of other major browsers.
That implies per spec that the empty string is just another string, no? If it isn't special-cased, then it's just another length of string, hence this is both "match the spec and match other browsers".
(Also a WPT test for this would be nice, if there isn't already one!)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211115/46436245/attachment.htm>
More information about the webkit-unassigned
mailing list