HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
6964[Gecko] [Internet Explorer] [Opera] [Webkit] Add beforescriptexecute and afterscriptexecute events to <script>.2012-02-04 06:39
@@ -17906,20 +17906,31 @@ c-end         = "-->"</pre>
           last set are the script source.</p>
 
          </dd>
 
         </dl>
 
        </li>
 
        <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
         title="">neutralized doc</var> be that
         <code>Document</code>.</p>
 
        </li>
 
        <li>
 
@@ -17937,20 +17948,29 @@ c-end         = "-->"</pre>
        <li>
 
         <p>Decrement the <span>ignore-destructive-writes
         counter</span> of <var title="">neutralized doc</var>, if it
         was incremented in the earlier step.</p>
 
        </li>
 
        <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>
 
         <p>Otherwise, the script is internal; <span>queue a
         task</span> to <span>fire a simple event</span> named <code
         title="event-load">load</code> at the <code>script</code>
         element.</p>
 
        </li>

|