[html5] r2954 - [e] (0) Refer to ECMAScript as JavaScript more consistently; add the various MIM [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Apr 1 17:48:55 PDT 2009


Author: ianh
Date: 2009-04-01 17:48:54 -0700 (Wed, 01 Apr 2009)
New Revision: 2954

Modified:
   index
   source
Log:
[e] (0) Refer to ECMAScript as JavaScript more consistently; add the various MIME types that JavaScript is sometimes known as.

Modified: index
===================================================================
--- index	2009-04-01 18:21:44 UTC (rev 2953)
+++ index	2009-04-02 00:48:54 UTC (rev 2954)
@@ -39,7 +39,7 @@
   <div class=head>
    <p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
    <h1>HTML 5</h1>
-   <h2 class="no-num no-toc" id=draft-recommendation-—-date:-01-jan-1901>Draft Recommendation — 1 April 2009</h2>
+   <h2 class="no-num no-toc" id=draft-recommendation-—-date:-01-jan-1901>Draft Recommendation — 2 April 2009</h2>
    <p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <dl><dt>Multiple-page version:</dt>
@@ -1375,7 +1375,7 @@
   being referred to, they are referred to as <dfn id=content-attributes>content
   attributes</dfn> for HTML and XML attributes, and <dfn id=dom-attributes>DOM
   attributes</dfn> for those from the DOM. Similarly, the term
-  "properties" is used for both ECMAScript object properties and CSS
+  "properties" is used for both JavaScript object properties and CSS
   properties. When these are ambiguous they are qualified as object
   properties and CSS properties respectively.</p>
 
@@ -1875,16 +1875,18 @@
 
    </dd>
 
-   <dt>ECMAScript</dt>
+   <dt>JavaScript</dt>
 
    <dd>
 
     <p>Some parts of the language described by this specification only
-    support ECMAScript as the underlying scripting language. <a href=#refsECMAScript>[ECMAScript]</a></p>
+    support JavaScript as the underlying scripting language. <a href=#refsECMA262>[ECMA262]</a></p>
 
-    <p class=note>The MIME type used to refer to ECMAScript in this
-    specification is <code title="">text/javascript</code>. This is a
-    willful violation of RFC 4329. <a href=#refsRFC4329>[RFC4329]</a></p>
+    <p class=note>The term "JavaScript" is used to refer to ECMA262,
+    rather than the official term ECMAScript, since the term
+    JavaScript is more widely known. Similarly, the MIME type used to
+    refer to JavaScript in this specification is <code title="">text/javascript</code>, since that is the most commonly
+    used type. This is a willful violation of RFC 4329. <a href=#refsRFC4329>[RFC4329]</a></p>
 
    </dd>
 
@@ -1897,12 +1899,12 @@
 
    </dd>
 
-  </dl><p>This specification does not require support of any particular
-  network transport protocols, style sheet language, scripting
-  language, or any of the DOM and WebAPI specifications beyond those
-  described above. However, the language described by this
-  specification is biased towards CSS as the styling language,
-  ECMAScript as the scripting language, and HTTP as the network
+  </dl><p>This specification does not <em>require</em> support of any
+  particular network transport protocols, style sheet language,
+  scripting language, or any of the DOM and WebAPI specifications
+  beyond those described above. However, the language described by
+  this specification is biased towards CSS as the styling language,
+  JavsScript as the scripting language, and HTTP as the network
   protocol, and several features assume that those languages and
   protocols are in use.</p>
 
@@ -2353,7 +2355,7 @@
 
   <p>The <dfn id=best-representation-of-the-floating-point-number>best representation of the floating point number</dfn>
   <var title="">n</var> is the string obtained from applying the
-  ECMAScript operator ToString to <var title="">n</var>.</p>
+  JavaScript operator ToString to <var title="">n</var>.</p>
 
   <p>The <dfn id=rules-for-parsing-floating-point-number-values>rules for parsing floating point number values</dfn> are
   as given in the following algorithm. As with the previous
@@ -8962,7 +8964,7 @@
    <code><a href=#navigator>Navigator</a></code>, and <code><a href=#selection-0>Selection</a></code> objects, the
    various <code><a href=#barprop>BarProp</a></code> objects, the two <code>Storage</code>
    objects, and the various <code><a href=#htmlcollection-0>HTMLCollection</a></code> objects. It
-   also includes all the WebIDL prototypes in the ECMAScript binding,
+   also includes all the WebIDL prototypes in the JavaScript binding,
    including the <code>Document</code> object's prototype.)</li>
 
    <!-- http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E...%3Ciframe%20src%3D%22document%22%3E%3C%2Fiframe%3E%0A%3Cscript%3Eonload%20%3D%20function%20()%20%7B%20f%20%3D%20document.getElementsByTagName('iframe')%5B0%5D%3B%20d%20%3D%20f.contentWindow.document%3B%20%7D%3C%2Fscript%3E%0A%3Cinput%20type%3Dbutton%20onclick%3D%22w(d.documentElement.innerHTML)%22%20value%3D%22dump%22%3E%0A%3Cinput%20type%3Dbutton%20onclick%3D%22d.open()%3B%20d.write('%3Cscript%3Evar%20x%20%3D%20new%20XMLHttpRequest()%3Bx.open(%26quot%3BGET%26quot%3B%2C%20%26quot%3BGET%26quot%3B)%3Bx.onreadystatechange%3Dfunction()%20%7B%20alert(x.readyState)%3B%20%7D%3Bx.send(null)%3B%3C%2Fscript%3E')%3Bd.close()%3B%20setTimeout(function()%20%7B%20d.open()%3B%20d.write('%3Cp%3Etest%3C%2Fp%3E')%3B%20d.close()%20%7D%2C%200)%3B%22%20value%3D%22xhr%22%3E%0A%3Cinput%20type%3Dbutton%20onclick%3D%22d.onclick%20%3D%20function()%20%7B%20w('click')%20%7D%22%20value%3D%22add%20click%20handler%22%3E%0A%3Cinput%20type%3Dbutton%20onclick%3D%22d.open()%3B%20d.write('%3Cp%3Etest%3C%2Fp%3E')%3B%20d.close()%22%20value%3D%22replace%22%3E%0A%3Cinput%20type%3Dbutton%20onclick%3D%22d.open()%3B%20d.write('%3Cp%3E%3Cscript%3Ei%20%3D%200%3B%20setTimeout(%26quot%3Bparent.w(i%2B%2B)%26quot%3B%2C%202000)%3C%2Fscript%3E%3C%2Fp%3E')%3B%20d.close()%22%20value%3D%22replace%20with%20timer%22%3E -->
@@ -10677,7 +10679,7 @@
    bytes of the document.</li>
 
    <li>There can only be one character encoding declaration in the
-   document. <!-- conformance critiera for this one are given in
+   document.</li> <!-- conformance critiera for this one are given in
    the XML spec, the <meta> section just after defining charset="",
    and the character encoding pragma section. And actually this
    statement isn't quite true, since you can have an XML one and an
@@ -11556,14 +11558,26 @@
   <p>The following lists some MIME types and the languages to which
   they refer:</p>
 
-  <dl><dt><code>text/javascript</code></dt>
+  <dl><dt><code>application/ecmascript</code></dt>
+   <dt><code>application/javascript</code></dt>
+   <dt><code>application/x-ecmascript</code></dt>
+   <dt><code>application/x-javascript</code></dt>
+   <dt><code>text/ecmascript</code></dt>
+   <dt><code>text/javascript</code></dt>
+   <dt><code>text/javascript1.0</code></dt>
    <dt><code>text/javascript1.1</code></dt>
    <dt><code>text/javascript1.2</code></dt>
    <dt><code>text/javascript1.3</code></dt>
-   <dd>ECMAScript. <a href=#refsECMA262>[ECMA262]</a></dd>
+   <dt><code>text/javascript1.4</code></dt>
+   <dt><code>text/javascript1.5</code></dt>
+   <dt><code>text/jscript</code></dt>
+   <dt><code>text/livescript</code></dt>
+   <dt><code>text/x-ecmascript</code></dt>
+   <dt><code>text/x-javascript</code></dt>
+   <dd>JavaScript. <a href=#refsECMA262>[ECMA262]</a></dd>
 
    <dt><code>text/javascript;e4x=1</code></dt>
-   <dd>ECMAScript with ECMAScript for XML. <a href=#refsECMA357>[ECMA357]</a></dd>
+   <dd>JavaScript with ECMAScript for XML. <a href=#refsECMA357>[ECMA357]</a></dd>
 
   </dl><div class=impl>
 
@@ -31916,21 +31930,22 @@
   attribute specifies a regular expression against which the control's
   <a href=#concept-fe-value title=concept-fe-value>value</a> is to be checked.</p>
 
-  <p>If specified, the attribute's value must match the <i title="">Pattern</i> production of ECMA 262's grammar. <a href=#refsECMA262>[ECMA262]</a></p>
+  <p>If specified, the attribute's value must match the JavaScript <i title="">Pattern</i> production. <a href=#refsECMA262>[ECMA262]</a></p>
 
   <div class=impl>
 
   <p><strong>Constraint validation:</strong> If the element's <a href=#concept-fe-value title=concept-fe-value>value</a> is not the empty string, and
   the element's <code title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code>
-  attribute is specified and the attribute's value, when compiled as
-  an ECMA 262 regular expression with the <code title="">global</code>, <code title="">ignoreCase</code>, and <code title="">multiline</code> flags <em>disabled</em> (see ECMA 262,
-  sections 15.10.7.2 through 15.10.7.4), compiles successfully but the
-  resulting regular expression does not match the entirety of the
-  element's <a href=#concept-fe-value title=concept-fe-value>value</a>, then the
-  element is <a href=#suffering-from-a-pattern-mismatch>suffering from a pattern mismatch</a>. <a href=#refsECMA262>[ECMA262]</a></p>
+  attribute is specified and the attribute's value, when compiled as a
+  JavaScript regular expression with the <code title="">global</code>,
+  <code title="">ignoreCase</code>, and <code title="">multiline</code> flags <em>disabled</em> (see ECMA262
+  Edition 3, sections 15.10.7.2 through 15.10.7.4), compiles
+  successfully but the resulting regular expression does not match the
+  entirety of the element's <a href=#concept-fe-value title=concept-fe-value>value</a>, then the element is
+  <a href=#suffering-from-a-pattern-mismatch>suffering from a pattern mismatch</a>. <a href=#refsECMA262>[ECMA262]</a></p>
 
   <p class=note>This implies that the regular expression language
-  used for this attribute is the same as that defined in ECMA 262,
+  used for this attribute is the same as that used in JavaScript,
   except that the <code title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code>
   attribute must match the entire value, not just any subset (somewhat
   as if it implied a <code title="">^(?:</code> at the start of the
@@ -35453,7 +35468,7 @@
   // binding-specific interface
 };</pre>
 
-  <p>In ECMAScript, two classes of objects are said to implement this
+  <p>In JavaScript, two classes of objects are said to implement this
   interface: Numbers representing non-negative integers, and
   homogeneous arrays of Numbers representing non-negative
   integers. Thus, <code>[1,0,9]</code> is a
@@ -35463,11 +35478,11 @@
   an integer.</p>
 
   <p>User agents must always represent <code><a href=#rowspecification>RowSpecification</a></code>s
-  in ECMAScript by using arrays, even if the path only has one
+  in JavaScript by using arrays, even if the path only has one
   number.</p>
 
   <p>The root of the tree is represented by the empty path; in
-  ECMAScript, this is the empty array (<code>[]</code>). Only the
+  JavaScript, this is the empty array (<code>[]</code>). Only the
   <code title=dom-provider-getRowCount><a href=#dom-provider-getrowcount>getRowCount()</a></code> and
   <code title=dom-provider-getChildAtPosition><a href=#dom-provider-getchildatposition>GetChildAtPosition()</a></code>
   methods ever get called with the empty path.</p>
@@ -40251,12 +40266,12 @@
     environment.</p>
 
     <p>If the <a href="#script's-global-object">script's global object</a> is a
-    <code><a href=#window>Window</a></code> object, then in JavaScript, the <code title="">this</code> keyword in the global scope must, contrary to
-    the ECMAScript specification, return the <code><a href=#window>Window</a></code>
-    object's <code><a href=#windowproxy>WindowProxy</a></code> object.</p>
+    <code><a href=#window>Window</a></code> object, then in JavaScript, the <code title="">this</code> keyword in the global scope must return the
+    <code><a href=#window>Window</a></code> object's <code><a href=#windowproxy>WindowProxy</a></code> object.</p>
 
-    <p class=note>This is a willful violation of ECMAScript edition
-    3. <a href=#refsECMA262>[ECMA262]</a></p>
+    <p class=note>This is a willful violation of the JavaScript
+    specification current at the time of writing (ECMAScript edition
+    3). <a href=#refsECMA262>[ECMA262]</a></p>
 
    </dd>
 
@@ -40814,7 +40829,7 @@
   <hr></div>
 
   <p><dfn id=event-handler-content-attributes>Event handler content attributes</dfn>, when specified, must
-  contain valid ECMAScript code matching the ECMAScript <code title="">FunctionBody</code> production. <a href=#refsECMA262>[ECMA262]</a></p>
+  contain valid JavaScript code matching the <code title="">FunctionBody</code> production. <a href=#refsECMA262>[ECMA262]</a></p>
 
   <div class=impl>
 
@@ -41129,7 +41144,7 @@
   <h5 id=runtime-script-errors><span class=secno>5.5.6.5 </span>Runtime script errors</h5>
 
   <p><em>This section only applies to user agents that support
-  scripting in general and ECMAScript in particular.</em></p>
+  scripting in general and JavaScript in particular.</em></p>
 
   <p>Whenever a runtime script error occurs in one of the scripts
   associated with a <code>Document</code>, the user agent must
@@ -41864,7 +41879,7 @@
 
   <p>User agents must not raise any other exceptions (other than
   binding-specific exceptions, such as for an incorrect number of
-  arguments in an ECMAScript implementation).</p>
+  arguments in an JavaScript implementation).</p>
 
   <p>This section does not define how the pages registered by these
   methods are used, beyond the requirements on how to process the <var title="">url</var> value (see above). To some extent, the <a href=#navigate title=navigate>processing model for navigating across
@@ -62507,7 +62522,7 @@
   object. <span class=XXX>define the actual requirements for
   this method, as with the previous one.</span> That string must be
   parsed using the specified <var title="">language</var> (defaulting
-  to ECMAScript if the third argument is omitted) and executed in the
+  to JavaScript if the third argument is omitted) and executed in the
   scope of the <a href=#browsing-context>browsing context</a> associated with the
   <code><a href=#window>Window</a></code> object on which the <code title=setTimeout>setTimeout()</code> method was invoked.</p>
 

