HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
582811320[Gecko] [Internet Explorer] [Opera] [Webkit] report compile-time errors as well as runtime errors (and a typo fix from an earlier checkin)2011-02-03 21:33
@@ -5711,21 +5711,21 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
 
   </dl>
 
   </div>
 
 
 
   <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>;
            attribute DOMString <span title="dom-uda-host">host</span>;
            attribute DOMString <span title="dom-uda-hostname">hostname</span>;
            attribute DOMString <span title="dom-uda-port">port</span>;
            attribute DOMString <span title="dom-uda-pathname">pathname</span>;
            attribute DOMString <span title="dom-uda-search">search</span>;
            attribute DOMString <span title="dom-uda-hash">hash</span>;</pre>
 
@@ -72936,23 +72936,36 @@ NETWORK:
    scripting language and the given source code are such that there is
    executable code to be immediately run, then the <i>initial code
    entry-point</i> is the entry-point for that code.</p></li>
 
    <li><p>Set up the <span>script's global object</span>, the
    <span>script's browsing context</span>, the <span>script's
    document</span>, the <span>script's URL character encoding</span>,
    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>
 
   <p>When the user agent is to <dfn>create an impotent script</dfn>,
   given some script source, its scripting language, and a browsing
   context, the user agent must <span>create a script</span>, using the
   given script source and scripting language, using a new empty object
   as the global object, and using the given browsing context as the

|