Commit eda1de83 authored by Mike West's avatar Mike West Committed by Commit Bot

Ship `Document.onsecuritypolicyviolation`

We should have shipped this along with the violation events. It was
an oversight to leave the flag in the IDL file. Oops!

We shipped the event before we had Intents to Anything:
https://groups.google.com/a/chromium.org/d/msg/blink-dev/VYhixsNgEHM/SilKZTYOAwAJ
is the closest thing I can find, which exposed the event in Workers
~2.5 years ago.

Bug: 956690
Change-Id: I83adf4898f34ef1b7016ece7f032ab741c11dd09
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1588381Reviewed-by: default avatarAndy Paicu <andypaicu@chromium.org>
Commit-Queue: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#656371}
parent c51e70ef
...@@ -204,7 +204,7 @@ typedef (HTMLScriptElement or SVGScriptElement) HTMLOrSVGScriptElement; ...@@ -204,7 +204,7 @@ typedef (HTMLScriptElement or SVGScriptElement) HTMLOrSVGScriptElement;
attribute EventHandler onfreeze; attribute EventHandler onfreeze;
attribute EventHandler onresume; attribute EventHandler onresume;
attribute EventHandler onsearch; attribute EventHandler onsearch;
[RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHandler onsecuritypolicyviolation; attribute EventHandler onsecuritypolicyviolation;
attribute EventHandler onvisibilitychange; attribute EventHandler onvisibilitychange;
}; };
......
...@@ -1335,6 +1335,7 @@ interface Document : Node ...@@ -1335,6 +1335,7 @@ interface Document : Node
getter onresume getter onresume
getter onscroll getter onscroll
getter onsearch getter onsearch
getter onsecuritypolicyviolation
getter onseeked getter onseeked
getter onseeking getter onseeking
getter onselect getter onselect
...@@ -1516,6 +1517,7 @@ interface Document : Node ...@@ -1516,6 +1517,7 @@ interface Document : Node
setter onresume setter onresume
setter onscroll setter onscroll
setter onsearch setter onsearch
setter onsecuritypolicyviolation
setter onseeked setter onseeked
setter onseeking setter onseeking
setter onselect setter onselect
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment