- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 03 Feb 2011 21:33:16 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv18010 Modified Files: Overview.html Log Message: report compile-time errors as well as runtime errors (and a typo fix from an earlier checkin) (whatwg r5828) Index: Overview.html =================================================================== 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:33:17 UTC