Modified: source
===================================================================
--- source	2009-04-01 18:21:44 UTC (rev 2953)
+++ source	2009-04-02 00:48:54 UTC (rev 2954)
@@ -377,7 +377,7 @@
   being referred to, they are referred to as <dfn>content
   attributes</dfn> for HTML and XML attributes, and <dfn>DOM
   attributes</dfn> for those from the DOM. Similarly, the term
-  "properties" is used for both ECMAScript object properties and CSS
+  "properties" is used for both JavaScript object properties and CSS
   properties. When these are ambiguous they are qualified as object
   properties and CSS properties respectively.</p>
 
@@ -911,17 +911,20 @@
 
    </dd>
 
-   <dt>ECMAScript</dt>
+   <dt>JavaScript</dt>
 
    <dd>
 
     <p>Some parts of the language described by this specification only
-    support ECMAScript as the underlying scripting language. <a
-    href="#refsECMAScript">[ECMAScript]</a></p>
+    support JavaScript as the underlying scripting language. <a
+    href="#refsECMA262">[ECMA262]</a></p>
 
-    <p class="note">The MIME type used to refer to ECMAScript in this
-    specification is <code title="">text/javascript</code>. This is a
-    willful violation of RFC 4329. <a
+    <p class="note">The term "JavaScript" is used to refer to ECMA262,
+    rather than the official term ECMAScript, since the term
+    JavaScript is more widely known. Similarly, the MIME type used to
+    refer to JavaScript in this specification is <code
+    title="">text/javascript</code>, since that is the most commonly
+    used type. This is a willful violation of RFC 4329. <a
     href="#refsRFC4329">[RFC4329]</a></p>
 
    </dd>
@@ -937,12 +940,12 @@
 
   </dl>
 
-  <p>This specification does not require support of any particular
-  network transport protocols, style sheet language, scripting
-  language, or any of the DOM and WebAPI specifications beyond those
-  described above. However, the language described by this
-  specification is biased towards CSS as the styling language,
-  ECMAScript as the scripting language, and HTTP as the network
+  <p>This specification does not <em>require</em> support of any
+  particular network transport protocols, style sheet language,
+  scripting language, or any of the DOM and WebAPI specifications
+  beyond those described above. However, the language described by
+  this specification is biased towards CSS as the styling language,
+  JavsScript as the scripting language, and HTTP as the network
   protocol, and several features assume that those languages and
   protocols are in use.</p>
 
@@ -1459,7 +1462,7 @@
 
   <p>The <dfn>best representation of the floating point number</dfn>
   <var title="">n</var> is the string obtained from applying the
-  ECMAScript operator ToString to <var title="">n</var>.</p>
+  JavaScript operator ToString to <var title="">n</var>.</p>
 
   <p>The <dfn>rules for parsing floating point number values</dfn> are
   as given in the following algorithm. As with the previous
@@ -9325,7 +9328,7 @@
    <code>Navigator</code>, and <code>Selection</code> objects, the
    various <code>BarProp</code> objects, the two <code>Storage</code>
    objects, and the various <code>HTMLCollection</code> objects. It
