Skip to content
Browse files

[giow] (1) Add beforescriptexecute and afterscriptexecute events to <…

…script>.

Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@6964 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent 9509d1f commit 69f83cf2eacf4543860ccb7abab0ff5bb1e8b594 @Hixie Hixie committed
Showing with 58 additions and 2 deletions.
  1. +19 −1 complete.html
  2. +19 −1 index
  3. +20 −0 source
View
20 complete.html
@@ -240,7 +240,7 @@
<header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
- <h2 class="no-num no-toc">Living Standard &mdash; Last Updated 3 February 2012</h2>
+ <h2 class="no-num no-toc">Living Standard &mdash; Last Updated 4 February 2012</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
@@ -16710,6 +16710,16 @@ <h4 id=the-script-element><span class=secno>4.3.1 </span>The <dfn id=script><cod
<li>
+ <p><a href=#fire-a-simple-event>Fire a simple event</a> named <code title=event-beforescriptexecute>beforescriptexecute</code>
+ that bubbles and is cancelable at the <code><a href=#the-script-element>script</a></code>
+ element.</p>
+
+ <p>If the event is canceled, then abort these steps.</p>
+
+ </li>
+
+ <li>
+
<p>If the script is from an external file, then increment the
<a href=#ignore-destructive-writes-counter>ignore-destructive-writes counter</a> of the
<code><a href=#the-script-element>script</a></code> element's <code><a href=#document>Document</a></code>. Let <var title="">neutralized doc</var> be that
@@ -16740,6 +16750,14 @@ <h4 id=the-script-element><span class=secno>4.3.1 </span>The <dfn id=script><cod
<li>
+ <p><a href=#fire-a-simple-event>Fire a simple event</a> named <code title=event-afterscriptexecute>afterscriptexecute</code>
+ that bubbles (but is not cancelable) at the
+ <code><a href=#the-script-element>script</a></code> element.</p>
+
+ </li>
+
+ <li>
+
<p>If the script is from an external file, <a href=#fire-a-simple-event>fire a simple
event</a> named <code title=event-load>load</code> at the
<code><a href=#the-script-element>script</a></code> element.</p>
View
20 index
@@ -240,7 +240,7 @@
<header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
- <h2 class="no-num no-toc">Living Standard &mdash; Last Updated 3 February 2012</h2>
+ <h2 class="no-num no-toc">Living Standard &mdash; Last Updated 4 February 2012</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
@@ -16710,6 +16710,16 @@ c-end = "--&gt;"</pre>
<li>
+ <p><a href=#fire-a-simple-event>Fire a simple event</a> named <code title=event-beforescriptexecute>beforescriptexecute</code>
+ that bubbles and is cancelable at the <code><a href=#the-script-element>script</a></code>
+ element.</p>
+
+ <p>If the event is canceled, then abort these steps.</p>
+
+ </li>
+
+ <li>
+
<p>If the script is from an external file, then increment the
<a href=#ignore-destructive-writes-counter>ignore-destructive-writes counter</a> of the
<code><a href=#the-script-element>script</a></code> element's <code><a href=#document>Document</a></code>. Let <var title="">neutralized doc</var> be that
@@ -16740,6 +16750,14 @@ c-end = "--&gt;"</pre>
<li>
+ <p><a href=#fire-a-simple-event>Fire a simple event</a> named <code title=event-afterscriptexecute>afterscriptexecute</code>
+ that bubbles (but is not cancelable) at the
+ <code><a href=#the-script-element>script</a></code> element.</p>
+
+ </li>
+
+ <li>
+
<p>If the script is from an external file, <a href=#fire-a-simple-event>fire a simple
event</a> named <code title=event-load>load</code> at the
<code><a href=#the-script-element>script</a></code> element.</p>
View
20 source
@@ -17913,6 +17913,17 @@ c-end = "-->"</pre>
<li>
+ <p><span>Fire a simple event</span> named <code
+ title="event-beforescriptexecute">beforescriptexecute</code>
+ that bubbles and is cancelable at the <code>script</code>
+ element.</p>
+
+ <p>If the event is canceled, then abort these steps.</p>
+
+ </li>
+
+ <li>
+
<p>If the script is from an external file, then increment the
<span>ignore-destructive-writes counter</span> of the
<code>script</code> element's <code>Document</code>. Let <var
@@ -17944,6 +17955,15 @@ c-end = "-->"</pre>
<li>
+ <p><span>Fire a simple event</span> named <code
+ title="event-afterscriptexecute">afterscriptexecute</code>
+ that bubbles (but is not cancelable) at the
+ <code>script</code> element.</p>
+
+ </li>
+
+ <li>
+
<p>If the script is from an external file, <span>fire a simple
event</span> named <code title="event-load">load</code> at the
<code>script</code> element.</p>

0 comments on commit 69f83cf

Please sign in to comment.
Something went wrong with that request. Please try again.