[html5] r8711 - [giow] (2) Add initMessageEvent() Fixing https://www.w3.org/Bugs/Public/show_bug [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Aug 5 15:33:41 PDT 2014


Author: ianh
Date: 2014-08-05 15:33:37 -0700 (Tue, 05 Aug 2014)
New Revision: 8711

Modified:
   complete.html
   index
   source
Log:
[giow] (2) Add initMessageEvent()
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=25907
Affected topics: DOM APIs

Modified: complete.html
===================================================================
--- complete.html	2014-08-05 19:57:48 UTC (rev 8710)
+++ complete.html	2014-08-05 22:33:37 UTC (rev 8711)
@@ -2342,7 +2342,7 @@
 
     <p>In particular, the following features are defined in the DOM specification: <a href=#refsDOM>[DOM]</a></p> 
 
-    <ul class=brief><li><dfn id=attr><code>Attr</code></dfn> interface<li><dfn id=comment-2><code>Comment</code></dfn> interface<li><dfn id=domimplementation><code>DOMImplementation</code></dfn> interface<li><dfn id=dom-document><code>Document</code></dfn> interface<li><dfn id=xmldocument><code>XMLDocument</code></dfn> interface<li><dfn id=documentfragment><code>DocumentFragment</code></dfn> interface<li><dfn id=documenttype><code>DocumentType</code></dfn> interface<li><dfn id=domexception><code>DOMException</code></dfn> interface<li><dfn id=childnode><code>ChildNode</code></dfn> interface<li><dfn id=element><code>Element</code></dfn> interface<li><dfn id=node><code>Node</code></dfn> interface<li><dfn id=nodelist><code>NodeList</code></dfn> interface<li><dfn id=processinginstruction><code>ProcessingInstruction</code></dfn> interface<li><dfn id=text><code>Text</code></dfn> interface<li><dfn id=htmlcollection><code>HTMLCollection</code></dfn> interface<li><dfn id=dom-htmlcolle
 ction-length><code>HTMLCollection.length</code></dfn> attribute<li><dfn id=dom-htmlcollection-item><code>HTMLCollection.item()</code></dfn> method<li><dfn id=dom-htmlcollection-nameditem><code>HTMLCollection.namedItem()</code></dfn> method<li>The terms <dfn id=collections>collections</dfn> and <dfn id=represented-by-the-collection>represented by the collection</dfn><li><dfn id=domtokenlist><code>DOMTokenList</code></dfn> interface<li><dfn id=domsettabletokenlist><code>DOMSettableTokenList</code></dfn> interface<li><dfn id=dom-domsettabletokenlist-value><code>DOMSettableTokenList.value</code></dfn> attribute<li><dfn id=dom-domimplementation-createdocument><code>createDocument()</code></dfn> method<li><dfn id=dom-domimplementation-createhtmldocument><code>createHTMLDocument()</code></dfn> method<li><dfn id=dom-document-createelement><code>createElement()</code></dfn> method<li><dfn id=dom-document-createelementns><code>createElementNS()</code></dfn> method<li><dfn id=dom-docum
 ent-getelementbyid><code>getElementById()</code></dfn> method<li><dfn id=dom-document-getelementsbyclassname><code>getElementsByClassName()</code></dfn> method<li><dfn id=dom-node-insertbefore><code>insertBefore()</code></dfn> method<li><dfn id=dom-node-ownerdocument><code>ownerDocument</code></dfn> attribute<li><dfn id=dom-node-childnodes><code>childNodes</code></dfn> attribute<li><dfn id=dom-node-localname><code>localName</code></dfn> attribute<li><dfn id=dom-node-parentnode><code>parentNode</code></dfn> attribute<li><dfn id=dom-node-namespaceuri><code>namespaceURI</code></dfn> attribute<li><dfn id=dom-element-tagname><code>tagName</code></dfn> attribute<li><dfn id=dom-element-id><code>id</code></dfn> attribute<li><dfn id=textcontent><code>textContent</code></dfn> attribute<li>The <dfn id=concept-node-insert>insert</dfn>, <dfn id=concept-node-append>append</dfn>, <dfn id=concept-node-remove>remove</dfn>, <dfn id=concept-node-replace>replace</dfn>, and <dfn id=concept-node-
 adopt>adopt</dfn> algorithms for nodes<li>The <dfn id=nodes-are-inserted>nodes are inserted</dfn> and <dfn id=nodes-are-removed>nodes are removed</dfn> concepts<li>An element's <dfn id=concept-node-adopt-ext>adopting steps</dfn><li>The <dfn id=attribute-list>attribute list</dfn> concept.<li>The <dfn id=concept-cd-data>data</dfn> of a text node.<li><dfn id=event><code>Event</code></dfn> interface<li><dfn id=eventtarget><code>EventTarget</code></dfn> interface<li><dfn id=eventinit><code>EventInit</code></dfn> dictionary type<li><dfn id=dom-event-target><code>target</code></dfn> attribute<li><dfn id=dom-event-currenttarget><code>currentTarget</code></dfn> attribute<li><dfn id=dom-event-istrusted><code>isTrusted</code></dfn> attribute<li><dfn id=dom-eventtarget-addeventlistener><code>addEventListener()</code></dfn> method<li>The <dfn id=concept-event-type>type</dfn> of an event<li>The concept of an <dfn id=concept-event-listener>event listener</dfn> and the <a href=#concept-even
 t-listener id=dependencies:concept-event-listener>event listeners</a> associated with an <code id=dependencies:eventtarget><a href=#eventtarget>EventTarget</a></code><li>The concept of a <dfn id=concept-event-target-override>target override</dfn><li>The concept of a regular <dfn id=event-parent>event parent</dfn> and a <dfn id=cross-boundary-event-parent>cross-boundary event parent</dfn><li>The <dfn id="document's-character-encoding">encoding</dfn> (herein the <i>character encoding</i>) and <dfn id=concept-document-content-type>content type</dfn> of a <code id=dependencies:document><a href=#document>Document</a></code><li>The distinction between <dfn id=xml-documents>XML documents</dfn> and <dfn id=html-documents>HTML documents</dfn><li>The terms <dfn id=quirks-mode>quirks mode</dfn>, <dfn id=limited-quirks-mode>limited-quirks mode</dfn>, and <dfn id=no-quirks-mode>no-quirks mode</dfn><li>The algorithm to <dfn id=concept-node-clone>clone</dfn> a <code id=dependencies:node><a
  href=#node>Node</a></code>, and the concept of <dfn id=concept-node-clone-ext>cloning steps</dfn> used by that algorithm<li>The concept of <dfn id=base-url-change-steps>base URL change steps</dfn> and the definition of what happens when an element is <dfn id=affected-by-a-base-url-change>affected by a base URL change</dfn><li>The concept of an element's <dfn id=concept-id>unique identifier (ID)</dfn><li>The concept of a DOM <dfn id=concept-range>range</dfn>, and the terms <dfn id=concept-range-start>start</dfn>, <dfn id=concept-range-end>end</dfn>, and <dfn id=concept-range-bp>boundary point</dfn> as applied to ranges.<li><dfn id=mutationobserver><code>MutationObserver</code></dfn> interface<li><dfn id=promise>Promise</dfn> interface<li>The <dfn id=concept-resolver>resolver</dfn> concept<li>The <dfn id=concept-resolver-fulfill>fulfill</dfn> and <dfn id=concept-resolver-reject>reject</dfn> algorithms</ul>
