[Webkit-unassigned] [Bug 226215] SecurityPolicyViolationEvent.constructor do not throw any exception as expected when eventInitDict param do not include all the members required

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 25 08:21:06 PDT 2021


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

--- Comment #3 from Chris Dumez <cdumez at apple.com> ---
(In reply to Chris Dumez from comment #2)
> (In reply to Sam Sneddon [:gsnedders] from comment #1)
> > This is likely a more general bindings bug.
> > 
> > https://heycam.github.io/webidl/#es-dictionary is the relevant spec here.
> 
> Not a bindings bug. Our IDL simply doesn't match the spec here. Dictionary
> members are not marked as required when they should be.

I am taking a quick stab at it to see if I can align with Blink at least. Aligning exactly with the spec would carry compatibility risks as it does not match our current behavior or Blink's.

-- 
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/20210525/cdb25e90/attachment.htm>


More information about the webkit-unassigned mailing list