You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added onsecuritypolicyviolation to the global handlers in #12289.
However I "think" that onsecuritypolicyviolation is also needed in BCD on Window and Document too. Can you please confirm? Reasoning below.
The Window and Document handlers were in the spec before being added to the global handlers.
Testing shows that onsecuritypolicyviolation is present on Chrome in Window and Document (but not in elements). i.e. it implements these
Notes indicate it is present Document in Safari but not Window
For completeness, FF92 did not implement these.
If these do need a BCD entry, what versions could be used? Just set to true, false appropriately? We can kind of guess at these from SecurityPolicyViolationEvent but it would be a guess - because we know this guess does not work for Firefox.
The text was updated successfully, but these errors were encountered:
@Elchi3 Well, there is no way I can reflect the right versions that onsecuritypolicyviolation are available on Window and Document using GlobalEventHandlers. So from correctness of the data it certainly makes sense to split them out.
However I will leave this alone until a decision is made.
I added
onsecuritypolicyviolation
to the global handlers in #12289.However I "think" that
onsecuritypolicyviolation
is also needed in BCD onWindow
andDocument
too. Can you please confirm? Reasoning below.The
Window
andDocument
handlers were in the spec before being added to the global handlers.onsecuritypolicyviolation
is present on Chrome inWindow
andDocument
(but not in elements). i.e. it implements theseDocument
in Safari but notWindow
If these do need a BCD entry, what versions could be used? Just set to true, false appropriately? We can kind of guess at these from SecurityPolicyViolationEvent but it would be a guess - because we know this guess does not work for Firefox.
The text was updated successfully, but these errors were encountered: