bug in IDL
authorRobin Berjon <robin@berjon.com>
Thu, 21 Jun 2012 13:41:40 +0200
changeset 22 32702e3b4211
parent 21 4c60426e724b
child 23 fe38869c2271
bug in IDL
snapshots/FPWD.html
spec/Overview-respec.html
--- a/snapshots/FPWD.html	Thu Jun 21 13:23:09 2012 +0200
+++ b/snapshots/FPWD.html	Thu Jun 21 13:41:40 2012 +0200
@@ -5,7 +5,7 @@
     <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
     
     
-  <style>/*****************************************************************
+  <style type="text/css">/*****************************************************************
  * ReSpec 3 CSS
  * Robin Berjon - http://berjon.com/
  *****************************************************************/
@@ -327,7 +327,7 @@
 .section dl.attrs dd, .section dl.eldef dd {
     margin-bottom:  0;
 }
-</style><style>/* --- EXAMPLES --- */
+</style><style type="text/css">/* --- EXAMPLES --- */
 div.example-title {
     min-width: 7.5em;
     color: #b9ab2d;
@@ -350,7 +350,7 @@
     border-color: #e0cb52;
     background: #fcfaee;    
 }
-</style><style>/* HIGHLIGHTS */
+</style><style type="text/css">/* HIGHLIGHTS */
 code.prettyprint {
     color:  inherit;
 }
@@ -400,8 +400,8 @@
         2011-2012
         
         <a href="http://www.w3.org/"><acronym title="World Wide Web Consortium">W3C</acronym></a><sup>®</sup> 
-        <a href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute of Technology">MIT</acronym></a>
-        <a href="http://www.ercim.eu/"><acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>
+        <a href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute of Technology">MIT</acronym></a>,
+        <a href="http://www.ercim.eu/"><acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>,
         <a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved.
         <acronym title="World Wide Web Consortium">W3C</acronym> <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>,
         <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and
@@ -453,7 +453,7 @@
         </p>
         
           <p>
-            Publication as a First Public Working Draft does not imply endorsement by the <acronym title="World Wide Web Consortium">W3C</acronym> Membership.
+            Publication as a Working Draft does not imply endorsement by the <acronym title="World Wide Web Consortium">W3C</acronym> Membership.
             This is a draft document and may be updated, replaced or obsoleted by other documents at 
             any time. It is inappropriate to cite this document as other than work in progress.
           </p>
@@ -718,7 +718,7 @@
 <span class="idlAttribute">    readonly attribute <span class="idlAttrType"><a>any</a></span>           <span class="idlAttrName"><a href="#widl-Intent-data">data</a></span>;</span>
 <span class="idlAttribute">    readonly attribute <span class="idlAttrType"><a>MessagePort</a>[]</span> <span class="idlAttrName"><a href="#widl-Intent-ports">ports</a></span>;</span>
 <span class="idlMethod">    <span class="idlMethType"><a>DOMString</a></span> <span class="idlMethName"><a href="#widl-Intent-getExtra-DOMString-DOMString-key">getExtra</a></span> (<span class="idlParam"><span class="idlParamType"><a>DOMString</a></span> <span class="idlParamName">key</span></span>);</span>
-<span class="idlMethod">    <span class="idlMethType"><a>void</a></span>      <span class="idlMethName"><a href="#widl-Intent-postResult-void-any-data--sequence-Transferable">postResult</a></span> (<span class="idlParam"><span class="idlParamType"><a>any</a></span> <span class="idlParamName">data</span></span>, <span class="idlParam">optional <span class="idlParamType"><a></a></span> <span class="idlParamName">sequence<transferable></transferable></span></span>);</span>
+<span class="idlMethod">    <span class="idlMethType"><a>void</a></span>      <span class="idlMethName"><a href="#widl-Intent-postResult-void-any-data-sequence-Transferable--transferable">postResult</a></span> (<span class="idlParam"><span class="idlParamType"><a>any</a></span> <span class="idlParamName">data</span></span>, <span class="idlParam">optional <span class="idlParamType">sequence&lt;<a>Transferable</a>&gt;</span> <span class="idlParamName">transferable</span></span>);</span>
 <span class="idlMethod">    <span class="idlMethType"><a>void</a></span>      <span class="idlMethName"><a href="#widl-Intent-postFailure-void-any-data">postFailure</a></span> (<span class="idlParam"><span class="idlParamType"><a>any</a></span> <span class="idlParamName">data</span></span>);</span>
 };</span>
 </pre><div class="section" id="attributes"><h2><span class="secno">3.2.1 </span>Attributes</h2><dl class="attributes"><dt id="widl-Intent-action"><code>action</code> of type <span class="idlAttrType"><a>DOMString</a></span>, readonly</dt><dd>This is an opaque string. Chosen strings <em title="should" class="rfc2119">should</em> be namespaced by a
