hixie: 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. (whatwg r4524)

hixie: 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. (whatwg r4524)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3620&r2=1.3621&f=h
http://html5.org/tools/web-apps-tracker?from=4523&to=4524

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3620
retrieving revision 1.3621
diff -u -d -r1.3620 -r1.3621
--- Overview.html 6 Jan 2010 11:38:32 -0000 1.3620
+++ Overview.html 6 Jan 2010 11:45:39 -0000 1.3621
@@ -53187,9 +53187,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>
 
@@ -53211,11 +53212,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>
     array was empty, then the <var title="">new ports</var> array will
     also be empty.</p>
-
+-->
    </li>
 
    <li>

Received on Wednesday, 6 January 2010 11:46:17 UTC