[webkit-reviews] review granted: [Bug 226215] SecurityPolicyViolationEvent.constructor do not throw any exception as expected when eventInitDict param do not include all the members required : [Attachment 429666] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 25 11:40:32 PDT 2021


Darin Adler <darin at apple.com> has granted Chris Dumez <cdumez at apple.com>'s
request for review:
Bug 226215: SecurityPolicyViolationEvent.constructor do not throw any exception
as expected when eventInitDict param do not include all the members required
https://bugs.webkit.org/show_bug.cgi?id=226215

Attachment 429666: Patch

https://bugs.webkit.org/attachment.cgi?id=429666&action=review




--- Comment #8 from Darin Adler <darin at apple.com> ---
Comment on attachment 429666
  --> https://bugs.webkit.org/attachment.cgi?id=429666
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=429666&action=review

> Source/WebCore/dom/SecurityPolicyViolationEvent.h:38
> +	   Init() { }

Why is this needed? I would not expect it to have any effect.


More information about the webkit-reviews mailing list