-   also includes all the WebIDL prototypes in the ECMAScript binding,
+   also includes all the WebIDL prototypes in the JavaScript binding,
    including the <code>Document</code> object's prototype.)</p></li>
 
    <!-- http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E...%3Ciframe%20src%3D%22document%22%3E%3C%2Fiframe%3E%0A%3Cscript%3Eonload%20%3D%20function%20()%20%7B%20f%20%3D%20document.getElementsByTagName('iframe')%5B0%5D%3B%20d%20%3D%20f.contentWindow.document%3B%20%7D%3C%2Fscript%3E%0A%3Cinput%20type%3Dbutton%20onclick%3D%22w(d.documentElement.innerHTML)%22%20value%3D%22dump%22%3E%0A%3Cinput%20type%3Dbutton%20onclick%3D%22d.open()%3B%20d.write('%3Cscript%3Evar%20x%20%3D%20new%20XMLHttpRequest()%3Bx.open(%26quot%3BGET%26quot%3B%2C%20%26quot%3BGET%26quot%3B)%3Bx.onreadystatechange%3Dfunction()%20%7B%20alert(x.readyState)%3B%20%7D%3Bx.send(null)%3B%3C%2Fscript%3E')%3Bd.close()%3B%20setTimeout(function()%20%7B%20d.open()%3B%20d.write('%3Cp%3Etest%3C%2Fp%3E')%3B%20d.close()%20%7D%2C%200)%3B%22%20value%3D%22xhr%22%3E%0A%3Cinput%20type%3Dbutton%20onclick%3D%22d.onclick%20%3D%20function()%20%7B%20w('click')%20%7D%22%20value%3D%22add%20click%20handler%22%3E%0A%3Cinput%20type%3Dbutton%20onclick%3D%22d.open()%3B%20d.write('%3Cp%3Etest%3C%2Fp%3E')%3B%20d.close()%22%20value%3D%22replace%22%3E%0A%3Cinput%20type%3Dbutton%20onclick%3D%22d.open()%3B%20d.write('%3Cp%3E%3Cscript%3Ei%20%3D%200%3B%20setTimeout(%26quot%3Bparent.w(i%2B%2B)%26quot%3B%2C%202000)%3C%2Fscript%3E%3C%2Fp%3E')%3B%20d.close()%22%20value%3D%22replace%20with%20timer%22%3E -->
@@ -11301,7 +11304,7 @@
    bytes of the document.</li>
 
    <li>There can only be one character encoding declaration in the
-   document.</p> <!-- conformance critiera for this one are given in
+   document.</li> <!-- conformance critiera for this one are given in
    the XML spec, the <meta> section just after defining charset="",
    and the character encoding pragma section. And actually this
    statement isn't quite true, since you can have an XML one and an
@@ -12339,14 +12342,26 @@
 
   <dl>
 
+   <dt><code>application/ecmascript</code></dt>
+   <dt><code>application/javascript</code></dt>
+   <dt><code>application/x-ecmascript</code></dt>
+   <dt><code>application/x-javascript</code></dt>
+   <dt><code>text/ecmascript</code></dt>
    <dt><code>text/javascript</code></dt>
+   <dt><code>text/javascript1.0</code></dt>
    <dt><code>text/javascript1.1</code></dt>
    <dt><code>text/javascript1.2</code></dt>
    <dt><code>text/javascript1.3</code></dt>
-   <dd>ECMAScript. <a href="#refsECMA262">[ECMA262]</a></dd>
+   <dt><code>text/javascript1.4</code></dt>
+   <dt><code>text/javascript1.5</code></dt>
+   <dt><code>text/jscript</code></dt>
+   <dt><code>text/livescript</code></dt>
+   <dt><code>text/x-ecmascript</code></dt>
+   <dt><code>text/x-javascript</code></dt>
+   <dd>JavaScript. <a href="#refsECMA262">[ECMA262]</a></dd>
 
    <dt><code>text/javascript;e4x=1</code></dt>
