- From: poot <cvsmail@w3.org>
- Date: Thu, 03 Feb 2011 16:35:23 -0500
- To: public-html-diffs@w3.org
hixie: report compile-time errors as well as runtime errors (and a typo
fix from an earlier checkin) (whatwg r5828)
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4683&r2=1.4684&f=h
http://html5.org/tools/web-apps-tracker?from=5827&to=5828
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4683
retrieving revision 1.4684
diff -u -d -r1.4683 -r1.4684
--- Overview.html 3 Feb 2011 21:28:20 -0000 1.4683
+++ Overview.html 3 Feb 2011 21:33:12 -0000 1.4684
@@ -5410,7 +5410,7 @@
</dd>
</dl></div><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:<pre class="idl extract"> attribute DOMString <a href="#dom-uda-protocol" title="dom-uda-protocol">protocol</a>;
attribute DOMString <a href="#dom-uda-host" title="dom-uda-host">host</a>;
attribute DOMString <a href="#dom-uda-hostname" title="dom-uda-hostname">hostname</a>;
@@ -47825,9 +47825,19 @@
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
Received on Thursday, 3 February 2011 21:35:25 UTC