[html5] r5828 - [giow] (2) report compile-time errors as well as runtime errors (and a typo fix [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu Feb 3 13:33:08 PST 2011


Author: ianh
Date: 2011-02-03 13:33:07 -0800 (Thu, 03 Feb 2011)
New Revision: 5828

Modified:
   complete.html
   index
   source
Log:
[giow] (2) report compile-time errors as well as runtime errors (and a typo fix from an earlier checkin)
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=11320

Modified: complete.html
===================================================================
--- complete.html	2011-02-03 21:28:14 UTC (rev 5827)
+++ complete.html	2011-02-03 21:33:07 UTC (rev 5828)
@@ -6168,7 +6168,7 @@
   <h4 id=interfaces-for-url-manipulation><span class=secno>2.6.3 </span>Interfaces for URL manipulation</h4>
 
   <p>An interface that has a complement of <dfn id=url-decomposition-idl-attributes>URL decomposition IDL
-  attributes</dfn> his seven attributes with the following
+  attributes</dfn> has seven attributes with the following
   definitions:</p>
 
 <pre class="idl extract">           attribute DOMString <a href=#dom-uda-protocol title=dom-uda-protocol>protocol</a>;
@@ -64125,10 +64125,20 @@
    and the <a href="#script's-base-url">script's base URL</a> from the settings passed to
    this algorithm.</li>
 
-   <li><p><a href=#jump-to-a-code-entry-point title="jump to a code entry-point">Jump</a> to the
-   <a href=#concept-script title=concept-script>script</a>'s <i><a href=#initial-code-entry-point>initial code
-   entry-point</a></i>.</li>
+   <li>
+ 
+    <p>If all the steps above succeeded (in particular, if the script
+    was compiled successfully), <a href=#jump-to-a-code-entry-point title="jump to a code
+    entry-point">Jump</a> to the <a href=#concept-script title=concept-script>script</a>'s <i><a href=#initial-code-entry-point>initial code
+    entry-point</a></i>.</p>
 
+    <p>Otherwise, <a href=#report-the-error>report the error</a> using the <code title=handler-window-onerror><a href=#handler-window-onerror>onerror</a></code> <a href=#event-handlers title="event
+    handlers">event handler</a> of the <a href="#script's-global-object">script's global
+    object</a>. If the error is still <i title=concept-error-nothandled><a href=#concept-error-nothandled>not handled</a></i> after this, then
+    the error may be reported to the user.</p>
+
+   </li>
+
   </ol><hr><p>When the user agent is to <dfn id=create-an-impotent-script>create an impotent script</dfn>,
   given some script source, its scripting language, and a browsing
   context, the user agent must <a href=#create-a-script>create a script</a>, using the

Modified: index
===================================================================
--- index	2011-02-03 21:28:14 UTC (rev 5827)
+++ index	2011-02-03 21:33:07 UTC (rev 5828)
@@ -6147,7 +6147,7 @@
   <h4 id=interfaces-for-url-manipulation><span class=secno>2.6.3 </span>Interfaces for URL manipulation</h4>
 
   <p>An interface that has a complement of <dfn id=url-decomposition-idl-attributes>URL decomposition IDL
-  attributes</dfn> his seven attributes with the following
+  attributes</dfn> has seven attributes with the following
   definitions:</p>
 
 <pre class="idl extract">           attribute DOMString <a href=#dom-uda-protocol title=dom-uda-protocol>protocol</a>;
@@ -64122,10 +64122,20 @@
    and the <a href="#script's-base-url">script's base URL</a> from the settings passed to
    this algorithm.</li>
 
-   <li><p><a href=#jump-to-a-code-entry-point title="jump to a code entry-point">Jump</a> to the
-   <a href=#concept-script title=concept-script>script</a>'s <i><a href=#initial-code-entry-point>initial code
-   entry-point</a></i>.</li>
+   <li>
+ 
+    <p>If all the steps above succeeded (in particular, if the script
+    was compiled successfully), <a href=#jump-to-a-code-entry-point title="jump to a code
+    entry-point">Jump</a> to the <a href=#concept-script title=concept-script>script</a>'s <i><a href=#initial-code-entry-point>initial code
+    entry-point</a></i>.</p>
 
+    <p>Otherwise, <a href=#report-the-error>report the error</a> using the <code title=handler-window-onerror><a href=#handler-window-onerror>onerror</a></code> <a href=#event-handlers title="event
+    handlers">event handler</a> of the <a href="#script's-global-object">script's global
+    object</a>. If the error is still <i title=concept-error-nothandled><a href=#concept-error-nothandled>not handled</a></i> after this, then
+    the error may be reported to the user.</p>
+
+   </li>
+
   </ol><hr><p>When the user agent is to <dfn id=create-an-impotent-script>create an impotent script</dfn>,
   given some script source, its scripting language, and a browsing
   context, the user agent must <a href=#create-a-script>create a script</a>, using the

Modified: source
===================================================================
--- source	2011-02-03 21:28:14 UTC (rev 5827)
+++ source	2011-02-03 21:33:07 UTC (rev 5828)
@@ -5718,7 +5718,7 @@
   <h4>Interfaces for URL manipulation</h4>
 
   <p>An interface that has a complement of <dfn>URL decomposition IDL
-  attributes</dfn> his seven attributes with the following
+  attributes</dfn> has seven attributes with the following
   definitions:</p>
 
 <pre class="idl extract">           attribute DOMString <span title="dom-uda-protocol">protocol</span>;
@@ -72943,10 +72943,23 @@
    and the <span>script's base URL</span> from the settings passed to
    this algorithm.</p></li>
 
-   <li><p><span title="jump to a code entry-point">Jump</span> to the
-   <span title="concept-script">script</span>'s <i>initial code
-   entry-point</i>.</p></li>
+   <li>
+ 
+    <p>If all the steps above succeeded (in particular, if the script
+    was compiled successfully), <span title="jump to a code
+    entry-point">Jump</span> to the <span
+    title="concept-script">script</span>'s <i>initial code
+    entry-point</i>.</p>
 
+    <p>Otherwise, <span>report the error</span> using the <code
+    title="handler-window-onerror">onerror</code> <span title="event
+    handlers">event handler</span> of the <span>script's global
+    object</span>. If the error is still <i
+    title="concept-error-nothandled">not handled</i> after this, then
+    the error may be reported to the user.</p>
+
+   </li>
+
   </ol>
 
   <hr>




More information about the Commit-Watchers mailing list