-   <dd>ECMAScript with ECMAScript for XML. <a href="#refsECMA357">[ECMA357]</a></dd>
+   <dd>JavaScript with ECMAScript for XML. <a href="#refsECMA357">[ECMA357]</a></dd>
 
   </dl>
 
@@ -35627,8 +35642,8 @@
   attribute specifies a regular expression against which the control's
   <span title="concept-fe-value">value</span> is to be checked.</p>
 
-  <p>If specified, the attribute's value must match the <i
-  title="">Pattern</i> production of ECMA 262's grammar. <a
+  <p>If specified, the attribute's value must match the JavaScript <i
+  title="">Pattern</i> production. <a
   href="#refsECMA262">[ECMA262]</a></p>
 
   <div class="impl">
@@ -35636,18 +35651,19 @@
   <p><strong>Constraint validation:</strong> If the element's <span
   title="concept-fe-value">value</span> is not the empty string, and
   the element's <code title="attr-input-pattern">pattern</code>
-  attribute is specified and the attribute's value, when compiled as
-  an ECMA 262 regular expression with the <code
-  title="">global</code>, <code title="">ignoreCase</code>, and <code
-  title="">multiline</code> flags <em>disabled</em> (see ECMA 262,
-  sections 15.10.7.2 through 15.10.7.4), compiles successfully but the
-  resulting regular expression does not match the entirety of the
-  element's <span title="concept-fe-value">value</span>, then the
-  element is <span>suffering from a pattern mismatch</span>. <a
+  attribute is specified and the attribute's value, when compiled as a
+  JavaScript regular expression with the <code title="">global</code>,
+  <code title="">ignoreCase</code>, and <code
+  title="">multiline</code> flags <em>disabled</em> (see ECMA262
+  Edition 3, sections 15.10.7.2 through 15.10.7.4), compiles
+  successfully but the resulting regular expression does not match the
+  entirety of the element's <span
+  title="concept-fe-value">value</span>, then the element is
+  <span>suffering from a pattern mismatch</span>. <a
   href="#refsECMA262">[ECMA262]</a></p>
 
   <p class="note">This implies that the regular expression language
