Re: [whatwg/webidl] Dictionary with required members as optional argument (Issue #1378)

Currently all browsers allow omitting the second `eventInitDict` parameter as tested by https://wpt.fyi/results/content-security-policy/securitypolicyviolation/idlharness.window.html.

In Gecko because we didn't make any of the properties `required` before and Chrome seemingly has a second constructor with just one argument.
In light of that, it's not obvious if the current spec would be web compatible.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/issues/1378#issuecomment-1853573215
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/webidl/issues/1378/1853573215@github.com>

Received on Wednesday, 13 December 2023 09:39:04 UTC