Skip to content

Commit

Permalink
Define securitypolicyviolation event (#568)
Browse files Browse the repository at this point in the history
SHA: 886ac5d
Reason: push, by @antosart

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
tidoust and github-actions[bot] committed Oct 4, 2022
1 parent f31ee4d commit 0f043ea
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link href="https://www.w3.org/2008/site/images/favicon.ico" rel="icon">
<meta content="Bikeshed version 44af0bf3e, updated Fri Jul 29 17:05:16 2022 -0700" name="generator">
<link href="https://www.w3.org/TR/CSP3/" rel="canonical">
<meta content="3e1a960e24d86f740c793940a1931a76c6a182ff" name="document-revision">
<meta content="886ac5dfafd9f539f76871c3f156b8742b4c6423" name="document-revision">
<style>
ul.toc ul ul ul {
margin: 0 0 0 2em;
Expand Down Expand Up @@ -1912,7 +1912,7 @@ <h3 class="heading settled algorithm" data-algorithm="Report a violation" data-l
<p>If <var>target</var> is a <code class="idl"><a data-link-type="idl" href="https://html.spec.whatwg.org/multipage/window-object.html#window" id="ref-for-window③">Window</a></code>, set <var>target</var> to <var>target</var>’s <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/window-object.html#concept-document-window" id="ref-for-concept-document-window①">associated <code>Document</code></a>.</p>
</ol>
<li data-md>
<p>If <var>target</var> <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#implements" id="ref-for-implements">implements</a> <code class="idl"><a data-link-type="idl" href="https://dom.spec.whatwg.org/#eventtarget" id="ref-for-eventtarget">EventTarget</a></code>, <a data-link-type="dfn" href="https://dom.spec.whatwg.org/#concept-event-fire" id="ref-for-concept-event-fire">fire an event</a> named <a class="idl-code" data-link-type="event" href="https://html.spec.whatwg.org/multipage/indices.html#event-securitypolicyviolation" id="ref-for-event-securitypolicyviolation">securitypolicyviolation</a> that uses the <code class="idl"><a data-link-type="idl" href="#securitypolicyviolationevent" id="ref-for-securitypolicyviolationevent②">SecurityPolicyViolationEvent</a></code> interface at <var>target</var> with its attributes initialized as follows:</p>
<p>If <var>target</var> <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#implements" id="ref-for-implements">implements</a> <code class="idl"><a data-link-type="idl" href="https://dom.spec.whatwg.org/#eventtarget" id="ref-for-eventtarget">EventTarget</a></code>, <a data-link-type="dfn" href="https://dom.spec.whatwg.org/#concept-event-fire" id="ref-for-concept-event-fire">fire an event</a> named <dfn class="idl-code" data-dfn-for="GlobalEventHandlers,WorkerGlobalScope" data-dfn-type="event" data-export id="eventdef-globaleventhandlers-securitypolicyviolation"><code>securitypolicyviolation</code><a class="self-link" href="#eventdef-globaleventhandlers-securitypolicyviolation"></a></dfn> that uses the <code class="idl"><a data-link-type="idl" href="#securitypolicyviolationevent" id="ref-for-securitypolicyviolationevent②">SecurityPolicyViolationEvent</a></code> interface at <var>target</var> with its attributes initialized as follows:</p>
<dl>
<dt data-md><code class="idl"><a data-link-type="idl" href="#dom-securitypolicyviolationevent-documenturi" id="ref-for-dom-securitypolicyviolationevent-documenturi">documentURI</a></code>
<dd data-md>
Expand Down Expand Up @@ -4793,6 +4793,7 @@ <h3 class="no-num no-ref heading settled" id="index-defined-here"><span class="c
<li><a href="#script-src">script-src</a><span>, in § 6.1.11</span>
<li><a href="#script-src-attr">script-src-attr</a><span>, in § 6.1.13</span>
<li><a href="#script-src-elem">script-src-elem</a><span>, in § 6.1.12</span>
<li><a href="#eventdef-globaleventhandlers-securitypolicyviolation">securitypolicyviolation</a><span>, in § 5.5</span>
<li><a href="#securitypolicyviolationevent">SecurityPolicyViolationEvent</a><span>, in § 5.1</span>
<li><a href="#enumdef-securitypolicyviolationeventdisposition">SecurityPolicyViolationEventDisposition</a><span>, in § 5.1</span>
<li><a href="#dictdef-securitypolicyviolationeventinit">SecurityPolicyViolationEventInit</a><span>, in § 5.1</span>
Expand Down Expand Up @@ -5935,13 +5936,6 @@ <h3 class="no-num no-ref heading settled" id="index-defined-here"><span class="c
Allowing external JavaScript via hashes </a> <a href="#ref-for-script①⑦">(2)</a> <a href="#ref-for-script①⑧">(3)</a> <a href="#ref-for-script①⑨">(4)</a> <a href="#ref-for-script②⓪">(5)</a>
</ul>
</aside>
<aside class="dfn-panel" data-for="term-for-event-securitypolicyviolation">
<a href="https://html.spec.whatwg.org/multipage/indices.html#event-securitypolicyviolation">https://html.spec.whatwg.org/multipage/indices.html#event-securitypolicyviolation</a><b>Referenced in:</b>
<ul>
<li><a href="#ref-for-event-securitypolicyviolation">5.5.
Report a violation </a>
</ul>
</aside>
<aside class="dfn-panel" data-for="term-for-set-the-frozen-base-url">
<a href="https://html.spec.whatwg.org/multipage/semantics.html#set-the-frozen-base-url">https://html.spec.whatwg.org/multipage/semantics.html#set-the-frozen-base-url</a><b>Referenced in:</b>
<ul>
Expand Down Expand Up @@ -6790,7 +6784,6 @@ <h3 class="no-num no-ref heading settled" id="index-defined-elsewhere"><span cla
<li><span class="dfn-paneled" id="term-for-sandboxing-flag-set">sandboxing flag set</span>
<li><span class="dfn-paneled" id="term-for-concept-origin-scheme">scheme</span>
<li><span class="dfn-paneled" id="term-for-script">script</span>
<li><span class="dfn-paneled" id="term-for-event-securitypolicyviolation">securitypolicyviolation</span>
<li><span class="dfn-paneled" id="term-for-set-the-frozen-base-url">set the frozen base url</span>
<li><span class="dfn-paneled" id="term-for-dom-setinterval">setInterval(handler, timeout, ...arguments)</span>
<li><span class="dfn-paneled" id="term-for-dom-settimeout">setTimeout(handler, timeout, ...arguments)</span>
Expand Down

0 comments on commit 0f043ea

Please sign in to comment.