[html5] r4524 - [e] (0) Change the algorithm to avoid step 3 being a no-op. This will all become [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Jan 6 03:45:34 PST 2010


Author: ianh
Date: 2010-01-06 03:45:27 -0800 (Wed, 06 Jan 2010)
New Revision: 4524

Modified:
   complete.html
   index
   source
Log:
[e] (0) Change the algorithm to avoid step 3 being a no-op. This will all become moot when I merge the -2 and -3 variants of this algorithm together.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8513

Modified: complete.html
===================================================================
--- complete.html	2010-01-06 11:38:21 UTC (rev 4523)
+++ complete.html	2010-01-06 11:45:27 UTC (rev 4524)
@@ -67763,9 +67763,10 @@
 
    <li> <!-- NEW STEP -->
 
-    <p>If the <var title="">ports</var> argument is null, then
-    act as if the method had just been <a href=#dom-window-postmessage-2 title=dom-window-postMessage-2>called with two arguments</a>,
-    <var title="">message</var> and <var title="">targetOrigin</var>.</p>
+    <p>If the <var title="">ports</var> argument is empty<!-- or null
+    (if we make it nullable)-->, then act as if the method had just
+    been <a href=#dom-window-postmessage-2 title=dom-window-postMessage-2>called with two
+    arguments</a>, <var title="">message</var> and <var title="">targetOrigin</var>.</p>
 
    </li>
 
@@ -67787,11 +67788,11 @@
     port with the <code><a href=#window>Window</a></code> object on which the method was
     invoked as the owner of the clone, and append the clone to the
     <var title="">new ports</var> array.</p>
-
-    <p class=note>If the original <var title="">ports</var>
+<!--
+    <p class="note">If the original <var title="">ports</var>
     array was empty, then the <var title="">new ports</var> array will
     also be empty.</p>
-
+-->
    </li>
 
    <li>

Modified: index
===================================================================
--- index	2010-01-06 11:38:21 UTC (rev 4523)
+++ index	2010-01-06 11:45:27 UTC (rev 4524)
@@ -59390,9 +59390,10 @@
 
    <li> <!-- NEW STEP -->
 
-    <p>If the <var title="">ports</var> argument is null, then
-    act as if the method had just been <a href=#dom-window-postmessage-2 title=dom-window-postMessage-2>called with two arguments</a>,
-    <var title="">message</var> and <var title="">targetOrigin</var>.</p>
+    <p>If the <var title="">ports</var> argument is empty<!-- or null
+    (if we make it nullable)-->, then act as if the method had just
+    been <a href=#dom-window-postmessage-2 title=dom-window-postMessage-2>called with two
+    arguments</a>, <var title="">message</var> and <var title="">targetOrigin</var>.</p>
 
    </li>
 
@@ -59414,11 +59415,11 @@
     port with the <code><a href=#window>Window</a></code> object on which the method was
     invoked as the owner of the clone, and append the clone to the
     <var title="">new ports</var> array.</p>
-
-    <p class=note>If the original <var title="">ports</var>
+<!--
+    <p class="note">If the original <var title="">ports</var>
     array was empty, then the <var title="">new ports</var> array will
     also be empty.</p>
-
+-->
    </li>
 
    <li>

Modified: source
===================================================================
--- source	2010-01-06 11:38:21 UTC (rev 4523)
+++ source	2010-01-06 11:45:27 UTC (rev 4524)
@@ -77283,10 +77283,10 @@
 
    <li> <!-- NEW STEP -->
 
-    <p>If the <var title="">ports</var> argument is null, then
-    act as if the method had just been <span
-    title="dom-window-postMessage-2">called with two arguments</span>,
-    <var title="">message</var> and <var
+    <p>If the <var title="">ports</var> argument is empty<!-- or null
+    (if we make it nullable)-->, then act as if the method had just
+    been <span title="dom-window-postMessage-2">called with two
+    arguments</span>, <var title="">message</var> and <var
     title="">targetOrigin</var>.</p>
 
    </li>
@@ -77311,11 +77311,11 @@
     port with the <code>Window</code> object on which the method was
     invoked as the owner of the clone, and append the clone to the
     <var title="">new ports</var> array.</p>
-
+<!--
     <p class="note">If the original <var title="">ports</var>
     array was empty, then the <var title="">new ports</var> array will
     also be empty.</p>
-
+-->
    </li>
 
    <li>




More information about the Commit-Watchers mailing list