+    <ul class=brief><li><dfn id=attr><code>Attr</code></dfn> interface<li><dfn id=comment-2><code>Comment</code></dfn> interface<li><dfn id=domimplementation><code>DOMImplementation</code></dfn> interface<li><dfn id=dom-document><code>Document</code></dfn> interface<li><dfn id=xmldocument><code>XMLDocument</code></dfn> interface<li><dfn id=documentfragment><code>DocumentFragment</code></dfn> interface<li><dfn id=documenttype><code>DocumentType</code></dfn> interface<li><dfn id=domexception><code>DOMException</code></dfn> interface<li><dfn id=childnode><code>ChildNode</code></dfn> interface<li><dfn id=element><code>Element</code></dfn> interface<li><dfn id=node><code>Node</code></dfn> interface<li><dfn id=nodelist><code>NodeList</code></dfn> interface<li><dfn id=processinginstruction><code>ProcessingInstruction</code></dfn> interface<li><dfn id=text><code>Text</code></dfn> interface<li><dfn id=htmlcollection><code>HTMLCollection</code></dfn> interface<li><dfn id=dom-htmlcolle
 ction-length><code>HTMLCollection.length</code></dfn> attribute<li><dfn id=dom-htmlcollection-item><code>HTMLCollection.item()</code></dfn> method<li><dfn id=dom-htmlcollection-nameditem><code>HTMLCollection.namedItem()</code></dfn> method<li>The terms <dfn id=collections>collections</dfn> and <dfn id=represented-by-the-collection>represented by the collection</dfn><li><dfn id=domtokenlist><code>DOMTokenList</code></dfn> interface<li><dfn id=domsettabletokenlist><code>DOMSettableTokenList</code></dfn> interface<li><dfn id=dom-domsettabletokenlist-value><code>DOMSettableTokenList.value</code></dfn> attribute<li><dfn id=dom-domimplementation-createdocument><code>createDocument()</code></dfn> method<li><dfn id=dom-domimplementation-createhtmldocument><code>createHTMLDocument()</code></dfn> method<li><dfn id=dom-document-createelement><code>createElement()</code></dfn> method<li><dfn id=dom-document-createelementns><code>createElementNS()</code></dfn> method<li><dfn id=dom-docum
 ent-getelementbyid><code>getElementById()</code></dfn> method<li><dfn id=dom-document-getelementsbyclassname><code>getElementsByClassName()</code></dfn> method<li><dfn id=dom-node-insertbefore><code>insertBefore()</code></dfn> method<li><dfn id=dom-node-ownerdocument><code>ownerDocument</code></dfn> attribute<li><dfn id=dom-node-childnodes><code>childNodes</code></dfn> attribute<li><dfn id=dom-node-localname><code>localName</code></dfn> attribute<li><dfn id=dom-node-parentnode><code>parentNode</code></dfn> attribute<li><dfn id=dom-node-namespaceuri><code>namespaceURI</code></dfn> attribute<li><dfn id=dom-element-tagname><code>tagName</code></dfn> attribute<li><dfn id=dom-element-id><code>id</code></dfn> attribute<li><dfn id=textcontent><code>textContent</code></dfn> attribute<li>The <dfn id=concept-node-insert>insert</dfn>, <dfn id=concept-node-append>append</dfn>, <dfn id=concept-node-remove>remove</dfn>, <dfn id=concept-node-replace>replace</dfn>, and <dfn id=concept-node-
 adopt>adopt</dfn> algorithms for nodes<li>The <dfn id=nodes-are-inserted>nodes are inserted</dfn> and <dfn id=nodes-are-removed>nodes are removed</dfn> concepts<li>An element's <dfn id=concept-node-adopt-ext>adopting steps</dfn><li>The <dfn id=attribute-list>attribute list</dfn> concept.<li>The <dfn id=concept-cd-data>data</dfn> of a text node.<li><dfn id=event><code>Event</code></dfn> interface<li><dfn id=eventtarget><code>EventTarget</code></dfn> interface<li><dfn id=eventinit><code>EventInit</code></dfn> dictionary type<li><dfn id=dom-event-target><code>target</code></dfn> attribute<li><dfn id=dom-event-currenttarget><code>currentTarget</code></dfn> attribute<li><dfn id=dom-event-istrusted><code>isTrusted</code></dfn> attribute<li><dfn id=dom-event-initevent><code>initEvent()</code></dfn> method<li><dfn id=dom-eventtarget-addeventlistener><code>addEventListener()</code></dfn> method<li>The <dfn id=concept-event-type>type</dfn> of an event<li>The concept of an <dfn id=conc
 ept-event-listener>event listener</dfn> and the <a href=#concept-event-listener id=dependencies:concept-event-listener>event listeners</a> associated with an <code id=dependencies:eventtarget><a href=#eventtarget>EventTarget</a></code><li>The concept of a <dfn id=concept-event-target-override>target override</dfn><li>The concept of a regular <dfn id=event-parent>event parent</dfn> and a <dfn id=cross-boundary-event-parent>cross-boundary event parent</dfn><li>The <dfn id="document's-character-encoding">encoding</dfn> (herein the <i>character encoding</i>) and <dfn id=concept-document-content-type>content type</dfn> of a <code id=dependencies:document><a href=#document>Document</a></code><li>The distinction between <dfn id=xml-documents>XML documents</dfn> and <dfn id=html-documents>HTML documents</dfn><li>The terms <dfn id=quirks-mode>quirks mode</dfn>, <dfn id=limited-quirks-mode>limited-quirks mode</dfn>, and <dfn id=no-quirks-mode>no-quirks mode</dfn><li>The algorithm to <
 dfn id=concept-node-clone>clone</dfn> a <code id=dependencies:node><a href=#node>Node</a></code>, and the concept of <dfn id=concept-node-clone-ext>cloning steps</dfn> used by that algorithm<li>The concept of <dfn id=base-url-change-steps>base URL change steps</dfn> and the definition of what happens when an element is <dfn id=affected-by-a-base-url-change>affected by a base URL change</dfn><li>The concept of an element's <dfn id=concept-id>unique identifier (ID)</dfn><li>The concept of a DOM <dfn id=concept-range>range</dfn>, and the terms <dfn id=concept-range-start>start</dfn>, <dfn id=concept-range-end>end</dfn>, and <dfn id=concept-range-bp>boundary point</dfn> as applied to ranges.<li><dfn id=mutationobserver><code>MutationObserver</code></dfn> interface<li><dfn id=promise>Promise</dfn> interface<li>The <dfn id=concept-resolver>resolver</dfn> concept<li>The <dfn id=concept-resolver-fulfill>fulfill</dfn> and <dfn id=concept-resolver-reject>reject</dfn> algorithms</ul>
 
     <p>The term <dfn id=throw>throw</dfn> in this specification is used as defined in the DOM specification.
     The following <code id=dependencies:domexception><a href=#domexception>DOMException</a></code> types are defined in the DOM specification: <a href=#refsDOM>[DOM]</a></p>
@@ -57146,16 +57146,14 @@
   context</a> was just created as part of <a href=#the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name id=apis-for-creating-and-navigating-browsing-contexts-by-name:the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name-4>the rules for choosing a browsing context given a
   browsing context name</a>, then the user agent must instead <a href=#queue-a-task id=apis-for-creating-and-navigating-browsing-contexts-by-name:queue-a-task>queue a task</a> to
   <a href=#fire-a-simple-event id=apis-for-creating-and-navigating-browsing-contexts-by-name:fire-a-simple-event>fire a simple event</a> named <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:event-load><a href=#event-load>load</a></code> at the selected