-  used for this attribute is the same as that defined in ECMA 262,
+  used for this attribute is the same as that used in JavaScript,
   except that the <code title="attr-input-pattern">pattern</code>
   attribute must match the entire value, not just any subset (somewhat
   as if it implied a <code title="">^(?:</code> at the start of the
@@ -39940,7 +39956,7 @@
   // binding-specific interface
 };</pre>
 
-  <p>In ECMAScript, two classes of objects are said to implement this
+  <p>In JavaScript, two classes of objects are said to implement this
   interface: Numbers representing non-negative integers, and
   homogeneous arrays of Numbers representing non-negative
   integers. Thus, <code>[1,0,9]</code> is a
@@ -39950,11 +39966,11 @@
   an integer.</p>
 
   <p>User agents must always represent <code>RowSpecification</code>s
-  in ECMAScript by using arrays, even if the path only has one
+  in JavaScript by using arrays, even if the path only has one
   number.</p>
 
   <p>The root of the tree is represented by the empty path; in
-  ECMAScript, this is the empty array (<code>[]</code>). Only the
+  JavaScript, this is the empty array (<code>[]</code>). Only the
   <code title="dom-provider-getRowCount">getRowCount()</code> and
   <code
   title="dom-provider-getChildAtPosition">GetChildAtPosition()</code>
@@ -45648,12 +45664,12 @@
 
     <p>If the <span>script's global object</span> is a
     <code>Window</code> object, then in JavaScript, the <code
-    title="">this</code> keyword in the global scope must, contrary to
-    the ECMAScript specification, return the <code>Window</code>
-    object's <code>WindowProxy</code> object.</p>
+    title="">this</code> keyword in the global scope must return the
+    <code>Window</code> object's <code>WindowProxy</code> object.</p>
 
-    <p class="note">This is a willful violation of ECMAScript edition
-    3. <a href="#refsECMA262">[ECMA262]</a></p>
+    <p class="note">This is a willful violation of the JavaScript
+    specification current at the time of writing (ECMAScript edition
+    3). <a href="#refsECMA262">[ECMA262]</a></p>
 
    </dd>
 
@@ -46294,7 +46310,7 @@
   </div>
 
   <p><dfn>Event handler content attributes</dfn>, when specified, must
-  contain valid ECMAScript code matching the ECMAScript <code
+  contain valid JavaScript code matching the <code
   title="">FunctionBody</code> production. <a
   href="#refsECMA262">[ECMA262]</a></p>
 
@@ -46690,7 +46706,7 @@
   <h5 id="runtime-script-errors">Runtime script errors</h5>
 
   <p><em>This section only applies to user agents that support
-  scripting in general and ECMAScript in particular.</em></p>
+  scripting in general and JavaScript in particular.</em></p>
 
   <p>Whenever a runtime script error occurs in one of the scripts
   associated with a <code>Document</code>, the user agent must
@@ -47527,7 +47543,7 @@
 
   <p>User agents must not raise any other exceptions (other than
   binding-specific exceptions, such as for an incorrect number of
-  arguments in an ECMAScript implementation).</p>
+  arguments in an JavaScript implementation).</p>
 
   <p>This section does not define how the pages registered by these
   methods are used, beyond the requirements on how to process the <var
@@ -51284,6 +51300,7 @@
   <h3>Structured client-side storage</h3>  <!--START storage-->
 
   <!--BOILERPLATE middle-w3c-api-intro-->
+  <!--BOILERPLATE middle-w3c-js-disclaimer-->
 
   <h4 id="storage">Storing name/value pairs</h4>
 
@@ -52117,7 +52134,7 @@
   exception.</p>
 
   <p>Each row must be represented by a native ordered dictionary data
-  type. In the ECMAScript binding, this must be <code>Object</code>.
+  type. In the JavaScript binding, this must be <code>Object</code>.
   Each row object must have one property (or dictionary entry) per
   column, with those properties enumerating in the order that these
   columns were returned by the database. Each property must have the
@@ -52573,7 +52590,7 @@
   features that control how databases are stored on disk. For example,
   there is little reason to allow Web authors to control the character
   encoding used in the disk representation of the data, as all data in
-  ECMAScript is implicitly UTF-16.</p>
+  JavaScript is implicitly UTF-16.</p>
 
 
   <h5>SQL injection</h5>
@@ -58339,6 +58356,7 @@
 
 
   <!--BOILERPLATE middle-w3c-api-intro-->
+  <!--BOILERPLATE middle-w3c-js-disclaimer-->
 
 
   <h3>Infrastructure</h3>
@@ -73244,7 +73262,7 @@
   object. <span class="XXX">define the actual requirements for
   this method, as with the previous one.</span> That string must be
   parsed using the specified <var title="">language</var> (defaulting
-  to ECMAScript if the third argument is omitted) and executed in the
+  to JavaScript if the third argument is omitted) and executed in the
   scope of the <span>browsing context</span> associated with the
   <code>Window</code> object on which the <code
   title="setTimeout">setTimeout()</code> method was invoked.</p>




More information about the Commit-Watchers mailing list