[Webkit-unassigned] [Bug 230136] Implement 'gamepad' Permissions Policy

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 17 16:29:33 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=230136

--- Comment #8 from Marcos Caceres <marcos at marcosc.com> ---
> Typo: "Gamepad".

Programming for 20+ years... never gets better ��

> Not new, but why all the startsWith in this function? Is it valid to write "gamepadnotreallyimeantsomethingelse"?

Yeah, the Permissions Policy parser there is fairly simple... it just does a split on ";", trims, and then checks the "startWith". I agree that it should probably be a little bit more robust. I think the updated Permission Policy spec has further parsing requirements, so eventually the parser might need to be rewritten.

-- 
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/20211118/d4f0b9ea/attachment-0001.htm>


More information about the webkit-unassigned mailing list