-  <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-7>browsing context</a>'s <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:window-2><a href=#window>Window</a></code> object, but with its <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:dom-event-target><a href=#dom-event-target>target</a></code> set to the selected <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-8>browsing context</a>'s <a href=#concept-document-window id=apis-for-creating-and-navigating-browsing-contexts-by-name:concept-document-window><code>Window</code> object's <code>Document</code></a> object
-  (and the <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:dom-event-currenttarget><a href=#dom-event-currenttarget>currentTarget</a></code> set to the
-  <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:window-3><a href=#window>Window</a></code> object).</p>
+  <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-7>browsing context</a>'s <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:window-2><a href=#window>Window</a></code> object, with <i id=apis-for-creating-and-navigating-browsing-contexts-by-name:concept-event-target-override><a href=#concept-event-target-override>target override</a></i> set to the selected <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-8>browsing context</a>'s <a href=#concept-document-window id=apis-for-creating-and-navigating-browsing-contexts-by-name:concept-document-window><code>Window</code> object's <code>Document</code></a> object.</p>
 
   <p>The method must return the <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:windowproxy><a href=#windowproxy>WindowProxy</a></code> object of the <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-9>browsing context</a>
   that was navigated, or null if no browsing context was navigated.</p>
 
   <hr>
 
-  <p>The <dfn id=dom-name><code>name</code></dfn> attribute of the <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:window-4><a href=#window>Window</a></code> object
+  <p>The <dfn id=dom-name><code>name</code></dfn> attribute of the <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:window-3><a href=#window>Window</a></code> object
   must, on getting, return the current <a href=#browsing-context-name id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-name-2>name</a> of the
   <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-10>browsing context</a>, if one is set, or the empty string otherwise; and, on setting, set
   the <a href=#browsing-context-name id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-name-3>name</a> of the <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-11>browsing context</a> to the
@@ -57166,7 +57164,7 @@
 
   <hr>
 
-  <p>The <dfn id=dom-window-close><code>close()</code></dfn> method on <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:window-5><a href=#window>Window</a></code>
+  <p>The <dfn id=dom-window-close><code>close()</code></dfn> method on <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:window-4><a href=#window>Window</a></code>
   objects should, if all the following conditions are met, <a href=#close-a-browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:close-a-browsing-context>close</a> the <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-12>browsing context</a> <var>A</var>:
 
   <ul class=brief><li>The corresponding <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-13>browsing context</a> <var>A</var> is
@@ -57180,15 +57178,15 @@
   if it is a <a href=#top-level-browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:top-level-browsing-context>top-level browsing context</a> whose <a href=#session-history id=apis-for-creating-and-navigating-browsing-contexts-by-name:session-history-2>session history</a> contains
   only one <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:document><a href=#document>Document</a></code>.</p>
 
-  <p>The <dfn id=dom-window-closed><code>closed</code></dfn> attribute on <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:window-6><a href=#window>Window</a></code>
-  objects must return true if the <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:window-7><a href=#window>Window</a></code> object's <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-17>browsing context</a> has
+  <p>The <dfn id=dom-window-closed><code>closed</code></dfn> attribute on <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:window-5><a href=#window>Window</a></code>
+  objects must return true if the <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:window-6><a href=#window>Window</a></code> object's <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-17>browsing context</a> has
   been <a href=#a-browsing-context-is-discarded id=apis-for-creating-and-navigating-browsing-contexts-by-name:a-browsing-context-is-discarded>discarded</a>, and false otherwise.</p>
 
-  <p>The <dfn id=dom-window-stop><code>stop()</code></dfn> method on <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:window-8><a href=#window>Window</a></code>
+  <p>The <dfn id=dom-window-stop><code>stop()</code></dfn> method on <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:window-7><a href=#window>Window</a></code>
   objects should, if there is an existing attempt to <a href=#navigate id=apis-for-creating-and-navigating-browsing-contexts-by-name:navigate-4>navigate</a> the <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-18>browsing
   context</a> and that attempt is not currently running the <a href=#unload-a-document id=apis-for-creating-and-navigating-browsing-contexts-by-name:unload-a-document>unload a document</a>
   algorithm, cancel that <a href=#navigate id=apis-for-creating-and-navigating-browsing-contexts-by-name:navigate-5>navigation</a>; then, it must <a href=#abort-a-document id=apis-for-creating-and-navigating-browsing-contexts-by-name:abort-a-document>abort</a> the <a href=#active-document id=apis-for-creating-and-navigating-browsing-contexts-by-name:active-document>active document</a> of the <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-19>browsing
-  context</a> of the <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:window-9><a href=#window>Window</a></code> object on which it was invoked.</p>
+  context</a> of the <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:window-8><a href=#window>Window</a></code> object on which it was invoked.</p>
 
   
 
@@ -59624,8 +59622,8 @@
         <p class=note>This is specifically intended for use by the Page Visibility specification. <a href=#refsPAGEVIS>[PAGEVIS]</a></p>
 
        <li><p><a href=#concept-event-fire id=history-traversal:concept-event-fire>Fire</a> a <a href=#concept-events-trusted id=history-traversal:concept-events-trusted>trusted</a> event with the name <code id=history-traversal:event-pageshow><a href=#event-pageshow>pageshow</a></code> at the <code id=history-traversal:window><a href=#window>Window</a></code> object of that
-       <code id=history-traversal:document-16><a href=#document>Document</a></code>, but with its <code id=history-traversal:dom-event-target><a href=#dom-event-target>target</a></code> set to the
-       <code id=history-traversal:document-17><a href=#document>Document</a></code> object (and the <code id=history-traversal:dom-event-currenttarget><a href=#dom-event-currenttarget>currentTarget</a></code> set to the <code id=history-traversal:window-2><a href=#window>Window</a></code> object),
+       <code id=history-traversal:document-16><a href=#document>Document</a></code>, with <i id=history-traversal:concept-event-target-override><a href=#concept-event-target-override>target override</a></i> set to the <code id=history-traversal:document-17><a href=#document>Document</a></code>
+       object,
        using the <code id=history-traversal:pagetransitionevent><a href=#pagetransitionevent>PageTransitionEvent</a></code> interface, with the <code id=history-traversal:dom-pagetransitionevent-persisted><a href=#dom-pagetransitionevent-persisted>persisted</a></code> attribute initialised to true.
        This event must not bubble, must not be cancelable, and has no default action.</ol>
 
@@ -59666,12 +59664,12 @@
     to run the following substeps.</p>
 
     <ol><li><p>If <var>state changed</var> is true, <a href=#concept-event-fire id=history-traversal:concept-event-fire-2>fire</a> a <a href=#concept-events-trusted id=history-traversal:concept-events-trusted-2>trusted</a>
-     event with the name <code id=history-traversal:event-popstate><a href=#event-popstate>popstate</a></code> at the <code id=history-traversal:window-3><a href=#window>Window</a></code>
+     event with the name <code id=history-traversal:event-popstate><a href=#event-popstate>popstate</a></code> at the <code id=history-traversal:window-2><a href=#window>Window</a></code>
      object of the <code id=history-traversal:document-21><a href=#document>Document</a></code>, using the <code id=history-traversal:popstateevent><a href=#popstateevent>PopStateEvent</a></code> interface, with the
      <code id=history-traversal:dom-popstateevent-state><a href=#dom-popstateevent-state>state</a></code> attribute initialised to the value of <var>state</var>. This event must bubble but not be cancelable and has no default
      action.<li><p>If <var>hash changed</var> is true, then <a href=#concept-event-fire id=history-traversal:concept-event-fire-3>fire</a> a <a href=#concept-events-trusted id=history-traversal:concept-events-trusted-3>trusted</a>
      event with the name <code id=history-traversal:event-hashchange><a href=#event-hashchange>hashchange</a></code> at the <a href=#browsing-context id=history-traversal:browsing-context-4>browsing
-     context</a>'s <code id=history-traversal:window-4><a href=#window>Window</a></code> object, using the <code id=history-traversal:hashchangeevent><a href=#hashchangeevent>HashChangeEvent</a></code> interface,
+     context</a>'s <code id=history-traversal:window-3><a href=#window>Window</a></code> object, using the <code id=history-traversal:hashchangeevent><a href=#hashchangeevent>HashChangeEvent</a></code> interface,
      with the <code id=history-traversal:dom-hashchangeevent-oldurl><a href=#dom-hashchangeevent-oldurl>oldURL</a></code> attribute initialised to <var>old URL</var> and the <code id=history-traversal:dom-hashchangeevent-newurl><a href=#dom-hashchangeevent-newurl>newURL</a></code> attribute
      initialised to <var>new URL</var>. This event must bubble but not be cancelable and
      has no default action.</ol>
@@ -59865,9 +59863,8 @@
    one.<li><p>If the <code id=unloading-documents:document-9><a href=#document>Document</a></code>'s <a href=#page-showing id=unloading-documents:page-showing-2>page showing</a> flag is false, then jump to the
    step labeled <i>unload event</i> below (i.e. skip firing the <code id=unloading-documents:event-pagehide-3><a href=#event-pagehide>pagehide</a></code> event and don't rerun the <a href=#unloading-document-visibility-change-steps id=unloading-documents:unloading-document-visibility-change-steps>unloading document
    visibility change steps</a>).<li><p>Set the <code id=unloading-documents:document-10><a href=#document>Document</a></code>'s <a href=#page-showing id=unloading-documents:page-showing-3>page showing</a> flag to false.<li><p><a href=#concept-event-fire id=unloading-documents:concept-event-fire>Fire</a> a <a href=#concept-events-trusted id=unloading-documents:concept-events-trusted-2>trusted</a> event with the name <code id=unloading-documents:event-pagehide-4><a href=#event-pagehide>pagehide</a></code> at the <code id=unloading-documents:window-2><a href=#window>Window</a></code> object of the
-   <code id=unloading-documents:document-11><a href=#document>Document</a></code>, but with its <code id=unloading-documents:dom-event-target><a href=#dom-event-target>target</a></code> set to the
-   <code id=unloading-documents:document-12><a href=#document>Document</a></code> object (and the <code id=unloading-documents:dom-event-currenttarget><a href=#dom-event-currenttarget>currentTarget</a></code>
-   set to the <code id=unloading-documents:window-3><a href=#window>Window</a></code> object), using the <code id=unloading-documents:pagetransitionevent><a href=#pagetransitionevent>PageTransitionEvent</a></code> interface,
+   <code id=unloading-documents:document-11><a href=#document>Document</a></code>, with <i id=unloading-documents:concept-event-target-override><a href=#concept-event-target-override>target override</a></i> set to the <code id=unloading-documents:document-12><a href=#document>Document</a></code>
+   object, using the <code id=unloading-documents:pagetransitionevent><a href=#pagetransitionevent>PageTransitionEvent</a></code> interface,
    with the <code id=unloading-documents:dom-pagetransitionevent-persisted><a href=#dom-pagetransitionevent-persisted>persisted</a></code> attribute initialized
    to true if the <code id=unloading-documents:document-13><a href=#document>Document</a></code> object's <i id=unloading-documents:concept-document-salvageable-4><a href=#concept-document-salvageable>salvageable</a></i> state is true, and false otherwise. This
    event must not bubble, must not be cancelable, and has no default action.<li>
@@ -59879,7 +59876,7 @@
 
    <li><p><i>Unload event</i>: If the <code id=unloading-documents:document-15><a href=#document>Document</a></code>'s <a href=#fired-unload id=unloading-documents:fired-unload>fired unload</a> flag is
    false, <a href=#fire-a-simple-event id=unloading-documents:fire-a-simple-event>fire a simple event</a> named <code id=unloading-documents:event-unload><a href=#event-unload>unload</a></code> at the
-   <code id=unloading-documents:document-16><a href=#document>Document</a></code>'s <code id=unloading-documents:window-4><a href=#window>Window</a></code> object, with <i id=unloading-documents:concept-event-target-override><a href=#concept-event-target-override>target override</a></i> set to the
+   <code id=unloading-documents:document-16><a href=#document>Document</a></code>'s <code id=unloading-documents:window-3><a href=#window>Window</a></code> object, with <i id=unloading-documents:concept-event-target-override-2><a href=#concept-event-target-override>target override</a></i> set to the
    <code id=unloading-documents:document-17><a href=#document>Document</a></code> object.<li><p>Decrease the <a href=#event-loop id=unloading-documents:event-loop-5>event loop</a>'s <a href=#termination-nesting-level id=unloading-documents:termination-nesting-level-4>termination nesting level</a> by
    one.<li><p>Release the <a href=#storage-mutex id=unloading-documents:storage-mutex-2>storage mutex</a>.<li><p>If any event listeners were triggered by the earlier <i>unload event</i> step, then set
    the <code id=unloading-documents:document-18><a href=#document>Document</a></code> object's <i id=unloading-documents:concept-document-salvageable-5><a href=#concept-document-salvageable>salvageable</a></i> state
@@ -59910,15 +59907,15 @@
   <ol><li>
 
     <p><a href=#make-disappear id=unloading-documents:make-disappear>Make disappear</a> any <code id=unloading-documents:websocket><a href=#websocket>WebSocket</a></code> objects that were created by the <code id=unloading-documents:dom-websocket><a href=#dom-websocket>WebSocket()</a></code> constructor from the
-    <code id=unloading-documents:document-25><a href=#document>Document</a></code>'s <code id=unloading-documents:window-5><a href=#window>Window</a></code> object.</p>
+    <code id=unloading-documents:document-25><a href=#document>Document</a></code>'s <code id=unloading-documents:window-4><a href=#window>Window</a></code> object.</p>
 
     <p>If this affected any <code id=unloading-documents:websocket-2><a href=#websocket>WebSocket</a></code> objects, then set <code id=unloading-documents:document-26><a href=#document>Document</a></code>'s <i id=unloading-documents:concept-document-salvageable-9><a href=#concept-document-salvageable>salvageable</a></i> state to false.</p>
 
    <li><p>If the <code id=unloading-documents:document-27><a href=#document>Document</a></code>'s <i id=unloading-documents:concept-document-salvageable-10><a href=#concept-document-salvageable>salvageable</a></i>
    state is false, <a href=#concept-eventsource-forcibly-close id=unloading-documents:concept-eventsource-forcibly-close>forcibly close</a> any
    <code id=unloading-documents:eventsource><a href=#eventsource>EventSource</a></code> objects that whose constructor was invoked from the
-   <code id=unloading-documents:document-28><a href=#document>Document</a></code>'s <code id=unloading-documents:window-6><a href=#window>Window</a></code> object.<li><p>If the <code id=unloading-documents:document-29><a href=#document>Document</a></code>'s <i id=unloading-documents:concept-document-salvageable-11><a href=#concept-document-salvageable>salvageable</a></i>
-   state is false, empty the <code id=unloading-documents:document-30><a href=#document>Document</a></code>'s <code id=unloading-documents:window-7><a href=#window>Window</a></code>'s <a href=#list-of-active-timers id=unloading-documents:list-of-active-timers>list of active
+   <code id=unloading-documents:document-28><a href=#document>Document</a></code>'s <code id=unloading-documents:window-5><a href=#window>Window</a></code> object.<li><p>If the <code id=unloading-documents:document-29><a href=#document>Document</a></code>'s <i id=unloading-documents:concept-document-salvageable-11><a href=#concept-document-salvageable>salvageable</a></i>
+   state is false, empty the <code id=unloading-documents:document-30><a href=#document>Document</a></code>'s <code id=unloading-documents:window-6><a href=#window>Window</a></code>'s <a href=#list-of-active-timers id=unloading-documents:list-of-active-timers>list of active
    timers</a>.</ol>
 
   
@@ -65386,14 +65383,16 @@
   readonly attribute DOMString <a href=#dom-messageevent-lasteventid id=the-messageevent-interfaces:dom-messageevent-lasteventid>lastEventId</a>;
   readonly attribute (<a href=#windowproxy id=the-messageevent-interfaces:windowproxy>WindowProxy</a> or <a href=#messageport id=the-messageevent-interfaces:messageport>MessagePort</a>)? <a href=#dom-messageevent-source id=the-messageevent-interfaces:dom-messageevent-source>source</a>;
   readonly attribute <a href=#messageport id=the-messageevent-interfaces:messageport-2>MessagePort</a>[]? <a href=#dom-messageevent-ports id=the-messageevent-interfaces:dom-messageevent-ports>ports</a>;
+
+  void <a href=#dom-messageevent-initmessageevent id=the-messageevent-interfaces:dom-messageevent-initmessageevent>initMessageEvent</a>(in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in any dataArg, in DOMString originArg, in DOMString lastEventIdArg, in (<a href=#windowproxy id=the-messageevent-interfaces:windowproxy-2>WindowProxy</a> or <a href=#messageport id=the-messageevent-interfaces:messageport-3>MessagePort</a>) sourceArg, in <a href=#messageport id=the-messageevent-interfaces:messageport-4>MessagePort</a>[]? portsArg);
 };
 
 dictionary <dfn id=messageeventinit>MessageEventInit</dfn> : <a href=#eventinit id=the-messageevent-interfaces:eventinit>EventInit</a> {
   any data;
   DOMString origin;
   DOMString lastEventId;
-  (<a href=#windowproxy id=the-messageevent-interfaces:windowproxy-2>WindowProxy</a> or <a href=#messageport id=the-messageevent-interfaces:messageport-3>MessagePort</a>)? source;
-  sequence<<a href=#messageport id=the-messageevent-interfaces:messageport-4>MessagePort</a>> ports;
+  (<a href=#windowproxy id=the-messageevent-interfaces:windowproxy-3>WindowProxy</a> or <a href=#messageport id=the-messageevent-interfaces:messageport-5>MessagePort</a>)? source;
+  sequence<<a href=#messageport id=the-messageevent-interfaces:messageport-6>MessagePort</a>> ports;
 };</pre>
 
   <dl class=domintro><dt><var>event</var> . <code id=the-messageevent-interfaces:dom-messageevent-data-2><a href=#dom-messageevent-data>data</a></code><dd>
@@ -65412,13 +65411,13 @@
 
    <dt><var>event</var> . <code id=the-messageevent-interfaces:dom-messageevent-source-2><a href=#dom-messageevent-source>source</a></code><dd>
 
-    <p>Returns the <code id=the-messageevent-interfaces:windowproxy-3><a href=#windowproxy>WindowProxy</a></code> of the source window, for <a href=#web-messaging id=the-messageevent-interfaces:web-messaging-3>cross-document
-    messaging</a>, and the <code id=the-messageevent-interfaces:messageport-5><a href=#messageport>MessagePort</a></code> being attached, in the <code id=the-messageevent-interfaces:event-workerglobalscope-connect><a href=#event-workerglobalscope-connect>connect</a></code> event fired at
+    <p>Returns the <code id=the-messageevent-interfaces:windowproxy-4><a href=#windowproxy>WindowProxy</a></code> of the source window, for <a href=#web-messaging id=the-messageevent-interfaces:web-messaging-3>cross-document
+    messaging</a>, and the <code id=the-messageevent-interfaces:messageport-7><a href=#messageport>MessagePort</a></code> being attached, in the <code id=the-messageevent-interfaces:event-workerglobalscope-connect><a href=#event-workerglobalscope-connect>connect</a></code> event fired at
     <code id=the-messageevent-interfaces:sharedworkerglobalscope><a href=#sharedworkerglobalscope>SharedWorkerGlobalScope</a></code> objects.</p>
 
    <dt><var>event</var> . <code id=the-messageevent-interfaces:dom-messageevent-ports-2><a href=#dom-messageevent-ports>ports</a></code><dd>
 
-    <p>Returns the <code id=the-messageevent-interfaces:messageport-6><a href=#messageport>MessagePort</a></code> array sent with the message, for <a href=#web-messaging id=the-messageevent-interfaces:web-messaging-4>cross-document
+    <p>Returns the <code id=the-messageevent-interfaces:messageport-8><a href=#messageport>MessagePort</a></code> array sent with the message, for <a href=#web-messaging id=the-messageevent-interfaces:web-messaging-4>cross-document
     messaging</a> and <a href=#channel-messaging id=the-messageevent-interfaces:channel-messaging-2>channel messaging</a>.</p>
 
    </dl>
@@ -65441,20 +65440,24 @@
 
   <p>The <dfn id=dom-messageevent-source><code>source</code></dfn> attribute must return the
   value it was initialised to. When the object is created, this attribute must be initialised to
-  null. It represents, in <a href=#web-messaging id=the-messageevent-interfaces:web-messaging-6>cross-document messaging</a>, the <code id=the-messageevent-interfaces:windowproxy-4><a href=#windowproxy>WindowProxy</a></code> of the
+  null. It represents, in <a href=#web-messaging id=the-messageevent-interfaces:web-messaging-6>cross-document messaging</a>, the <code id=the-messageevent-interfaces:windowproxy-5><a href=#windowproxy>WindowProxy</a></code> of the
   <a href=#browsing-context id=the-messageevent-interfaces:browsing-context>browsing context</a> of the <code id=the-messageevent-interfaces:window><a href=#window>Window</a></code> object from which the message came; and
   in the <code id=the-messageevent-interfaces:event-workerglobalscope-connect-2><a href=#event-workerglobalscope-connect>connect</a></code> events used by <a href=#sharedworkerglobalscope id=the-messageevent-interfaces:sharedworkerglobalscope-2>shared workers</a>, the newly connecting
-  <code id=the-messageevent-interfaces:messageport-7><a href=#messageport>MessagePort</a></code>.</p>
+  <code id=the-messageevent-interfaces:messageport-9><a href=#messageport>MessagePort</a></code>.</p>
 
   <p>The <dfn id=dom-messageevent-ports><code>ports</code></dfn> attribute must return the
   value it was initialised to. When the object is created, this attribute must be initialised to
   null. It represents, in
   <a href=#web-messaging id=the-messageevent-interfaces:web-messaging-7>cross-document messaging</a> and <a href=#channel-messaging id=the-messageevent-interfaces:channel-messaging-3>channel messaging</a>, the
-  <code id=the-messageevent-interfaces:messageport-8><a href=#messageport>MessagePort</a></code> array being sent, if any.</p>
+  <code id=the-messageevent-interfaces:messageport-10><a href=#messageport>MessagePort</a></code> array being sent, if any.</p>
 
   
+  <p>The <dfn id=dom-messageevent-initmessageevent><code>initMessageEvent()</code></dfn>
+  method must initialise the event in a manner analogous to the similarly-named <code id=the-messageevent-interfaces:dom-event-initevent><a href=#dom-event-initevent>initEvent()</a></code> method. <a href=#refsDOM>[DOM]</a></p>
 
+  
 
+
   <h3 id=server-sent-events>9.2 <dfn>Server-sent events</dfn></h3>
 
   <h4 id=server-sent-events-intro>9.2.1 Introduction</h4>
@@ -75809,8 +75812,8 @@
 
     <ol><li><p>If the <code id=the-end:document-8><a href=#document>Document</a></code>'s <a href=#page-showing id=the-end:page-showing>page showing</a> flag is true, then abort this
      task (i.e. don't fire the event below).<li><p>Set the <code id=the-end:document-9><a href=#document>Document</a></code>'s <a href=#page-showing id=the-end:page-showing-2>page showing</a> flag to true.<li><p><a href=#concept-event-fire id=the-end:concept-event-fire>Fire</a> a <a href=#concept-events-trusted id=the-end:concept-events-trusted>trusted</a> event with the name <code id=the-end:event-pageshow><a href=#event-pageshow>pageshow</a></code> at the <code id=the-end:window-2><a href=#window>Window</a></code> object of the
-     <code id=the-end:document-10><a href=#document>Document</a></code>, but with its <code id=the-end:dom-event-target><a href=#dom-event-target>target</a></code> set to the
-     <code id=the-end:document-11><a href=#document>Document</a></code> object (and the <code id=the-end:dom-event-currenttarget><a href=#dom-event-currenttarget>currentTarget</a></code> set to the <code id=the-end:window-3><a href=#window>Window</a></code> object),
+     <code id=the-end:document-10><a href=#document>Document</a></code>, with <i id=the-end:concept-event-target-override-2><a href=#concept-event-target-override>target override</a></i> set to the <code id=the-end:document-11><a href=#document>Document</a></code>
+     object,
      using the <code id=the-end:pagetransitionevent><a href=#pagetransitionevent>PageTransitionEvent</a></code> interface, with the <code id=the-end:dom-pagetransitionevent-persisted><a href=#dom-pagetransitionevent-persisted>persisted</a></code> attribute initialised to false. This
      event must not bubble, must not be cancelable, and has no default action.</ol>
 

Modified: index
===================================================================
--- index	2014-08-05 19:57:48 UTC (rev 8710)
+++ index	2014-08-05 22:33:37 UTC (rev 8711)
@@ -2342,7 +2342,7 @@
 
     <p>In particular, the following features are defined in the DOM specification: <a href=#refsDOM>[DOM]</a></p> 
 
-    <ul class=brief><li><dfn id=attr><code>Attr</code></dfn> interface<li><dfn id=comment-2><code>Comment</code></dfn> interface<li><dfn id=domimplementation><code>DOMImplementation</code></dfn> interface<li><dfn id=dom-document><code>Document</code></dfn> interface<li><dfn id=xmldocument><code>XMLDocument</code></dfn> interface<li><dfn id=documentfragment><code>DocumentFragment</code></dfn> interface<li><dfn id=documenttype><code>DocumentType</code></dfn> interface<li><dfn id=domexception><code>DOMException</code></dfn> interface<li><dfn id=childnode><code>ChildNode</code></dfn> interface<li><dfn id=element><code>Element</code></dfn> interface<li><dfn id=node><code>Node</code></dfn> interface<li><dfn id=nodelist><code>NodeList</code></dfn> interface<li><dfn id=processinginstruction><code>ProcessingInstruction</code></dfn> interface<li><dfn id=text><code>Text</code></dfn> interface<li><dfn id=htmlcollection><code>HTMLCollection</code></dfn> interface<li><dfn id=dom-htmlcolle
 ction-length><code>HTMLCollection.length</code></dfn> attribute<li><dfn id=dom-htmlcollection-item><code>HTMLCollection.item()</code></dfn> method<li><dfn id=dom-htmlcollection-nameditem><code>HTMLCollection.namedItem()</code></dfn> method<li>The terms <dfn id=collections>collections</dfn> and <dfn id=represented-by-the-collection>represented by the collection</dfn><li><dfn id=domtokenlist><code>DOMTokenList</code></dfn> interface<li><dfn id=domsettabletokenlist><code>DOMSettableTokenList</code></dfn> interface<li><dfn id=dom-domsettabletokenlist-value><code>DOMSettableTokenList.value</code></dfn> attribute<li><dfn id=dom-domimplementation-createdocument><code>createDocument()</code></dfn> method<li><dfn id=dom-domimplementation-createhtmldocument><code>createHTMLDocument()</code></dfn> method<li><dfn id=dom-document-createelement><code>createElement()</code></dfn> method<li><dfn id=dom-document-createelementns><code>createElementNS()</code></dfn> method<li><dfn id=dom-docum
 ent-getelementbyid><code>getElementById()</code></dfn> method<li><dfn id=dom-document-getelementsbyclassname><code>getElementsByClassName()</code></dfn> method<li><dfn id=dom-node-insertbefore><code>insertBefore()</code></dfn> method<li><dfn id=dom-node-ownerdocument><code>ownerDocument</code></dfn> attribute<li><dfn id=dom-node-childnodes><code>childNodes</code></dfn> attribute<li><dfn id=dom-node-localname><code>localName</code></dfn> attribute<li><dfn id=dom-node-parentnode><code>parentNode</code></dfn> attribute<li><dfn id=dom-node-namespaceuri><code>namespaceURI</code></dfn> attribute<li><dfn id=dom-element-tagname><code>tagName</code></dfn> attribute<li><dfn id=dom-element-id><code>id</code></dfn> attribute<li><dfn id=textcontent><code>textContent</code></dfn> attribute<li>The <dfn id=concept-node-insert>insert</dfn>, <dfn id=concept-node-append>append</dfn>, <dfn id=concept-node-remove>remove</dfn>, <dfn id=concept-node-replace>replace</dfn>, and <dfn id=concept-node-
 adopt>adopt</dfn> algorithms for nodes<li>The <dfn id=nodes-are-inserted>nodes are inserted</dfn> and <dfn id=nodes-are-removed>nodes are removed</dfn> concepts<li>An element's <dfn id=concept-node-adopt-ext>adopting steps</dfn><li>The <dfn id=attribute-list>attribute list</dfn> concept.<li>The <dfn id=concept-cd-data>data</dfn> of a text node.<li><dfn id=event><code>Event</code></dfn> interface<li><dfn id=eventtarget><code>EventTarget</code></dfn> interface<li><dfn id=eventinit><code>EventInit</code></dfn> dictionary type<li><dfn id=dom-event-target><code>target</code></dfn> attribute<li><dfn id=dom-event-currenttarget><code>currentTarget</code></dfn> attribute<li><dfn id=dom-event-istrusted><code>isTrusted</code></dfn> attribute<li><dfn id=dom-eventtarget-addeventlistener><code>addEventListener()</code></dfn> method<li>The <dfn id=concept-event-type>type</dfn> of an event<li>The concept of an <dfn id=concept-event-listener>event listener</dfn> and the <a href=#concept-even
 t-listener id=dependencies:concept-event-listener>event listeners</a> associated with an <code id=dependencies:eventtarget><a href=#eventtarget>EventTarget</a></code><li>The concept of a <dfn id=concept-event-target-override>target override</dfn><li>The concept of a regular <dfn id=event-parent>event parent</dfn> and a <dfn id=cross-boundary-event-parent>cross-boundary event parent</dfn><li>The <dfn id="document's-character-encoding">encoding</dfn> (herein the <i>character encoding</i>) and <dfn id=concept-document-content-type>content type</dfn> of a <code id=dependencies:document><a href=#document>Document</a></code><li>The distinction between <dfn id=xml-documents>XML documents</dfn> and <dfn id=html-documents>HTML documents</dfn><li>The terms <dfn id=quirks-mode>quirks mode</dfn>, <dfn id=limited-quirks-mode>limited-quirks mode</dfn>, and <dfn id=no-quirks-mode>no-quirks mode</dfn><li>The algorithm to <dfn id=concept-node-clone>clone</dfn> a <code id=dependencies:node><a
  href=#node>Node</a></code>, and the concept of <dfn id=concept-node-clone-ext>cloning steps</dfn> used by that algorithm<li>The concept of <dfn id=base-url-change-steps>base URL change steps</dfn> and the definition of what happens when an element is <dfn id=affected-by-a-base-url-change>affected by a base URL change</dfn><li>The concept of an element's <dfn id=concept-id>unique identifier (ID)</dfn><li>The concept of a DOM <dfn id=concept-range>range</dfn>, and the terms <dfn id=concept-range-start>start</dfn>, <dfn id=concept-range-end>end</dfn>, and <dfn id=concept-range-bp>boundary point</dfn> as applied to ranges.<li><dfn id=mutationobserver><code>MutationObserver</code></dfn> interface<li><dfn id=promise>Promise</dfn> interface<li>The <dfn id=concept-resolver>resolver</dfn> concept<li>The <dfn id=concept-resolver-fulfill>fulfill</dfn> and <dfn id=concept-resolver-reject>reject</dfn> algorithms</ul>
+    <ul class=brief><li><dfn id=attr><code>Attr</code></dfn> interface<li><dfn id=comment-2><code>Comment</code></dfn> interface<li><dfn id=domimplementation><code>DOMImplementation</code></dfn> interface<li><dfn id=dom-document><code>Document</code></dfn> interface<li><dfn id=xmldocument><code>XMLDocument</code></dfn> interface<li><dfn id=documentfragment><code>DocumentFragment</code></dfn> interface<li><dfn id=documenttype><code>DocumentType</code></dfn> interface<li><dfn id=domexception><code>DOMException</code></dfn> interface<li><dfn id=childnode><code>ChildNode</code></dfn> interface<li><dfn id=element><code>Element</code></dfn> interface<li><dfn id=node><code>Node</code></dfn> interface<li><dfn id=nodelist><code>NodeList</code></dfn> interface<li><dfn id=processinginstruction><code>ProcessingInstruction</code></dfn> interface<li><dfn id=text><code>Text</code></dfn> interface<li><dfn id=htmlcollection><code>HTMLCollection</code></dfn> interface<li><dfn id=dom-htmlcolle
 ction-length><code>HTMLCollection.length</code></dfn> attribute<li><dfn id=dom-htmlcollection-item><code>HTMLCollection.item()</code></dfn> method<li><dfn id=dom-htmlcollection-nameditem><code>HTMLCollection.namedItem()</code></dfn> method<li>The terms <dfn id=collections>collections</dfn> and <dfn id=represented-by-the-collection>represented by the collection</dfn><li><dfn id=domtokenlist><code>DOMTokenList</code></dfn> interface<li><dfn id=domsettabletokenlist><code>DOMSettableTokenList</code></dfn> interface<li><dfn id=dom-domsettabletokenlist-value><code>DOMSettableTokenList.value</code></dfn> attribute<li><dfn id=dom-domimplementation-createdocument><code>createDocument()</code></dfn> method<li><dfn id=dom-domimplementation-createhtmldocument><code>createHTMLDocument()</code></dfn> method<li><dfn id=dom-document-createelement><code>createElement()</code></dfn> method<li><dfn id=dom-document-createelementns><code>createElementNS()</code></dfn> method<li><dfn id=dom-docum
 ent-getelementbyid><code>getElementById()</code></dfn> method<li><dfn id=dom-document-getelementsbyclassname><code>getElementsByClassName()</code></dfn> method<li><dfn id=dom-node-insertbefore><code>insertBefore()</code></dfn> method<li><dfn id=dom-node-ownerdocument><code>ownerDocument</code></dfn> attribute<li><dfn id=dom-node-childnodes><code>childNodes</code></dfn> attribute<li><dfn id=dom-node-localname><code>localName</code></dfn> attribute<li><dfn id=dom-node-parentnode><code>parentNode</code></dfn> attribute<li><dfn id=dom-node-namespaceuri><code>namespaceURI</code></dfn> attribute<li><dfn id=dom-element-tagname><code>tagName</code></dfn> attribute<li><dfn id=dom-element-id><code>id</code></dfn> attribute<li><dfn id=textcontent><code>textContent</code></dfn> attribute<li>The <dfn id=concept-node-insert>insert</dfn>, <dfn id=concept-node-append>append</dfn>, <dfn id=concept-node-remove>remove</dfn>, <dfn id=concept-node-replace>replace</dfn>, and <dfn id=concept-node-
 adopt>adopt</dfn> algorithms for nodes<li>The <dfn id=nodes-are-inserted>nodes are inserted</dfn> and <dfn id=nodes-are-removed>nodes are removed</dfn> concepts<li>An element's <dfn id=concept-node-adopt-ext>adopting steps</dfn><li>The <dfn id=attribute-list>attribute list</dfn> concept.<li>The <dfn id=concept-cd-data>data</dfn> of a text node.<li><dfn id=event><code>Event</code></dfn> interface<li><dfn id=eventtarget><code>EventTarget</code></dfn> interface<li><dfn id=eventinit><code>EventInit</code></dfn> dictionary type<li><dfn id=dom-event-target><code>target</code></dfn> attribute<li><dfn id=dom-event-currenttarget><code>currentTarget</code></dfn> attribute<li><dfn id=dom-event-istrusted><code>isTrusted</code></dfn> attribute<li><dfn id=dom-event-initevent><code>initEvent()</code></dfn> method<li><dfn id=dom-eventtarget-addeventlistener><code>addEventListener()</code></dfn> method<li>The <dfn id=concept-event-type>type</dfn> of an event<li>The concept of an <dfn id=conc
 ept-event-listener>event listener</dfn> and the <a href=#concept-event-listener id=dependencies:concept-event-listener>event listeners</a> associated with an <code id=dependencies:eventtarget><a href=#eventtarget>EventTarget</a></code><li>The concept of a <dfn id=concept-event-target-override>target override</dfn><li>The concept of a regular <dfn id=event-parent>event parent</dfn> and a <dfn id=cross-boundary-event-parent>cross-boundary event parent</dfn><li>The <dfn id="document's-character-encoding">encoding</dfn> (herein the <i>character encoding</i>) and <dfn id=concept-document-content-type>content type</dfn> of a <code id=dependencies:document><a href=#document>Document</a></code><li>The distinction between <dfn id=xml-documents>XML documents</dfn> and <dfn id=html-documents>HTML documents</dfn><li>The terms <dfn id=quirks-mode>quirks mode</dfn>, <dfn id=limited-quirks-mode>limited-quirks mode</dfn>, and <dfn id=no-quirks-mode>no-quirks mode</dfn><li>The algorithm to <
 dfn id=concept-node-clone>clone</dfn> a <code id=dependencies:node><a href=#node>Node</a></code>, and the concept of <dfn id=concept-node-clone-ext>cloning steps</dfn> used by that algorithm<li>The concept of <dfn id=base-url-change-steps>base URL change steps</dfn> and the definition of what happens when an element is <dfn id=affected-by-a-base-url-change>affected by a base URL change</dfn><li>The concept of an element's <dfn id=concept-id>unique identifier (ID)</dfn><li>The concept of a DOM <dfn id=concept-range>range</dfn>, and the terms <dfn id=concept-range-start>start</dfn>, <dfn id=concept-range-end>end</dfn>, and <dfn id=concept-range-bp>boundary point</dfn> as applied to ranges.<li><dfn id=mutationobserver><code>MutationObserver</code></dfn> interface<li><dfn id=promise>Promise</dfn> interface<li>The <dfn id=concept-resolver>resolver</dfn> concept<li>The <dfn id=concept-resolver-fulfill>fulfill</dfn> and <dfn id=concept-resolver-reject>reject</dfn> algorithms</ul>
 
     <p>The term <dfn id=throw>throw</dfn> in this specification is used as defined in the DOM specification.
     The following <code id=dependencies:domexception><a href=#domexception>DOMException</a></code> types are defined in the DOM specification: <a href=#refsDOM>[DOM]</a></p>
@@ -57146,16 +57146,14 @@
   context</a> was just created as part of <a href=#the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name id=apis-for-creating-and-navigating-browsing-contexts-by-name:the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name-4>the rules for choosing a browsing context given a
   browsing context name</a>, then the user agent must instead <a href=#queue-a-task id=apis-for-creating-and-navigating-browsing-contexts-by-name:queue-a-task>queue a task</a> to
   <a href=#fire-a-simple-event id=apis-for-creating-and-navigating-browsing-contexts-by-name:fire-a-simple-event>fire a simple event</a> named <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:event-load><a href=#event-load>load</a></code> at the selected
-  <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-7>browsing context</a>'s <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:window-2><a href=#window>Window</a></code> object, but with its <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:dom-event-target><a href=#dom-event-target>target</a></code> set to the selected <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-8>browsing context</a>'s <a href=#concept-document-window id=apis-for-creating-and-navigating-browsing-contexts-by-name:concept-document-window><code>Window</code> object's <code>Document</code></a> object
-  (and the <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:dom-event-currenttarget><a href=#dom-event-currenttarget>currentTarget</a></code> set to the
-  <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:window-3><a href=#window>Window</a></code> object).</p>
+  <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-7>browsing context</a>'s <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:window-2><a href=#window>Window</a></code> object, with <i id=apis-for-creating-and-navigating-browsing-contexts-by-name:concept-event-target-override><a href=#concept-event-target-override>target override</a></i> set to the selected <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-8>browsing context</a>'s <a href=#concept-document-window id=apis-for-creating-and-navigating-browsing-contexts-by-name:concept-document-window><code>Window</code> object's <code>Document</code></a> object.</p>
 
   <p>The method must return the <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:windowproxy><a href=#windowproxy>WindowProxy</a></code> object of the <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-9>browsing context</a>
   that was navigated, or null if no browsing context was navigated.</p>
 
   <hr>
 
-  <p>The <dfn id=dom-name><code>name</code></dfn> attribute of the <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:window-4><a href=#window>Window</a></code> object
+  <p>The <dfn id=dom-name><code>name</code></dfn> attribute of the <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:window-3><a href=#window>Window</a></code> object
   must, on getting, return the current <a href=#browsing-context-name id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-name-2>name</a> of the
   <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-10>browsing context</a>, if one is set, or the empty string otherwise; and, on setting, set
   the <a href=#browsing-context-name id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-name-3>name</a> of the <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-11>browsing context</a> to the
@@ -57166,7 +57164,7 @@
 
   <hr>
 
-  <p>The <dfn id=dom-window-close><code>close()</code></dfn> method on <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:window-5><a href=#window>Window</a></code>
+  <p>The <dfn id=dom-window-close><code>close()</code></dfn> method on <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:window-4><a href=#window>Window</a></code>
   objects should, if all the following conditions are met, <a href=#close-a-browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:close-a-browsing-context>close</a> the <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-12>browsing context</a> <var>A</var>:
 
   <ul class=brief><li>The corresponding <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-13>browsing context</a> <var>A</var> is
@@ -57180,15 +57178,15 @@
   if it is a <a href=#top-level-browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:top-level-browsing-context>top-level browsing context</a> whose <a href=#session-history id=apis-for-creating-and-navigating-browsing-contexts-by-name:session-history-2>session history</a> contains
   only one <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:document><a href=#document>Document</a></code>.</p>
 
-  <p>The <dfn id=dom-window-closed><code>closed</code></dfn> attribute on <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:window-6><a href=#window>Window</a></code>
-  objects must return true if the <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:window-7><a href=#window>Window</a></code> object's <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-17>browsing context</a> has
+  <p>The <dfn id=dom-window-closed><code>closed</code></dfn> attribute on <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:window-5><a href=#window>Window</a></code>
+  objects must return true if the <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:window-6><a href=#window>Window</a></code> object's <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-17>browsing context</a> has
   been <a href=#a-browsing-context-is-discarded id=apis-for-creating-and-navigating-browsing-contexts-by-name:a-browsing-context-is-discarded>discarded</a>, and false otherwise.</p>
 
-  <p>The <dfn id=dom-window-stop><code>stop()</code></dfn> method on <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:window-8><a href=#window>Window</a></code>
+  <p>The <dfn id=dom-window-stop><code>stop()</code></dfn> method on <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:window-7><a href=#window>Window</a></code>
   objects should, if there is an existing attempt to <a href=#navigate id=apis-for-creating-and-navigating-browsing-contexts-by-name:navigate-4>navigate</a> the <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-18>browsing
   context</a> and that attempt is not currently running the <a href=#unload-a-document id=apis-for-creating-and-navigating-browsing-contexts-by-name:unload-a-document>unload a document</a>
   algorithm, cancel that <a href=#navigate id=apis-for-creating-and-navigating-browsing-contexts-by-name:navigate-5>navigation</a>; then, it must <a href=#abort-a-document id=apis-for-creating-and-navigating-browsing-contexts-by-name:abort-a-document>abort</a> the <a href=#active-document id=apis-for-creating-and-navigating-browsing-contexts-by-name:active-document>active document</a> of the <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-19>browsing
-  context</a> of the <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:window-9><a href=#window>Window</a></code> object on which it was invoked.</p>
+  context</a> of the <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:window-8><a href=#window>Window</a></code> object on which it was invoked.</p>
 
   
 
@@ -59624,8 +59622,8 @@
         <p class=note>This is specifically intended for use by the Page Visibility specification. <a href=#refsPAGEVIS>[PAGEVIS]</a></p>
 
        <li><p><a href=#concept-event-fire id=history-traversal:concept-event-fire>Fire</a> a <a href=#concept-events-trusted id=history-traversal:concept-events-trusted>trusted</a> event with the name <code id=history-traversal:event-pageshow><a href=#event-pageshow>pageshow</a></code> at the <code id=history-traversal:window><a href=#window>Window</a></code> object of that
-       <code id=history-traversal:document-16><a href=#document>Document</a></code>, but with its <code id=history-traversal:dom-event-target><a href=#dom-event-target>target</a></code> set to the
-       <code id=history-traversal:document-17><a href=#document>Document</a></code> object (and the <code id=history-traversal:dom-event-currenttarget><a href=#dom-event-currenttarget>currentTarget</a></code> set to the <code id=history-traversal:window-2><a href=#window>Window</a></code> object),
+       <code id=history-traversal:document-16><a href=#document>Document</a></code>, with <i id=history-traversal:concept-event-target-override><a href=#concept-event-target-override>target override</a></i> set to the <code id=history-traversal:document-17><a href=#document>Document</a></code>
+       object,
        using the <code id=history-traversal:pagetransitionevent><a href=#pagetransitionevent>PageTransitionEvent</a></code> interface, with the <code id=history-traversal:dom-pagetransitionevent-persisted><a href=#dom-pagetransitionevent-persisted>persisted</a></code> attribute initialised to true.
        This event must not bubble, must not be cancelable, and has no default action.</ol>
 
@@ -59666,12 +59664,12 @@
     to run the following substeps.</p>
 
     <ol><li><p>If <var>state changed</var> is true, <a href=#concept-event-fire id=history-traversal:concept-event-fire-2>fire</a> a <a href=#concept-events-trusted id=history-traversal:concept-events-trusted-2>trusted</a>
-     event with the name <code id=history-traversal:event-popstate><a href=#event-popstate>popstate</a></code> at the <code id=history-traversal:window-3><a href=#window>Window</a></code>
+     event with the name <code id=history-traversal:event-popstate><a href=#event-popstate>popstate</a></code> at the <code id=history-traversal:window-2><a href=#window>Window</a></code>
      object of the <code id=history-traversal:document-21><a href=#document>Document</a></code>, using the <code id=history-traversal:popstateevent><a href=#popstateevent>PopStateEvent</a></code> interface, with the
      <code id=history-traversal:dom-popstateevent-state><a href=#dom-popstateevent-state>state</a></code> attribute initialised to the value of <var>state</var>. This event must bubble but not be cancelable and has no default
      action.<li><p>If <var>hash changed</var> is true, then <a href=#concept-event-fire id=history-traversal:concept-event-fire-3>fire</a> a <a href=#concept-events-trusted id=history-traversal:concept-events-trusted-3>trusted</a>
      event with the name <code id=history-traversal:event-hashchange><a href=#event-hashchange>hashchange</a></code> at the <a href=#browsing-context id=history-traversal:browsing-context-4>browsing
-     context</a>'s <code id=history-traversal:window-4><a href=#window>Window</a></code> object, using the <code id=history-traversal:hashchangeevent><a href=#hashchangeevent>HashChangeEvent</a></code> interface,
+     context</a>'s <code id=history-traversal:window-3><a href=#window>Window</a></code> object, using the <code id=history-traversal:hashchangeevent><a href=#hashchangeevent>HashChangeEvent</a></code> interface,
      with the <code id=history-traversal:dom-hashchangeevent-oldurl><a href=#dom-hashchangeevent-oldurl>oldURL</a></code> attribute initialised to <var>old URL</var> and the <code id=history-traversal:dom-hashchangeevent-newurl><a href=#dom-hashchangeevent-newurl>newURL</a></code> attribute
      initialised to <var>new URL</var>. This event must bubble but not be cancelable and
      has no default action.</ol>
@@ -59865,9 +59863,8 @@
    one.<li><p>If the <code id=unloading-documents:document-9><a href=#document>Document</a></code>'s <a href=#page-showing id=unloading-documents:page-showing-2>page showing</a> flag is false, then jump to the
    step labeled <i>unload event</i> below (i.e. skip firing the <code id=unloading-documents:event-pagehide-3><a href=#event-pagehide>pagehide</a></code> event and don't rerun the <a href=#unloading-document-visibility-change-steps id=unloading-documents:unloading-document-visibility-change-steps>unloading document
    visibility change steps</a>).<li><p>Set the <code id=unloading-documents:document-10><a href=#document>Document</a></code>'s <a href=#page-showing id=unloading-documents:page-showing-3>page showing</a> flag to false.<li><p><a href=#concept-event-fire id=unloading-documents:concept-event-fire>Fire</a> a <a href=#concept-events-trusted id=unloading-documents:concept-events-trusted-2>trusted</a> event with the name <code id=unloading-documents:event-pagehide-4><a href=#event-pagehide>pagehide</a></code> at the <code id=unloading-documents:window-2><a href=#window>Window</a></code> object of the
-   <code id=unloading-documents:document-11><a href=#document>Document</a></code>, but with its <code id=unloading-documents:dom-event-target><a href=#dom-event-target>target</a></code> set to the
-   <code id=unloading-documents:document-12><a href=#document>Document</a></code> object (and the <code id=unloading-documents:dom-event-currenttarget><a href=#dom-event-currenttarget>currentTarget</a></code>
-   set to the <code id=unloading-documents:window-3><a href=#window>Window</a></code> object), using the <code id=unloading-documents:pagetransitionevent><a href=#pagetransitionevent>PageTransitionEvent</a></code> interface,
+   <code id=unloading-documents:document-11><a href=#document>Document</a></code>, with <i id=unloading-documents:concept-event-target-override><a href=#concept-event-target-override>target override</a></i> set to the <code id=unloading-documents:document-12><a href=#document>Document</a></code>
+   object, using the <code id=unloading-documents:pagetransitionevent><a href=#pagetransitionevent>PageTransitionEvent</a></code> interface,
    with the <code id=unloading-documents:dom-pagetransitionevent-persisted><a href=#dom-pagetransitionevent-persisted>persisted</a></code> attribute initialized
    to true if the <code id=unloading-documents:document-13><a href=#document>Document</a></code> object's <i id=unloading-documents:concept-document-salvageable-4><a href=#concept-document-salvageable>salvageable</a></i> state is true, and false otherwise. This
    event must not bubble, must not be cancelable, and has no default action.<li>
@@ -59879,7 +59876,7 @@
 
    <li><p><i>Unload event</i>: If the <code id=unloading-documents:document-15><a href=#document>Document</a></code>'s <a href=#fired-unload id=unloading-documents:fired-unload>fired unload</a> flag is
    false, <a href=#fire-a-simple-event id=unloading-documents:fire-a-simple-event>fire a simple event</a> named <code id=unloading-documents:event-unload><a href=#event-unload>unload</a></code> at the
-   <code id=unloading-documents:document-16><a href=#document>Document</a></code>'s <code id=unloading-documents:window-4><a href=#window>Window</a></code> object, with <i id=unloading-documents:concept-event-target-override><a href=#concept-event-target-override>target override</a></i> set to the
+   <code id=unloading-documents:document-16><a href=#document>Document</a></code>'s <code id=unloading-documents:window-3><a href=#window>Window</a></code> object, with <i id=unloading-documents:concept-event-target-override-2><a href=#concept-event-target-override>target override</a></i> set to the
    <code id=unloading-documents:document-17><a href=#document>Document</a></code> object.<li><p>Decrease the <a href=#event-loop id=unloading-documents:event-loop-5>event loop</a>'s <a href=#termination-nesting-level id=unloading-documents:termination-nesting-level-4>termination nesting level</a> by
    one.<li><p>Release the <a href=#storage-mutex id=unloading-documents:storage-mutex-2>storage mutex</a>.<li><p>If any event listeners were triggered by the earlier <i>unload event</i> step, then set
    the <code id=unloading-documents:document-18><a href=#document>Document</a></code> object's <i id=unloading-documents:concept-document-salvageable-5><a href=#concept-document-salvageable>salvageable</a></i> state
@@ -59910,15 +59907,15 @@
   <ol><li>
 
     <p><a href=#make-disappear id=unloading-documents:make-disappear>Make disappear</a> any <code id=unloading-documents:websocket><a href=#websocket>WebSocket</a></code> objects that were created by the <code id=unloading-documents:dom-websocket><a href=#dom-websocket>WebSocket()</a></code> constructor from the
-    <code id=unloading-documents:document-25><a href=#document>Document</a></code>'s <code id=unloading-documents:window-5><a href=#window>Window</a></code> object.</p>
+    <code id=unloading-documents:document-25><a href=#document>Document</a></code>'s <code id=unloading-documents:window-4><a href=#window>Window</a></code> object.</p>
 
     <p>If this affected any <code id=unloading-documents:websocket-2><a href=#websocket>WebSocket</a></code> objects, then set <code id=unloading-documents:document-26><a href=#document>Document</a></code>'s <i id=unloading-documents:concept-document-salvageable-9><a href=#concept-document-salvageable>salvageable</a></i> state to false.</p>
 
    <li><p>If the <code id=unloading-documents:document-27><a href=#document>Document</a></code>'s <i id=unloading-documents:concept-document-salvageable-10><a href=#concept-document-salvageable>salvageable</a></i>
    state is false, <a href=#concept-eventsource-forcibly-close id=unloading-documents:concept-eventsource-forcibly-close>forcibly close</a> any
    <code id=unloading-documents:eventsource><a href=#eventsource>EventSource</a></code> objects that whose constructor was invoked from the
-   <code id=unloading-documents:document-28><a href=#document>Document</a></code>'s <code id=unloading-documents:window-6><a href=#window>Window</a></code> object.<li><p>If the <code id=unloading-documents:document-29><a href=#document>Document</a></code>'s <i id=unloading-documents:concept-document-salvageable-11><a href=#concept-document-salvageable>salvageable</a></i>
-   state is false, empty the <code id=unloading-documents:document-30><a href=#document>Document</a></code>'s <code id=unloading-documents:window-7><a href=#window>Window</a></code>'s <a href=#list-of-active-timers id=unloading-documents:list-of-active-timers>list of active
+   <code id=unloading-documents:document-28><a href=#document>Document</a></code>'s <code id=unloading-documents:window-5><a href=#window>Window</a></code> object.<li><p>If the <code id=unloading-documents:document-29><a href=#document>Document</a></code>'s <i id=unloading-documents:concept-document-salvageable-11><a href=#concept-document-salvageable>salvageable</a></i>
+   state is false, empty the <code id=unloading-documents:document-30><a href=#document>Document</a></code>'s <code id=unloading-documents:window-6><a href=#window>Window</a></code>'s <a href=#list-of-active-timers id=unloading-documents:list-of-active-timers>list of active
    timers</a>.</ol>
 
   
@@ -65386,14 +65383,16 @@
   readonly attribute DOMString <a href=#dom-messageevent-lasteventid id=the-messageevent-interfaces:dom-messageevent-lasteventid>lastEventId</a>;
   readonly attribute (<a href=#windowproxy id=the-messageevent-interfaces:windowproxy>WindowProxy</a> or <a href=#messageport id=the-messageevent-interfaces:messageport>MessagePort</a>)? <a href=#dom-messageevent-source id=the-messageevent-interfaces:dom-messageevent-source>source</a>;
   readonly attribute <a href=#messageport id=the-messageevent-interfaces:messageport-2>MessagePort</a>[]? <a href=#dom-messageevent-ports id=the-messageevent-interfaces:dom-messageevent-ports>ports</a>;
+
+  void <a href=#dom-messageevent-initmessageevent id=the-messageevent-interfaces:dom-messageevent-initmessageevent>initMessageEvent</a>(in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in any dataArg, in DOMString originArg, in DOMString lastEventIdArg, in (<a href=#windowproxy id=the-messageevent-interfaces:windowproxy-2>WindowProxy</a> or <a href=#messageport id=the-messageevent-interfaces:messageport-3>MessagePort</a>) sourceArg, in <a href=#messageport id=the-messageevent-interfaces:messageport-4>MessagePort</a>[]? portsArg);
 };
 
 dictionary <dfn id=messageeventinit>MessageEventInit</dfn> : <a href=#eventinit id=the-messageevent-interfaces:eventinit>EventInit</a> {
   any data;
   DOMString origin;
   DOMString lastEventId;
-  (<a href=#windowproxy id=the-messageevent-interfaces:windowproxy-2>WindowProxy</a> or <a href=#messageport id=the-messageevent-interfaces:messageport-3>MessagePort</a>)? source;
-  sequence<<a href=#messageport id=the-messageevent-interfaces:messageport-4>MessagePort</a>> ports;
+  (<a href=#windowproxy id=the-messageevent-interfaces:windowproxy-3>WindowProxy</a> or <a href=#messageport id=the-messageevent-interfaces:messageport-5>MessagePort</a>)? source;
+  sequence<<a href=#messageport id=the-messageevent-interfaces:messageport-6>MessagePort</a>> ports;
 };</pre>
 
   <dl class=domintro><dt><var>event</var> . <code id=the-messageevent-interfaces:dom-messageevent-data-2><a href=#dom-messageevent-data>data</a></code><dd>
@@ -65412,13 +65411,13 @@
 
    <dt><var>event</var> . <code id=the-messageevent-interfaces:dom-messageevent-source-2><a href=#dom-messageevent-source>source</a></code><dd>
 
-    <p>Returns the <code id=the-messageevent-interfaces:windowproxy-3><a href=#windowproxy>WindowProxy</a></code> of the source window, for <a href=#web-messaging id=the-messageevent-interfaces:web-messaging-3>cross-document
-    messaging</a>, and the <code id=the-messageevent-interfaces:messageport-5><a href=#messageport>MessagePort</a></code> being attached, in the <code id=the-messageevent-interfaces:event-workerglobalscope-connect><a href=#event-workerglobalscope-connect>connect</a></code> event fired at
+    <p>Returns the <code id=the-messageevent-interfaces:windowproxy-4><a href=#windowproxy>WindowProxy</a></code> of the source window, for <a href=#web-messaging id=the-messageevent-interfaces:web-messaging-3>cross-document
+    messaging</a>, and the <code id=the-messageevent-interfaces:messageport-7><a href=#messageport>MessagePort</a></code> being attached, in the <code id=the-messageevent-interfaces:event-workerglobalscope-connect><a href=#event-workerglobalscope-connect>connect</a></code> event fired at
     <code id=the-messageevent-interfaces:sharedworkerglobalscope><a href=#sharedworkerglobalscope>SharedWorkerGlobalScope</a></code> objects.</p>
 
    <dt><var>event</var> . <code id=the-messageevent-interfaces:dom-messageevent-ports-2><a href=#dom-messageevent-ports>ports</a></code><dd>
 
-    <p>Returns the <code id=the-messageevent-interfaces:messageport-6><a href=#messageport>MessagePort</a></code> array sent with the message, for <a href=#web-messaging id=the-messageevent-interfaces:web-messaging-4>cross-document
+    <p>Returns the <code id=the-messageevent-interfaces:messageport-8><a href=#messageport>MessagePort</a></code> array sent with the message, for <a href=#web-messaging id=the-messageevent-interfaces:web-messaging-4>cross-document
     messaging</a> and <a href=#channel-messaging id=the-messageevent-interfaces:channel-messaging-2>channel messaging</a>.</p>
 
    </dl>
@@ -65441,20 +65440,24 @@
 
   <p>The <dfn id=dom-messageevent-source><code>source</code></dfn> attribute must return the
   value it was initialised to. When the object is created, this attribute must be initialised to
-  null. It represents, in <a href=#web-messaging id=the-messageevent-interfaces:web-messaging-6>cross-document messaging</a>, the <code id=the-messageevent-interfaces:windowproxy-4><a href=#windowproxy>WindowProxy</a></code> of the
+  null. It represents, in <a href=#web-messaging id=the-messageevent-interfaces:web-messaging-6>cross-document messaging</a>, the <code id=the-messageevent-interfaces:windowproxy-5><a href=#windowproxy>WindowProxy</a></code> of the
   <a href=#browsing-context id=the-messageevent-interfaces:browsing-context>browsing context</a> of the <code id=the-messageevent-interfaces:window><a href=#window>Window</a></code> object from which the message came; and
   in the <code id=the-messageevent-interfaces:event-workerglobalscope-connect-2><a href=#event-workerglobalscope-connect>connect</a></code> events used by <a href=#sharedworkerglobalscope id=the-messageevent-interfaces:sharedworkerglobalscope-2>shared workers</a>, the newly connecting
-  <code id=the-messageevent-interfaces:messageport-7><a href=#messageport>MessagePort</a></code>.</p>
+  <code id=the-messageevent-interfaces:messageport-9><a href=#messageport>MessagePort</a></code>.</p>
 
   <p>The <dfn id=dom-messageevent-ports><code>ports</code></dfn> attribute must return the
   value it was initialised to. When the object is created, this attribute must be initialised to
   null. It represents, in
   <a href=#web-messaging id=the-messageevent-interfaces:web-messaging-7>cross-document messaging</a> and <a href=#channel-messaging id=the-messageevent-interfaces:channel-messaging-3>channel messaging</a>, the
-  <code id=the-messageevent-interfaces:messageport-8><a href=#messageport>MessagePort</a></code> array being sent, if any.</p>
+  <code id=the-messageevent-interfaces:messageport-10><a href=#messageport>MessagePort</a></code> array being sent, if any.</p>
 
   
+  <p>The <dfn id=dom-messageevent-initmessageevent><code>initMessageEvent()</code></dfn>
+  method must initialise the event in a manner analogous to the similarly-named <code id=the-messageevent-interfaces:dom-event-initevent><a href=#dom-event-initevent>initEvent()</a></code> method. <a href=#refsDOM>[DOM]</a></p>
 
+  
 
+
   <h3 id=server-sent-events>9.2 <dfn>Server-sent events</dfn></h3>
 
   <h4 id=server-sent-events-intro>9.2.1 Introduction</h4>
@@ -75809,8 +75812,8 @@
 
     <ol><li><p>If the <code id=the-end:document-8><a href=#document>Document</a></code>'s <a href=#page-showing id=the-end:page-showing>page showing</a> flag is true, then abort this
      task (i.e. don't fire the event below).<li><p>Set the <code id=the-end:document-9><a href=#document>Document</a></code>'s <a href=#page-showing id=the-end:page-showing-2>page showing</a> flag to true.<li><p><a href=#concept-event-fire id=the-end:concept-event-fire>Fire</a> a <a href=#concept-events-trusted id=the-end:concept-events-trusted>trusted</a> event with the name <code id=the-end:event-pageshow><a href=#event-pageshow>pageshow</a></code> at the <code id=the-end:window-2><a href=#window>Window</a></code> object of the
-     <code id=the-end:document-10><a href=#document>Document</a></code>, but with its <code id=the-end:dom-event-target><a href=#dom-event-target>target</a></code> set to the
-     <code id=the-end:document-11><a href=#document>Document</a></code> object (and the <code id=the-end:dom-event-currenttarget><a href=#dom-event-currenttarget>currentTarget</a></code> set to the <code id=the-end:window-3><a href=#window>Window</a></code> object),
+     <code id=the-end:document-10><a href=#document>Document</a></code>, with <i id=the-end:concept-event-target-override-2><a href=#concept-event-target-override>target override</a></i> set to the <code id=the-end:document-11><a href=#document>Document</a></code>
+     object,
      using the <code id=the-end:pagetransitionevent><a href=#pagetransitionevent>PageTransitionEvent</a></code> interface, with the <code id=the-end:dom-pagetransitionevent-persisted><a href=#dom-pagetransitionevent-persisted>persisted</a></code> attribute initialised to false. This
      event must not bubble, must not be cancelable, and has no default action.</ol>
 

Modified: source
===================================================================
--- source	2014-08-05 19:57:48 UTC (rev 8710)
+++ source	2014-08-05 22:33:37 UTC (rev 8711)
@@ -2908,6 +2908,7 @@
      <li><dfn><code data-x="dom-Event-target">target</code></dfn> attribute</li>
      <li><dfn><code data-x="dom-Event-currentTarget">currentTarget</code></dfn> attribute</li>
      <li><dfn><code data-x="dom-Event-isTrusted">isTrusted</code></dfn> attribute</li>
+     <li><dfn><code data-x="dom-Event-initEvent">initEvent()</code></dfn> method</li>
      <li><dfn><code data-x="dom-EventTarget-addEventListener">addEventListener()</code></dfn> method</li>
      <li>The <dfn data-x="concept-event-type">type</dfn> of an event</li>
      <li>The concept of an <dfn data-x=concept-event-listener>event listener</dfn> and the <span data-x=concept-event-listener>event listeners</span> associated with an <code>EventTarget</code></li>
@@ -88629,6 +88630,8 @@
   readonly attribute DOMString <span data-x="dom-MessageEvent-lastEventId">lastEventId</span>;
   readonly attribute (<span>WindowProxy</span> or <span>MessagePort</span>)? <span data-x="dom-MessageEvent-source">source</span>;
   readonly attribute <span>MessagePort</span>[]? <span data-x="dom-MessageEvent-ports">ports</span>;
+
+  void <span data-x="dom-MessageEvent-initMessageEvent">initMessageEvent</span>(in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in any dataArg, in DOMString originArg, in DOMString lastEventIdArg, in (<span>WindowProxy</span> or <span>MessagePort</span>) sourceArg, in <span>MessagePort</span>[]? portsArg);
 };
 
 dictionary <dfn>MessageEventInit</dfn> : <span>EventInit</span> {
@@ -88687,6 +88690,8 @@
 
    </dd>
 
+   <!-- initMessageEvent is deprecated -->
+
   </dl>
 
   <div w-nodev>
@@ -88720,6 +88725,11 @@
   <span>cross-document messaging</span> and <span>channel messaging</span>, the
   <code>MessagePort</code> array being sent, if any.</p>
 
+  <!-- handwave this one since it's deprecated anyway... let me know if there's interop issues -->
+  <p>The <dfn><code data-x="dom-MessageEvent-initMessageEvent">initMessageEvent()</code></dfn>
+  method must initialise the event in a manner analogous to the similarly-named <code
+  data-x="dom-Event-initEvent">initEvent()</code> method. <ref spec=DOM></p>
+
   </div>
 
 



More information about the Commit-Watchers mailing list