[html5] r7804 - [giowt] (3) Be more explicit about aborting steps when throwing an exception. Fi [...]
whatwg at whatwg.org
whatwg at whatwg.org
Wed Apr 10 16:10:06 PDT 2013
Author: ianh
Date: 2013-04-10 16:10:05 -0700 (Wed, 10 Apr 2013)
New Revision: 7804
Modified:
complete.html
index
source
Log:
[giowt] (3) Be more explicit about aborting steps when throwing an exception.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=21654
Affected topics: Canvas, DOM APIs, HTML, Video Text Tracks, Workers
Modified: complete.html
===================================================================
--- complete.html 2013-04-10 23:05:00 UTC (rev 7803)
+++ complete.html 2013-04-10 23:10:05 UTC (rev 7804)
@@ -7766,10 +7766,10 @@
<li><p>If <var title="">before</var> is an element, but that element isn't a descendant of the
<code><a href=#the-select-element>select</a></code> element on which the <code><a href=#htmloptionscollection>HTMLOptionsCollection</a></code> is rooted, then throw
- a <code><a href=#notfounderror>NotFoundError</a></code> exception.</li>
+ a <code><a href=#notfounderror>NotFoundError</a></code> exception and abort these steps.</li>
- <li><p>If <var title="">element</var> and <var title="">before</var> are the same element, then return and abort
- these steps.</li>
+ <li><p>If <var title="">element</var> and <var title="">before</var> are the same element, then
+ return and abort these steps.</li>
<li><p>If <var title="">before</var> is a node, then let <var title="">reference</var> be that
node. Otherwise, if <var title="">before</var> is an integer, and there is a <var title="">before</var>th node in the collection, let <var title="">reference</var> be that node.
@@ -31641,7 +31641,7 @@
<ol><li><p>If the given <var title="">cue</var> is not currently listed in the method's
<code><a href=#texttrack>TextTrack</a></code> object's <a href=#text-track>text track</a>'s <a href=#text-track-list-of-cues>text track list of cues</a>,
- then throw a <code><a href=#notfounderror>NotFoundError</a></code> exception.</li>
+ then throw a <code><a href=#notfounderror>NotFoundError</a></code> exception and abort these steps.</li>
<li><p>Remove <var title="">cue</var> from the method's <code><a href=#texttrack>TextTrack</a></code> object's
<a href=#text-track>text track</a>'s <a href=#text-track-list-of-cues>text track list of cues</a>.</li>
@@ -64417,9 +64417,9 @@
<li><p>If the <a href=#browsing-context-container>browsing context container</a>'s <code><a href=#document>Document</a></code> does not have the
<a href=#same-origin title="same origin">same</a> <a href=#effective-script-origin>effective script origin</a> as the <a href=#entry-script>entry
- script</a>, then throw a <code><a href=#securityerror>SecurityError</a></code> exception.</li>
+ script</a>, then throw a <code><a href=#securityerror>SecurityError</a></code> exception and abort these steps.</li>
- <li><p>Otherwise, return the <a href=#browsing-context-container>browsing context container</a> for <var title="">b</var>.</li>
+ <li><p>Return the <a href=#browsing-context-container>browsing context container</a> for <var title="">b</var>.</li>
</ol></div>
@@ -74016,7 +74016,7 @@
<dd>
<ol><li><p>If either the <var title="">sw</var> or <var title="">sh</var> arguments are specified
- but zero, throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception.</li>
+ but zero, throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.</li>
<li><p>If the <code><a href=#the-img-element>img</a></code> element is not <a href=#img-all title=img-all>completely
available</a>, then throw an <code><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these
@@ -74052,7 +74052,7 @@
<dd>
<ol><li><p>If either the <var title="">sw</var> or <var title="">sh</var> arguments are specified
- but zero, throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception.</li>
+ but zero, throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.</li>
<li><p>If the <code><a href=#the-video-element>video</a></code> element's <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> attribute is <code title=dom-media-NETWORK_EMPTY><a href=#dom-media-network_empty>NETWORK_EMPTY</a></code>, then throw an
<code><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these steps.</li>
@@ -74085,7 +74085,7 @@
<dd>
<ol><li><p>If either the <var title="">sw</var> or <var title="">sh</var> arguments are specified
- but zero, throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception.</li>
+ but zero, throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.</li>
<!--ADD-TOPIC:Security-->
<li><p>If the <code><a href=#the-canvas-element>canvas</a></code> element's bitmap data does not have its <a href=#concept-canvas-origin-clean title=concept-canvas-origin-clean>origin-clean</a> flag set, then throw an
@@ -74115,7 +74115,7 @@
<dd>
<ol><li><p>If either the <var title="">sw</var> or <var title="">sh</var> arguments are specified
- but zero, throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception.</li>
+ but zero, throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.</li>
<li><p>If the <code><a href=#blob>Blob</a></code> object has been neutered through the <code title=dom-Blob-close>close</code> method, then throw an <code><a href=#invalidstateerror>InvalidStateError</a></code>
exception and abort these steps.</li>
@@ -74154,7 +74154,7 @@
<dd>
<ol><li><p>If either the <var title="">sw</var> or <var title="">sh</var> arguments are specified
- but zero, throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception.</li>
+ but zero, throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.</li>
<li><p>Create a new <code><a href=#imagebitmap>ImageBitmap</a></code> object.</li>
@@ -74173,7 +74173,7 @@
<dd>
<ol><li><p>If either the <var title="">sw</var> or <var title="">sh</var> arguments are specified
- but zero, throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception.</li>
+ but zero, throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.</li>
<!--ADD-TOPIC:Security-->
<li><p>If the <code><a href=#canvasrenderingcontext2d>CanvasRenderingContext2D</a></code> object's <a href=#scratch-bitmap>scratch bitmap</a> does
@@ -74204,7 +74204,7 @@
<dd>
<ol><li><p>If either the <var title="">sw</var> or <var title="">sh</var> arguments are specified
- but zero, throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception.</li>
+ but zero, throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.</li>
<li><p>Create a new <code><a href=#imagebitmap>ImageBitmap</a></code> object.</li>
@@ -79567,7 +79567,7 @@
relative to the <a href=#entry-script>entry script</a>'s <a href="#script's-base-url" title="script's base URL">base URL</a>, when
the method is invoked.</li>
- <li><p>If this fails, throw a <code><a href=#syntaxerror>SyntaxError</a></code> exception.</li>
+ <li><p>If this fails, throw a <code><a href=#syntaxerror>SyntaxError</a></code> exception and abort these steps.</li>
<li>
@@ -79673,10 +79673,9 @@
<li><p><a href=#resolve-a-url title="resolve a url">Resolve</a> the <var title="">scriptURL</var>
argument.</li>
- <li><p>If this fails, throw a <code><a href=#syntaxerror>SyntaxError</a></code> exception.</li>
+ <li><p>If this fails, throw a <code><a href=#syntaxerror>SyntaxError</a></code> exception and abort these steps.</li>
- <li><p>Otherwise, let <var title="">scriptURL</var> be the resulting <a href=#absolute-url>absolute URL</a>
- and <var title="">parsed scriptURL</var> be the resulting <a href=#parsed-url>parsed URL</a>.</li>
+ <li><p>Let <var title="">scriptURL</var> be the resulting <a href=#absolute-url>absolute URL</a> and <var title="">parsed scriptURL</var> be the resulting <a href=#parsed-url>parsed URL</a>.</li>
<li><p>Let <var title="">name</var> be the value of the second argument, or the empty string if
the second argument was omitted.</li>
@@ -80239,8 +80238,8 @@
URL</a>.
</li>
- <li><p>If the previous step failed, then throw a
- <code><a href=#syntaxerror>SyntaxError</a></code> exception.</li>
+ <li><p>If the previous step failed, then throw a <code><a href=#syntaxerror>SyntaxError</a></code> exception and abort
+ these steps.</li>
<li><p>Create a new <code><a href=#eventsource>EventSource</a></code> object.</li>
@@ -81096,13 +81095,13 @@
<li><p>If <var title="">secure</var> is false but the <a href=#origin>origin</a> of the <a href=#entry-script>entry
script</a> has a scheme component that is itself a secure protocol, e.g. HTTPS, then throw a
- <code><a href=#securityerror>SecurityError</a></code> exception.</li>
+ <code><a href=#securityerror>SecurityError</a></code> exception and abort these steps.</li>
<li>
<p>If <var title="">port</var> is a port to which the user agent is configured to block access,
- then throw a <code><a href=#securityerror>SecurityError</a></code> exception. (User agents typically block access to
- well-known ports like SMTP.)</p>
+ then throw a <code><a href=#securityerror>SecurityError</a></code> exception and abort these steps. (User agents typically
+ block access to well-known ports like SMTP.)</p>
<!-- e.g. http://www.mozilla.org/projects/netlib/PortBanning.html -->
<p>Access to ports 80 and 443 should not be blocked, including the unlikely cases when <var title="">secure</var> is false but <var title="">port</var> is 443 or <var title="">secure</var>
Modified: index
===================================================================
--- index 2013-04-10 23:05:00 UTC (rev 7803)
+++ index 2013-04-10 23:10:05 UTC (rev 7804)
@@ -7766,10 +7766,10 @@
<li><p>If <var title="">before</var> is an element, but that element isn't a descendant of the
<code><a href=#the-select-element>select</a></code> element on which the <code><a href=#htmloptionscollection>HTMLOptionsCollection</a></code> is rooted, then throw
- a <code><a href=#notfounderror>NotFoundError</a></code> exception.</li>
+ a <code><a href=#notfounderror>NotFoundError</a></code> exception and abort these steps.</li>
- <li><p>If <var title="">element</var> and <var title="">before</var> are the same element, then return and abort
- these steps.</li>
+ <li><p>If <var title="">element</var> and <var title="">before</var> are the same element, then
+ return and abort these steps.</li>
<li><p>If <var title="">before</var> is a node, then let <var title="">reference</var> be that
node. Otherwise, if <var title="">before</var> is an integer, and there is a <var title="">before</var>th node in the collection, let <var title="">reference</var> be that node.
@@ -31641,7 +31641,7 @@
<ol><li><p>If the given <var title="">cue</var> is not currently listed in the method's
<code><a href=#texttrack>TextTrack</a></code> object's <a href=#text-track>text track</a>'s <a href=#text-track-list-of-cues>text track list of cues</a>,
- then throw a <code><a href=#notfounderror>NotFoundError</a></code> exception.</li>
+ then throw a <code><a href=#notfounderror>NotFoundError</a></code> exception and abort these steps.</li>
<li><p>Remove <var title="">cue</var> from the method's <code><a href=#texttrack>TextTrack</a></code> object's
<a href=#text-track>text track</a>'s <a href=#text-track-list-of-cues>text track list of cues</a>.</li>
@@ -64417,9 +64417,9 @@
<li><p>If the <a href=#browsing-context-container>browsing context container</a>'s <code><a href=#document>Document</a></code> does not have the
<a href=#same-origin title="same origin">same</a> <a href=#effective-script-origin>effective script origin</a> as the <a href=#entry-script>entry
- script</a>, then throw a <code><a href=#securityerror>SecurityError</a></code> exception.</li>
+ script</a>, then throw a <code><a href=#securityerror>SecurityError</a></code> exception and abort these steps.</li>
- <li><p>Otherwise, return the <a href=#browsing-context-container>browsing context container</a> for <var title="">b</var>.</li>
+ <li><p>Return the <a href=#browsing-context-container>browsing context container</a> for <var title="">b</var>.</li>
</ol></div>
@@ -74016,7 +74016,7 @@
<dd>
<ol><li><p>If either the <var title="">sw</var> or <var title="">sh</var> arguments are specified
- but zero, throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception.</li>
+ but zero, throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.</li>
<li><p>If the <code><a href=#the-img-element>img</a></code> element is not <a href=#img-all title=img-all>completely
available</a>, then throw an <code><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these
@@ -74052,7 +74052,7 @@
<dd>
<ol><li><p>If either the <var title="">sw</var> or <var title="">sh</var> arguments are specified
- but zero, throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception.</li>
+ but zero, throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.</li>
<li><p>If the <code><a href=#the-video-element>video</a></code> element's <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> attribute is <code title=dom-media-NETWORK_EMPTY><a href=#dom-media-network_empty>NETWORK_EMPTY</a></code>, then throw an
<code><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these steps.</li>
@@ -74085,7 +74085,7 @@
<dd>
<ol><li><p>If either the <var title="">sw</var> or <var title="">sh</var> arguments are specified
- but zero, throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception.</li>
+ but zero, throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.</li>
<!--ADD-TOPIC:Security-->
<li><p>If the <code><a href=#the-canvas-element>canvas</a></code> element's bitmap data does not have its <a href=#concept-canvas-origin-clean title=concept-canvas-origin-clean>origin-clean</a> flag set, then throw an
@@ -74115,7 +74115,7 @@
<dd>
<ol><li><p>If either the <var title="">sw</var> or <var title="">sh</var> arguments are specified
- but zero, throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception.</li>
+ but zero, throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.</li>
<li><p>If the <code><a href=#blob>Blob</a></code> object has been neutered through the <code title=dom-Blob-close>close</code> method, then throw an <code><a href=#invalidstateerror>InvalidStateError</a></code>
exception and abort these steps.</li>
@@ -74154,7 +74154,7 @@
<dd>
<ol><li><p>If either the <var title="">sw</var> or <var title="">sh</var> arguments are specified
- but zero, throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception.</li>
+ but zero, throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.</li>
<li><p>Create a new <code><a href=#imagebitmap>ImageBitmap</a></code> object.</li>
@@ -74173,7 +74173,7 @@
<dd>
<ol><li><p>If either the <var title="">sw</var> or <var title="">sh</var> arguments are specified
- but zero, throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception.</li>
+ but zero, throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.</li>
<!--ADD-TOPIC:Security-->
<li><p>If the <code><a href=#canvasrenderingcontext2d>CanvasRenderingContext2D</a></code> object's <a href=#scratch-bitmap>scratch bitmap</a> does
@@ -74204,7 +74204,7 @@
<dd>
<ol><li><p>If either the <var title="">sw</var> or <var title="">sh</var> arguments are specified
- but zero, throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception.</li>
+ but zero, throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.</li>
<li><p>Create a new <code><a href=#imagebitmap>ImageBitmap</a></code> object.</li>
@@ -79567,7 +79567,7 @@
relative to the <a href=#entry-script>entry script</a>'s <a href="#script's-base-url" title="script's base URL">base URL</a>, when
the method is invoked.</li>
- <li><p>If this fails, throw a <code><a href=#syntaxerror>SyntaxError</a></code> exception.</li>
+ <li><p>If this fails, throw a <code><a href=#syntaxerror>SyntaxError</a></code> exception and abort these steps.</li>
<li>
@@ -79673,10 +79673,9 @@
<li><p><a href=#resolve-a-url title="resolve a url">Resolve</a> the <var title="">scriptURL</var>
argument.</li>
- <li><p>If this fails, throw a <code><a href=#syntaxerror>SyntaxError</a></code> exception.</li>
+ <li><p>If this fails, throw a <code><a href=#syntaxerror>SyntaxError</a></code> exception and abort these steps.</li>
- <li><p>Otherwise, let <var title="">scriptURL</var> be the resulting <a href=#absolute-url>absolute URL</a>
- and <var title="">parsed scriptURL</var> be the resulting <a href=#parsed-url>parsed URL</a>.</li>
+ <li><p>Let <var title="">scriptURL</var> be the resulting <a href=#absolute-url>absolute URL</a> and <var title="">parsed scriptURL</var> be the resulting <a href=#parsed-url>parsed URL</a>.</li>
<li><p>Let <var title="">name</var> be the value of the second argument, or the empty string if
the second argument was omitted.</li>
@@ -80239,8 +80238,8 @@
URL</a>.
</li>
- <li><p>If the previous step failed, then throw a
- <code><a href=#syntaxerror>SyntaxError</a></code> exception.</li>
+ <li><p>If the previous step failed, then throw a <code><a href=#syntaxerror>SyntaxError</a></code> exception and abort
+ these steps.</li>
<li><p>Create a new <code><a href=#eventsource>EventSource</a></code> object.</li>
@@ -81096,13 +81095,13 @@
<li><p>If <var title="">secure</var> is false but the <a href=#origin>origin</a> of the <a href=#entry-script>entry
script</a> has a scheme component that is itself a secure protocol, e.g. HTTPS, then throw a
- <code><a href=#securityerror>SecurityError</a></code> exception.</li>
+ <code><a href=#securityerror>SecurityError</a></code> exception and abort these steps.</li>
<li>
<p>If <var title="">port</var> is a port to which the user agent is configured to block access,
- then throw a <code><a href=#securityerror>SecurityError</a></code> exception. (User agents typically block access to
- well-known ports like SMTP.)</p>
+ then throw a <code><a href=#securityerror>SecurityError</a></code> exception and abort these steps. (User agents typically
+ block access to well-known ports like SMTP.)</p>
<!-- e.g. http://www.mozilla.org/projects/netlib/PortBanning.html -->
<p>Access to ports 80 and 443 should not be blocked, including the unlikely cases when <var title="">secure</var> is false but <var title="">port</var> is 443 or <var title="">secure</var>
Modified: source
===================================================================
--- source 2013-04-10 23:05:00 UTC (rev 7803)
+++ source 2013-04-10 23:10:05 UTC (rev 7804)
@@ -7401,11 +7401,10 @@
<li><p>If <var title="">before</var> is an element, but that element isn't a descendant of the
<code>select</code> element on which the <code>HTMLOptionsCollection</code> is rooted, then throw
- a <code>NotFoundError</code> exception.</p></li>
+ a <code>NotFoundError</code> exception and abort these steps.</p></li>
- <li><p>If <var title="">element</var> and <var
- title="">before</var> are the same element, then return and abort
- these steps.</li>
+ <li><p>If <var title="">element</var> and <var title="">before</var> are the same element, then
+ return and abort these steps.</li>
<li><p>If <var title="">before</var> is a node, then let <var title="">reference</var> be that
node. Otherwise, if <var title="">before</var> is an integer, and there is a <var
@@ -34018,7 +34017,7 @@
<li><p>If the given <var title="">cue</var> is not currently listed in the method's
<code>TextTrack</code> object's <span>text track</span>'s <span>text track list of cues</span>,
- then throw a <code>NotFoundError</code> exception.</p></li>
+ then throw a <code>NotFoundError</code> exception and abort these steps.</p></li>
<li><p>Remove <var title="">cue</var> from the method's <code>TextTrack</code> object's
<span>text track</span>'s <span>text track list of cues</span>.</p></li>
@@ -76382,10 +76381,9 @@
<li><p>If the <span>browsing context container</span>'s <code>Document</code> does not have the
<span title="same origin">same</span> <span>effective script origin</span> as the <span>entry
- script</span>, then throw a <code>SecurityError</code> exception.</p></li>
+ script</span>, then throw a <code>SecurityError</code> exception and abort these steps.</p></li>
- <li><p>Otherwise, return the <span>browsing context container</span> for <var
- title="">b</var>.</p></li>
+ <li><p>Return the <span>browsing context container</span> for <var title="">b</var>.</p></li>
</ol>
@@ -87437,7 +87435,7 @@
<ol>
<li><p>If either the <var title="">sw</var> or <var title="">sh</var> arguments are specified
- but zero, throw an <code>IndexSizeError</code> exception.</p></li>
+ but zero, throw an <code>IndexSizeError</code> exception and abort these steps.</p></li>
<li><p>If the <code>img</code> element is not <span title="img-all">completely
available</span>, then throw an <code>InvalidStateError</code> exception and abort these
@@ -87477,7 +87475,7 @@
<ol>
<li><p>If either the <var title="">sw</var> or <var title="">sh</var> arguments are specified
- but zero, throw an <code>IndexSizeError</code> exception.</p></li>
+ but zero, throw an <code>IndexSizeError</code> exception and abort these steps.</p></li>
<li><p>If the <code>video</code> element's <code
title="dom-media-networkState">networkState</code> attribute is <code
@@ -87519,7 +87517,7 @@
<ol>
<li><p>If either the <var title="">sw</var> or <var title="">sh</var> arguments are specified
- but zero, throw an <code>IndexSizeError</code> exception.</p></li>
+ but zero, throw an <code>IndexSizeError</code> exception and abort these steps.</p></li>
<!--ADD-TOPIC:Security-->
<li><p>If the <code>canvas</code> element's bitmap data does not have its <span
@@ -87554,7 +87552,7 @@
<ol>
<li><p>If either the <var title="">sw</var> or <var title="">sh</var> arguments are specified
- but zero, throw an <code>IndexSizeError</code> exception.</p></li>
+ but zero, throw an <code>IndexSizeError</code> exception and abort these steps.</p></li>
<li><p>If the <code>Blob</code> object has been neutered through the <code
title="dom-Blob-close">close</code> method, then throw an <code>InvalidStateError</code>
@@ -87599,7 +87597,7 @@
<ol>
<li><p>If either the <var title="">sw</var> or <var title="">sh</var> arguments are specified
- but zero, throw an <code>IndexSizeError</code> exception.</p></li>
+ but zero, throw an <code>IndexSizeError</code> exception and abort these steps.</p></li>
<li><p>Create a new <code>ImageBitmap</code> object.</p></li>
@@ -87622,7 +87620,7 @@
<ol>
<li><p>If either the <var title="">sw</var> or <var title="">sh</var> arguments are specified
- but zero, throw an <code>IndexSizeError</code> exception.</p></li>
+ but zero, throw an <code>IndexSizeError</code> exception and abort these steps.</p></li>
<!--ADD-TOPIC:Security-->
<li><p>If the <code>CanvasRenderingContext2D</code> object's <span>scratch bitmap</span> does
@@ -87657,7 +87655,7 @@
<ol>
<li><p>If either the <var title="">sw</var> or <var title="">sh</var> arguments are specified
- but zero, throw an <code>IndexSizeError</code> exception.</p></li>
+ but zero, throw an <code>IndexSizeError</code> exception and abort these steps.</p></li>
<li><p>Create a new <code>ImageBitmap</code> object.</p></li>
@@ -93172,7 +93170,7 @@
relative to the <span>entry script</span>'s <span title="script's base URL">base URL</span>, when
the method is invoked.</p></li>
- <li><p>If this fails, throw a <code>SyntaxError</code> exception.</p></li>
+ <li><p>If this fails, throw a <code>SyntaxError</code> exception and abort these steps.</p></li>
<li>
@@ -93292,10 +93290,10 @@
<li><p><span title="resolve a url">Resolve</span> the <var title="">scriptURL</var>
argument.</p></li>
- <li><p>If this fails, throw a <code>SyntaxError</code> exception.</p></li>
+ <li><p>If this fails, throw a <code>SyntaxError</code> exception and abort these steps.</p></li>
- <li><p>Otherwise, let <var title="">scriptURL</var> be the resulting <span>absolute URL</span>
- and <var title="">parsed scriptURL</var> be the resulting <span>parsed URL</span>.</p></li>
+ <li><p>Let <var title="">scriptURL</var> be the resulting <span>absolute URL</span> and <var
+ title="">parsed scriptURL</var> be the resulting <span>parsed URL</span>.</p></li>
<li><p>Let <var title="">name</var> be the value of the second argument, or the empty string if
the second argument was omitted.</p></li>
@@ -93953,8 +93951,8 @@
<!--START complete-->
</p></li>
- <li><p>If the previous step failed, then throw a
- <code>SyntaxError</code> exception.</p></li>
+ <li><p>If the previous step failed, then throw a <code>SyntaxError</code> exception and abort
+ these steps.</p></li>
<li><p>Create a new <code>EventSource</code> object.</p></li>
@@ -94954,13 +94952,13 @@
<li><p>If <var title="">secure</var> is false but the <span>origin</span> of the <span>entry
script</span> has a scheme component that is itself a secure protocol, e.g. HTTPS, then throw a
- <code>SecurityError</code> exception.</p></li>
+ <code>SecurityError</code> exception and abort these steps.</p></li>
<li>
<p>If <var title="">port</var> is a port to which the user agent is configured to block access,
- then throw a <code>SecurityError</code> exception. (User agents typically block access to
- well-known ports like SMTP.)</p>
+ then throw a <code>SecurityError</code> exception and abort these steps. (User agents typically
+ block access to well-known ports like SMTP.)</p>
<!-- e.g. http://www.mozilla.org/projects/netlib/PortBanning.html -->
<p>Access to ports 80 and 443 should not be blocked, including the unlikely cases when <var
More information about the Commit-Watchers
mailing list