@@ -735,13 +735,13 @@
           page.</b> The payload passed to this method will be returned to the onFailure
         callback registered by the client page in the startActivity call (if any).
         The playload must be an object upon which the structured clone algorithm
-        can be performed, including Transferables. [<cite><a href="#bib-HTML5" rel="biblioentry" class="bibref">HTML5</a></cite>]<table class="parameters"><tr><th>Parameter</th><th>Type</th><th>Nullable</th><th>Optional</th><th>Description</th></tr><tr><td class="prmName">data</td><td class="prmType"><code><a>any</a></code></td><td class="prmNullFalse">✘</td><td class="prmOptFalse">✘</td><td class="prmDesc"></td></tr></table><div><em>Return type: </em><code><a>void</a></code></div></dd><dt id="widl-Intent-postResult-void-any-data--sequence-Transferable"><code>postResult</code></dt><dd><b>Only present when the Intent object is delivered to the
+        can be performed, including Transferables. [<cite><a href="#bib-HTML5" rel="biblioentry" class="bibref">HTML5</a></cite>]<table class="parameters"><tr><th>Parameter</th><th>Type</th><th>Nullable</th><th>Optional</th><th>Description</th></tr><tr><td class="prmName">data</td><td class="prmType"><code><a>any</a></code></td><td class="prmNullFalse">✘</td><td class="prmOptFalse">✘</td><td class="prmDesc"></td></tr></table><div><em>Return type: </em><code><a>void</a></code></div></dd><dt id="widl-Intent-postResult-void-any-data-sequence-Transferable--transferable"><code>postResult</code></dt><dd><b>Only present when the Intent object is delivered to the
           Service page.</b> The payload passed to this method will be returned to the onSuccess
         callback registered by the client page in the startActivity call (if any).
         The payload must be an object upon which the structured clone algorithm can be
         performed. The Transferables array, if present, will specify
         transferable elements in the |data| payload argument, as per
-        [<cite><a href="#bib-HTML5" rel="biblioentry" class="bibref">HTML5</a></cite>] [<cite><a href="#bib-POSTMSG" rel="biblioentry" class="bibref">POSTMSG</a></cite>]<table class="parameters"><tr><th>Parameter</th><th>Type</th><th>Nullable</th><th>Optional</th><th>Description</th></tr><tr><td class="prmName">data</td><td class="prmType"><code><a>any</a></code></td><td class="prmNullFalse">✘</td><td class="prmOptFalse">✘</td><td class="prmDesc"></td></tr><tr><td class="prmName">sequence&lt;Transferable&gt;</td><td class="prmType"><code><a></a></code></td><td class="prmNullFalse">✘</td><td class="prmOptTrue">✔</td><td class="prmDesc"></td></tr></table><div><em>Return type: </em><code><a>void</a></code></div></dd></dl></div>
+        [<cite><a href="#bib-HTML5" rel="biblioentry" class="bibref">HTML5</a></cite>] [<cite><a href="#bib-POSTMSG" rel="biblioentry" class="bibref">POSTMSG</a></cite>]<table class="parameters"><tr><th>Parameter</th><th>Type</th><th>Nullable</th><th>Optional</th><th>Description</th></tr><tr><td class="prmName">data</td><td class="prmType"><code><a>any</a></code></td><td class="prmNullFalse">✘</td><td class="prmOptFalse">✘</td><td class="prmDesc"></td></tr><tr><td class="prmName">transferable</td><td class="prmType"><code>sequence&lt;<a>Transferable</a>&gt;</code></td><td class="prmNullFalse">✘</td><td class="prmOptTrue">✔</td><td class="prmDesc"></td></tr></table><div><em>Return type: </em><code><a>void</a></code></div></dd></dl></div>
       <p>
       Notes on the intent object: The transferList parameter is not available
       post-creation. It becomes an internal implementation detail directing the
--- a/spec/Overview-respec.html	Thu Jun 21 13:23:09 2012 +0200
+++ b/spec/Overview-respec.html	Thu Jun 21 13:41:40 2012 +0200
@@ -308,7 +308,7 @@
         <dd>Retrieves the value (if any) from the extra data dictionary this
         intent was constructed with.</dd>
 
-        <dt>void postResult(any data, optional sequence&lt;Transferable&gt;)</dt>
+        <dt>void postResult(any data, optional sequence&lt;Transferable&gt; transferable)</dt>
         <dd><b>Only present when the Intent object is delivered to the
           Service page.</b> The payload passed to this method will be returned to the onSuccess
         callback registered by the client page in the startActivity call (if any).