[html5] r4496 - [e] (0) s/first script/entry script/ for sanity. Fixing http://www.w3.org/Bugs/P [...]
whatwg at whatwg.org
whatwg at whatwg.org
Tue Jan 5 19:36:23 PST 2010
Author: ianh
Date: 2010-01-05 19:36:19 -0800 (Tue, 05 Jan 2010)
New Revision: 4496
Modified:
complete.html
index
source
Log:
[e] (0) s/first script/entry script/ for sanity.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8418
Modified: complete.html
===================================================================
--- complete.html 2010-01-06 03:33:25 UTC (rev 4495)
+++ complete.html 2010-01-06 03:36:19 UTC (rev 4496)
@@ -5097,7 +5097,7 @@
<dt>When fetching resources in response to a call to an API</dt>
<dd>The <a href=#active-document>active document</a> of the <a href="#script's-browsing-context" title="script's
- browsing context">browsing context</a> of the <a href=#first-script>first
+ browsing context">browsing context</a> of the <a href=#entry-script>entry
script</a>.</dd>
</dl><p>Remove any <a href=#url-fragment title=url-fragment><fragment></a>
@@ -9729,7 +9729,7 @@
UTF-16.</li>
<li><p>Change <a href="#the-document's-address">the document's address</a> to the
- <a href=#first-script>first script</a>'s <a href="#script's-browsing-context" title="script's browsing
+ <a href=#entry-script>entry script</a>'s <a href="#script's-browsing-context" title="script's browsing
context">browsing context</a>'s <a href=#active-document>active document</a>'s
<a href="#the-document's-address" title="the document's address">address</a>.</li>
@@ -49027,7 +49027,7 @@
<li><p>If the <a href=#parent-browsing-context>parent browsing context</a>'s <a href=#active-document>active
document</a> 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=#first-script>first script</a>, then throw a <code><a href=#security_err>SECURITY_ERR</a></code>
+ <a href=#entry-script>entry script</a>, then throw a <code><a href=#security_err>SECURITY_ERR</a></code>
exception.</li>
<li><p>Otherwise, return the <a href=#browsing-context-container>browsing context
@@ -49152,11 +49152,11 @@
<dfn id=unit-of-related-similar-origin-browsing-contexts>unit of related similar-origin browsing contexts</dfn>.</p>
<p>Each <a href=#unit-of-related-similar-origin-browsing-contexts>unit of related similar-origin browsing
- contexts</a> can have a <dfn id=first-script>first script</dfn> which is used to
+ contexts</a> can have a <dfn id=entry-script>entry script</dfn> which is used to
obtain, amongst other things, the <a href="#script's-base-url">script's base URL</a> to
<a href=#resolve-a-url title="resolve a url">resolve</a> relative <a href=#url title=URL>URLs</a> used in scripts running in that <a href=#unit-of-related-similar-origin-browsing-contexts>unit
of related similar-origin browsing contexts</a>. Initially, there
- is no <a href=#first-script>first script</a>.</p>
+ is no <a href=#entry-script>entry script</a>.</p>
<p class=note>There is at most one <a href=#event-loop>event loop</a> per
<a href=#unit-of-related-similar-origin-browsing-contexts>unit of related similar-origin browsing contexts</a>.</p>
@@ -49566,7 +49566,7 @@
context. If no arguments are provided, or if the first argument is
the empty string, then the <var title="">url</var> argument defaults
to "<code><a href=#about:blank>about:blank</a></code>". The argument must be <a href=#resolve-a-url title="resolve a url">resolved</a> to an <a href=#absolute-url>absolute
- URL</a> (or an error), relative to the <a href=#first-script>first
+ URL</a> (or an error), 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.</p>
@@ -49614,7 +49614,7 @@
<a href=#browsing-context>browsing context</a> was just created as part of
<a href=#the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name>the rules for choosing a browsing context given a browsing
context name</a>. The navigation must be done with the <a href="#script's-browsing-context" title="script's browsing context">browsing context</a> of the
- <a href=#first-script>first script</a> as the <a href=#source-browsing-context>source browsing
+ <a href=#entry-script>entry script</a> as the <a href=#source-browsing-context>source browsing
context</a>.</p>
<p>The method must return the <code><a href=#windowproxy>WindowProxy</a></code> object of the
@@ -49673,7 +49673,7 @@
<a href=#active-document>active document</a> of that <code><a href=#window>Window</a></code> object, if
that <code><a href=#window>Window</a></code>'s <a href=#browsing-context>browsing context</a> shares the
same <a href=#event-loop>event loop</a> as the <a href="#script's-browsing-context">script's browsing
- context</a> of the <a href=#first-script>first script</a> accessing the IDL
+ context</a> of the <a href=#entry-script>entry script</a> accessing the IDL
attribute; otherwise, it must return zero.</p>
<!-- in other words, frames are only accessible to same-thread processes -->
@@ -50638,13 +50638,13 @@
not <a href=#fully-active>fully active</a>, then abort these steps without doing
anything. The callback is not fired.</p>
- <li><p>Set the <a href=#first-script>first script</a> to be the <a href=#concept-script title=concept-script>script</a> being invoked.</li>
+ <li><p>Set the <a href=#entry-script>entry script</a> to be the <a href=#concept-script title=concept-script>script</a> being invoked.</li>
<li><p>Make the <a href=#script-execution-environment title="script execution environment">script
execution environment</a> for the <a href=#concept-script title=concept-script>script</a> execute the code for the given
code entry-point.</li>
- <li><p>Set the <a href=#first-script>first script</a> back to whatever it was
+ <li><p>Set the <a href=#entry-script>entry script</a> back to whatever it was
when this algorithm started.</li>
</ol><p>This algorithm is not invoked by one script calling another.</p>
@@ -52043,7 +52043,7 @@
<ol><li>
- <p><a href=#resolve-a-url title="resolve a url">Resolve</a> <var title="">url</var> relative to the <a href=#first-script>first script</a>'s
+ <p><a href=#resolve-a-url title="resolve a url">Resolve</a> <var title="">url</var> 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>.</p>
<p>If this fails, then throw a <code><a href=#syntax_err>SYNTAX_ERR</a></code> exception
@@ -52482,7 +52482,7 @@
occurrence of the exact literal string "<code title="">%s</code>"
with an escaped version of the <a href=#absolute-url>absolute URL</a> of the
content in question (as defined below), then <a href=#resolve-a-url title="resolve
- a url">resolve</a> the resulting URL, relative to the <a href="#script's-base-url" title="script's base URL">base URL</a> of the <a href=#first-script>first
+ a url">resolve</a> the resulting URL, relative to the <a href="#script's-base-url" title="script's base URL">base URL</a> of the <a href=#entry-script>entry
script</a> at the time the <code title=dom-navigator-registerContentHandler><a href=#dom-navigator-registercontenthandler>registerContentHandler()</a></code>
or <code title=dom-navigator-registerProtocolHandler><a href=#dom-navigator-registerprotocolhandler>registerProtocolHandler()</a></code>
methods were invoked, and then <a href=#navigate>navigate</a> an
@@ -52540,7 +52540,7 @@
<p>User agents must raise a <code><a href=#syntax_err>SYNTAX_ERR</a></code> exception if the
<var title="">url</var> argument passed to one of these methods does
not contain the exact literal string "<code>%s</code>", or if <a href=#resolve-a-url title="resolve a url">resolving</a> the <var title="">url</var>
- argument with the first occurrence of the string "<code title="">%s</code>" removed, relative to the <a href=#first-script>first
+ argument with the first occurrence of the string "<code title="">%s</code>" removed, 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>, is
not successful.</p>
@@ -55007,7 +55007,7 @@
<p>If a third argument is specified, run these substeps:</p>
<ol><li><a href=#resolve-a-url title="resolve a url">Resolve</a> the value of the
- third argument, relative to the <a href=#first-script>first script</a>'s <a href="#script's-base-url" title="script's base URL">base URL</a>.</li>
+ third argument, 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>.</li>
<li>If that fails, raise a <code><a href=#security_err>SECURITY_ERR</a></code> exception
and abort these steps.</li>
@@ -55372,7 +55372,7 @@
<p>When the <dfn id=dom-location-assign title=dom-location-assign><code>assign(<var title="">url</var>)</code></dfn> method is invoked, the UA must
<a href=#resolve-a-url title="resolve a url">resolve</a> the argument, relative to
- the <a href=#first-script>first script</a>'s <a href="#script's-base-url" title="script's base URL">base
+ the <a href=#entry-script>entry script</a>'s <a href="#script's-base-url" title="script's base URL">base
URL</a>, and if that is successful, must <a href=#navigate>navigate</a>
the <a href=#browsing-context>browsing context</a> to the specified <var title="">url</var>. If the <a href=#browsing-context>browsing context</a>'s
<a href=#session-history>session history</a> contains only one
@@ -55387,7 +55387,7 @@
<p>When the <dfn id=dom-location-replace title=dom-location-replace><code>replace(<var title="">url</var>)</code></dfn> method is invoked, the UA must
<a href=#resolve-a-url title="resolve a url">resolve</a> the argument, relative to
- the <a href=#first-script>first script</a>'s <a href="#script's-base-url" title="script's base URL">base
+ the <a href=#entry-script>entry script</a>'s <a href="#script's-base-url" title="script's base URL">base
URL</a>, and if that is successful, <a href=#navigate>navigate</a> the
<a href=#browsing-context>browsing context</a> to the specified <var title="">url</var> with <a href=#replacement-enabled>replacement enabled</a>.</p>
@@ -55448,7 +55448,7 @@
<hr><p>The <dfn id=dom-location-resolveurl title=dom-location-resolveURL><code>resolveURL(<var title="">url</var>)</code></dfn> method must <a href=#resolve-a-url title="resolve a
url">resolve</a> its <var title="">url</var> argument, relative
- to the <a href=#first-script>first script</a>'s <a href="#script's-base-url" title="script's base
+ to the <a href=#entry-script>entry script</a>'s <a href="#script's-base-url" title="script's base
URL">base URL</a>, and if that succeeds, return the resulting
<a href=#absolute-url>absolute URL</a>. If it fails, it must throw a
<code><a href=#syntax_err>SYNTAX_ERR</a></code> exception instead.</p>
@@ -63875,7 +63875,7 @@
</table><hr><p>When the <dfn id=dom-worker title=dom-Worker><code>Worker(<var title="">scriptURL</var>)</code></dfn> constructor is invoked, the
user agent must run the following steps:</p>
- <ol><li><p><a href=#resolve-a-url title="resolve a url">Resolve</a> the <var title="">scriptURL</var> argument relative to the <a href=#first-script>first
+ <ol><li><p><a href=#resolve-a-url title="resolve a url">Resolve</a> the <var title="">scriptURL</var> argument 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>
@@ -63886,7 +63886,7 @@
<p>If the <a href=#origin>origin</a> of the resulting <a href=#absolute-url>absolute
URL</a> is not the <a href=#same-origin title="same origin">same</a> as the
- origin of the <a href=#first-script>first script</a>, then throw a
+ origin of the <a href=#entry-script>entry script</a>, then throw a
<code><a href=#security_err>SECURITY_ERR</a></code> exception.</p>
<p class=note>Thus, scripts must be external files with the same
@@ -63964,7 +63964,7 @@
<p><a href=#run-a-worker>Run a worker</a> for the resulting <a href=#absolute-url>absolute
URL</a>, with the <a href="#script's-browsing-context">script's browsing context</a> of the
script that invoked the method as the <var title="">owner browsing
- context</var>, with the <a href=#origin>origin</a> of the <a href=#first-script>first
+ context</var>, with the <a href=#origin>origin</a> of the <a href=#entry-script>entry
script</a> as the <var title="">owner origin</var>, and with
<var title="">worker global scope</var> as the global scope.</p>
@@ -64007,7 +64007,7 @@
<p>If the <a href=#origin>origin</a> of <var title="">scriptURL</var> is
not the <a href=#same-origin title="same origin">same</a> as the origin of the
- <a href=#first-script>first script</a>, then throw a <code><a href=#security_err>SECURITY_ERR</a></code>
+ <a href=#entry-script>entry script</a>, then throw a <code><a href=#security_err>SECURITY_ERR</a></code>
exception.</p>
<p class=note>Thus, scripts must be external files with the same
@@ -64170,7 +64170,7 @@
<p><a href=#run-a-worker>Run a worker</a> for <var title="">scriptURL</var>,
with the <a href="#script's-browsing-context">script's browsing context</a> of the script that
invoked the method as the <var title="">owner browsing
- context</var>, with the <a href=#origin>origin</a> of the <a href=#first-script>first
+ context</var>, with the <a href=#origin>origin</a> of the <a href=#entry-script>entry
script</a> as the <var title="">owner origin</var>, and with
<var title="">worker global scope</var> as the global scope.</p>
@@ -64226,7 +64226,7 @@
<p>Attempt to <a href=#fetch>fetch</a> each resource identified by the
resulting <a href=#absolute-url title="absolute URL">absolute URLs</a>, from
- the <a href=#first-script>first script</a>'s <a href=#origin>origin</a>.</p> <!-- not
+ the <a href=#entry-script>entry script</a>'s <a href=#origin>origin</a>.</p> <!-- not
http-origin privacy sensitive -->
</li>
@@ -64566,7 +64566,7 @@
<ol><li><p><a href=#resolve-a-url title="resolve a url">Resolve</a> the
<a href=#url>URL</a> specified in <var title="">url</var>, relative to
- the <a href=#first-script>first script</a>'s <a href="#script's-base-url" title="script's base
+ the <a href=#entry-script>entry script</a>'s <a href="#script's-base-url" title="script's base
URL">base URL</a>.</li>
<li><p>If the previous step failed, then throw a
@@ -64578,7 +64578,7 @@
<li>
<p><a href=#fetch>Fetch</a> the resource identified by the resulting
- <a href=#absolute-url>absolute URL</a>, from the <a href=#first-script>first script</a>'s
+ <a href=#absolute-url>absolute URL</a>, from the <a href=#entry-script>entry script</a>'s
<a href=#origin>origin</a>, and process it as described below.</p> <!--
not http-origin privacy sensitive -->
@@ -64676,7 +64676,7 @@
<p>User agents must act as if the connection had failed due to a
network error if the <a href=#origin>origin</a> of the <a href=#url>URL</a> of
the resource to be <a href=#fetch title=fetch>fetched</a> is not the
- <a href=#same-origin>same origin</a> as that of the <a href=#first-script>first script</a>
+ <a href=#same-origin>same origin</a> as that of the <a href=#entry-script>entry script</a>
when the <code title=dom-EventSource><a href=#dom-eventsource>EventSource()</a></code>
constructor is invoked.</p>
@@ -67475,7 +67475,7 @@
<p>If the value of the <var title="">targetOrigin</var> argument
is not a single U+002A ASTERISK character (*), and <a href=#resolve-a-url title="resolve a url">resolving</a> it relative to the
- <a href=#first-script>first script</a>'s <a href="#script's-base-url" title="script's base URL">base
+ <a href=#entry-script>entry script</a>'s <a href="#script's-base-url" title="script's base URL">base
URL</a> either fails or results in a <a href=#url>URL</a> with a
<code title=url-host-specific><a href=#url-host-specific><host-specific></a></code>
component that is neither empty nor a single U+002F SOLIDUS
@@ -67549,7 +67549,7 @@
<p>If the value of the <var title="">targetOrigin</var> argument
is not a single U+002A ASTERISK character (*), and <a href=#resolve-a-url title="resolve a url">resolving</a> it relative to the
- <a href=#first-script>first script</a>'s <a href="#script's-base-url" title="script's base URL">base
+ <a href=#entry-script>entry script</a>'s <a href="#script's-base-url" title="script's base URL">base
URL</a> either fails or results in a <a href=#url>URL</a> with a
<code title=url-host-specific><a href=#url-host-specific><host-specific></a></code>
component that is neither empty nor a single U+002F SOLIDUS
Modified: index
===================================================================
--- index 2010-01-06 03:33:25 UTC (rev 4495)
+++ index 2010-01-06 03:36:19 UTC (rev 4496)
@@ -4932,7 +4932,7 @@
<dt>When fetching resources in response to a call to an API</dt>
<dd>The <a href=#active-document>active document</a> of the <a href="#script's-browsing-context" title="script's
- browsing context">browsing context</a> of the <a href=#first-script>first
+ browsing context">browsing context</a> of the <a href=#entry-script>entry
script</a>.</dd>
</dl><p>Remove any <a href=#url-fragment title=url-fragment><fragment></a>
@@ -9564,7 +9564,7 @@
UTF-16.</li>
<li><p>Change <a href="#the-document's-address">the document's address</a> to the
- <a href=#first-script>first script</a>'s <a href="#script's-browsing-context" title="script's browsing
+ <a href=#entry-script>entry script</a>'s <a href="#script's-browsing-context" title="script's browsing
context">browsing context</a>'s <a href=#active-document>active document</a>'s
<a href="#the-document's-address" title="the document's address">address</a>.</li>
@@ -46187,7 +46187,7 @@
<li><p>If the <a href=#parent-browsing-context>parent browsing context</a>'s <a href=#active-document>active
document</a> 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=#first-script>first script</a>, then throw a <code><a href=#security_err>SECURITY_ERR</a></code>
+ <a href=#entry-script>entry script</a>, then throw a <code><a href=#security_err>SECURITY_ERR</a></code>
exception.</li>
<li><p>Otherwise, return the <a href=#browsing-context-container>browsing context
@@ -46312,11 +46312,11 @@
<dfn id=unit-of-related-similar-origin-browsing-contexts>unit of related similar-origin browsing contexts</dfn>.</p>
<p>Each <a href=#unit-of-related-similar-origin-browsing-contexts>unit of related similar-origin browsing
- contexts</a> can have a <dfn id=first-script>first script</dfn> which is used to
+ contexts</a> can have a <dfn id=entry-script>entry script</dfn> which is used to
obtain, amongst other things, the <a href="#script's-base-url">script's base URL</a> to
<a href=#resolve-a-url title="resolve a url">resolve</a> relative <a href=#url title=URL>URLs</a> used in scripts running in that <a href=#unit-of-related-similar-origin-browsing-contexts>unit
of related similar-origin browsing contexts</a>. Initially, there
- is no <a href=#first-script>first script</a>.</p>
+ is no <a href=#entry-script>entry script</a>.</p>
<p class=note>There is at most one <a href=#event-loop>event loop</a> per
<a href=#unit-of-related-similar-origin-browsing-contexts>unit of related similar-origin browsing contexts</a>.</p>
@@ -46726,7 +46726,7 @@
context. If no arguments are provided, or if the first argument is
the empty string, then the <var title="">url</var> argument defaults
to "<code><a href=#about:blank>about:blank</a></code>". The argument must be <a href=#resolve-a-url title="resolve a url">resolved</a> to an <a href=#absolute-url>absolute
- URL</a> (or an error), relative to the <a href=#first-script>first
+ URL</a> (or an error), 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.</p>
@@ -46774,7 +46774,7 @@
<a href=#browsing-context>browsing context</a> was just created as part of
<a href=#the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name>the rules for choosing a browsing context given a browsing
context name</a>. The navigation must be done with the <a href="#script's-browsing-context" title="script's browsing context">browsing context</a> of the
- <a href=#first-script>first script</a> as the <a href=#source-browsing-context>source browsing
+ <a href=#entry-script>entry script</a> as the <a href=#source-browsing-context>source browsing
context</a>.</p>
<p>The method must return the <code><a href=#windowproxy>WindowProxy</a></code> object of the
@@ -46833,7 +46833,7 @@
<a href=#active-document>active document</a> of that <code><a href=#window>Window</a></code> object, if
that <code><a href=#window>Window</a></code>'s <a href=#browsing-context>browsing context</a> shares the
same <a href=#event-loop>event loop</a> as the <a href="#script's-browsing-context">script's browsing
- context</a> of the <a href=#first-script>first script</a> accessing the IDL
+ context</a> of the <a href=#entry-script>entry script</a> accessing the IDL
attribute; otherwise, it must return zero.</p>
<!-- in other words, frames are only accessible to same-thread processes -->
@@ -47798,13 +47798,13 @@
not <a href=#fully-active>fully active</a>, then abort these steps without doing
anything. The callback is not fired.</p>
- <li><p>Set the <a href=#first-script>first script</a> to be the <a href=#concept-script title=concept-script>script</a> being invoked.</li>
+ <li><p>Set the <a href=#entry-script>entry script</a> to be the <a href=#concept-script title=concept-script>script</a> being invoked.</li>
<li><p>Make the <a href=#script-execution-environment title="script execution environment">script
execution environment</a> for the <a href=#concept-script title=concept-script>script</a> execute the code for the given
code entry-point.</li>
- <li><p>Set the <a href=#first-script>first script</a> back to whatever it was
+ <li><p>Set the <a href=#entry-script>entry script</a> back to whatever it was
when this algorithm started.</li>
</ol><p>This algorithm is not invoked by one script calling another.</p>
@@ -49208,7 +49208,7 @@
<ol><li>
- <p><a href=#resolve-a-url title="resolve a url">Resolve</a> <var title="">url</var> relative to the <a href=#first-script>first script</a>'s
+ <p><a href=#resolve-a-url title="resolve a url">Resolve</a> <var title="">url</var> 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>.</p>
<p>If this fails, then throw a <code><a href=#syntax_err>SYNTAX_ERR</a></code> exception
@@ -49647,7 +49647,7 @@
occurrence of the exact literal string "<code title="">%s</code>"
with an escaped version of the <a href=#absolute-url>absolute URL</a> of the
content in question (as defined below), then <a href=#resolve-a-url title="resolve
- a url">resolve</a> the resulting URL, relative to the <a href="#script's-base-url" title="script's base URL">base URL</a> of the <a href=#first-script>first
+ a url">resolve</a> the resulting URL, relative to the <a href="#script's-base-url" title="script's base URL">base URL</a> of the <a href=#entry-script>entry
script</a> at the time the <code title=dom-navigator-registerContentHandler><a href=#dom-navigator-registercontenthandler>registerContentHandler()</a></code>
or <code title=dom-navigator-registerProtocolHandler><a href=#dom-navigator-registerprotocolhandler>registerProtocolHandler()</a></code>
methods were invoked, and then <a href=#navigate>navigate</a> an
@@ -49705,7 +49705,7 @@
<p>User agents must raise a <code><a href=#syntax_err>SYNTAX_ERR</a></code> exception if the
<var title="">url</var> argument passed to one of these methods does
not contain the exact literal string "<code>%s</code>", or if <a href=#resolve-a-url title="resolve a url">resolving</a> the <var title="">url</var>
- argument with the first occurrence of the string "<code title="">%s</code>" removed, relative to the <a href=#first-script>first
+ argument with the first occurrence of the string "<code title="">%s</code>" removed, 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>, is
not successful.</p>
@@ -52181,7 +52181,7 @@
<p>If a third argument is specified, run these substeps:</p>
<ol><li><a href=#resolve-a-url title="resolve a url">Resolve</a> the value of the
- third argument, relative to the <a href=#first-script>first script</a>'s <a href="#script's-base-url" title="script's base URL">base URL</a>.</li>
+ third argument, 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>.</li>
<li>If that fails, raise a <code><a href=#security_err>SECURITY_ERR</a></code> exception
and abort these steps.</li>
@@ -52546,7 +52546,7 @@
<p>When the <dfn id=dom-location-assign title=dom-location-assign><code>assign(<var title="">url</var>)</code></dfn> method is invoked, the UA must
<a href=#resolve-a-url title="resolve a url">resolve</a> the argument, relative to
- the <a href=#first-script>first script</a>'s <a href="#script's-base-url" title="script's base URL">base
+ the <a href=#entry-script>entry script</a>'s <a href="#script's-base-url" title="script's base URL">base
URL</a>, and if that is successful, must <a href=#navigate>navigate</a>
the <a href=#browsing-context>browsing context</a> to the specified <var title="">url</var>. If the <a href=#browsing-context>browsing context</a>'s
<a href=#session-history>session history</a> contains only one
@@ -52561,7 +52561,7 @@
<p>When the <dfn id=dom-location-replace title=dom-location-replace><code>replace(<var title="">url</var>)</code></dfn> method is invoked, the UA must
<a href=#resolve-a-url title="resolve a url">resolve</a> the argument, relative to
- the <a href=#first-script>first script</a>'s <a href="#script's-base-url" title="script's base URL">base
+ the <a href=#entry-script>entry script</a>'s <a href="#script's-base-url" title="script's base URL">base
URL</a>, and if that is successful, <a href=#navigate>navigate</a> the
<a href=#browsing-context>browsing context</a> to the specified <var title="">url</var> with <a href=#replacement-enabled>replacement enabled</a>.</p>
@@ -52622,7 +52622,7 @@
<hr><p>The <dfn id=dom-location-resolveurl title=dom-location-resolveURL><code>resolveURL(<var title="">url</var>)</code></dfn> method must <a href=#resolve-a-url title="resolve a
url">resolve</a> its <var title="">url</var> argument, relative
- to the <a href=#first-script>first script</a>'s <a href="#script's-base-url" title="script's base
+ to the <a href=#entry-script>entry script</a>'s <a href="#script's-base-url" title="script's base
URL">base URL</a>, and if that succeeds, return the resulting
<a href=#absolute-url>absolute URL</a>. If it fails, it must throw a
<code><a href=#syntax_err>SYNTAX_ERR</a></code> exception instead.</p>
@@ -59102,7 +59102,7 @@
<p>If the value of the <var title="">targetOrigin</var> argument
is not a single U+002A ASTERISK character (*), and <a href=#resolve-a-url title="resolve a url">resolving</a> it relative to the
- <a href=#first-script>first script</a>'s <a href="#script's-base-url" title="script's base URL">base
+ <a href=#entry-script>entry script</a>'s <a href="#script's-base-url" title="script's base URL">base
URL</a> either fails or results in a <a href=#url>URL</a> with a
<code title=url-host-specific><a href=#url-host-specific><host-specific></a></code>
component that is neither empty nor a single U+002F SOLIDUS
@@ -59176,7 +59176,7 @@
<p>If the value of the <var title="">targetOrigin</var> argument
is not a single U+002A ASTERISK character (*), and <a href=#resolve-a-url title="resolve a url">resolving</a> it relative to the
- <a href=#first-script>first script</a>'s <a href="#script's-base-url" title="script's base URL">base
+ <a href=#entry-script>entry script</a>'s <a href="#script's-base-url" title="script's base URL">base
URL</a> either fails or results in a <a href=#url>URL</a> with a
<code title=url-host-specific><a href=#url-host-specific><host-specific></a></code>
component that is neither empty nor a single U+002F SOLIDUS
Modified: source
===================================================================
--- source 2010-01-06 03:33:25 UTC (rev 4495)
+++ source 2010-01-06 03:36:19 UTC (rev 4496)
@@ -4580,7 +4580,7 @@
<dt>When fetching resources in response to a call to an API</dt>
<dd>The <span>active document</span> of the <span title="script's
- browsing context">browsing context</span> of the <span>first
+ browsing context">browsing context</span> of the <span>entry
script</span>.</dd>
</dl>
@@ -9900,7 +9900,7 @@
UTF-16.</p></li>
<li><p>Change <span>the document's address</span> to the
- <span>first script</span>'s <span title="script's browsing
+ <span>entry script</span>'s <span title="script's browsing
context">browsing context</span>'s <span>active document</span>'s
<span title="the document's address">address</span>.</p></li>
@@ -55140,7 +55140,7 @@
<li><p>If the <span>parent browsing context</span>'s <span>active
document</span> does not have the <span title="same
origin">same</span> <span>effective script origin</span> as the
- <span>first script</span>, then throw a <code>SECURITY_ERR</code>
+ <span>entry script</span>, then throw a <code>SECURITY_ERR</code>
exception.</p></li>
<li><p>Otherwise, return the <span>browsing context
@@ -55282,12 +55282,12 @@
<dfn>unit of related similar-origin browsing contexts</dfn>.</p>
<p>Each <span>unit of related similar-origin browsing
- contexts</span> can have a <dfn>first script</dfn> which is used to
+ contexts</span> can have a <dfn>entry script</dfn> which is used to
obtain, amongst other things, the <span>script's base URL</span> to
<span title="resolve a url">resolve</span> relative <span
title="URL">URLs</span> used in scripts running in that <span>unit
of related similar-origin browsing contexts</span>. Initially, there
- is no <span>first script</span>.</p>
+ is no <span>entry script</span>.</p>
<p class="note">There is at most one <span>event loop</span> per
<span>unit of related similar-origin browsing contexts</span>.</p>
@@ -55736,7 +55736,7 @@
the empty string, then the <var title="">url</var> argument defaults
to "<code>about:blank</code>". The argument must be <span
title="resolve a url">resolved</span> to an <span>absolute
- URL</span> (or an error), relative to the <span>first
+ URL</span> (or an error), relative to the <span>entry
script</span>'s <span title="script's base URL">base URL</span>,
when the method is invoked.</p>
@@ -55787,7 +55787,7 @@
<span>the rules for choosing a browsing context given a browsing
context name</span>. The navigation must be done with the <span
title="script's browsing context">browsing context</span> of the
- <span>first script</span> as the <span>source browsing
+ <span>entry script</span> as the <span>source browsing
context</span>.</p>
<p>The method must return the <code>WindowProxy</code> object of the
@@ -55855,7 +55855,7 @@
<span>active document</span> of that <code>Window</code> object, if
that <code>Window</code>'s <span>browsing context</span> shares the
same <span>event loop</span> as the <span>script's browsing
- context</span> of the <span>first script</span> accessing the IDL
+ context</span> of the <span>entry script</span> accessing the IDL
attribute; otherwise, it must return zero.</p>
<!-- in other words, frames are only accessible to same-thread processes -->
@@ -56980,7 +56980,7 @@
not <span>fully active</span>, then abort these steps without doing
anything. The callback is not fired.</p>
- <li><p>Set the <span>first script</span> to be the <span
+ <li><p>Set the <span>entry script</span> to be the <span
title="concept-script">script</span> being invoked.</p></li>
<li><p>Make the <span title="script execution environment">script
@@ -56988,7 +56988,7 @@
title="concept-script">script</span> execute the code for the given
code entry-point.</p></li>
- <li><p>Set the <span>first script</span> back to whatever it was
+ <li><p>Set the <span>entry script</span> back to whatever it was
when this algorithm started.</p></li>
</ol>
@@ -58656,7 +58656,7 @@
<li>
<p><span title="resolve a url">Resolve</span> <var
- title="">url</var> relative to the <span>first script</span>'s
+ title="">url</var> relative to the <span>entry script</span>'s
<span title="script's base URL">base URL</span>.</p>
<p>If this fails, then throw a <code>SYNTAX_ERR</code> exception
@@ -59143,7 +59143,7 @@
with an escaped version of the <span>absolute URL</span> of the
content in question (as defined below), then <span title="resolve
a url">resolve</span> the resulting URL, relative to the <span
- title="script's base URL">base URL</span> of the <span>first
+ title="script's base URL">base URL</span> of the <span>entry
script</span> at the time the <code
title="dom-navigator-registerContentHandler">registerContentHandler()</code>
or <code
@@ -59211,7 +59211,7 @@
not contain the exact literal string "<code>%s</code>", or if <span
title="resolve a url">resolving</span> the <var title="">url</var>
argument with the first occurrence of the string "<code
- title="">%s</code>" removed, relative to the <span>first
+ title="">%s</code>" removed, relative to the <span>entry
script</span>'s <span title="script's base URL">base URL</span>, is
not successful.</p>
@@ -62077,7 +62077,7 @@
<ol>
<li><span title="resolve a url">Resolve</span> the value of the
- third argument, relative to the <span>first script</span>'s <span
+ third argument, relative to the <span>entry script</span>'s <span
title="script's base URL">base URL</span>.</li>
<li>If that fails, raise a <code>SECURITY_ERR</code> exception
@@ -62499,7 +62499,7 @@
<p>When the <dfn title="dom-location-assign"><code>assign(<var
title="">url</var>)</code></dfn> method is invoked, the UA must
<span title="resolve a url">resolve</span> the argument, relative to
- the <span>first script</span>'s <span title="script's base URL">base
+ the <span>entry script</span>'s <span title="script's base URL">base
URL</span>, and if that is successful, must <span>navigate</span>
the <span>browsing context</span> to the specified <var
title="">url</var>. If the <span>browsing context</span>'s
@@ -62516,7 +62516,7 @@
<p>When the <dfn title="dom-location-replace"><code>replace(<var
title="">url</var>)</code></dfn> method is invoked, the UA must
<span title="resolve a url">resolve</span> the argument, relative to
- the <span>first script</span>'s <span title="script's base URL">base
+ the <span>entry script</span>'s <span title="script's base URL">base
URL</span>, and if that is successful, <span>navigate</span> the
<span>browsing context</span> to the specified <var
title="">url</var> with <span>replacement enabled</span>.</p>
@@ -62601,7 +62601,7 @@
<p>The <dfn title="dom-location-resolveURL"><code>resolveURL(<var
title="">url</var>)</code></dfn> method must <span title="resolve a
url">resolve</span> its <var title="">url</var> argument, relative
- to the <span>first script</span>'s <span title="script's base
+ to the <span>entry script</span>'s <span title="script's base
URL">base URL</span>, and if that succeeds, return the resulting
<span>absolute URL</span>. If it fails, it must throw a
<code>SYNTAX_ERR</code> exception instead.</p>
@@ -72820,7 +72820,7 @@
<ol>
<li><p><span title="resolve a url">Resolve</span> the <var
- title="">scriptURL</var> argument relative to the <span>first
+ title="">scriptURL</var> argument relative to the <span>entry
script</span>'s <span title="script's base URL">base URL</span>,
when the method is invoked.</p></li>
@@ -72831,7 +72831,7 @@
<p>If the <span>origin</span> of the resulting <span>absolute
URL</span> is not the <span title="same origin">same</span> as the
- origin of the <span>first script</span>, then throw a
+ origin of the <span>entry script</span>, then throw a
<code>SECURITY_ERR</code> exception.</p>
<p class="note">Thus, scripts must be external files with the same
@@ -72918,7 +72918,7 @@
<p><span>Run a worker</span> for the resulting <span>absolute
URL</span>, with the <span>script's browsing context</span> of the
script that invoked the method as the <var title="">owner browsing
- context</var>, with the <span>origin</span> of the <span>first
+ context</var>, with the <span>origin</span> of the <span>entry
script</span> as the <var title="">owner origin</var>, and with
<var title="">worker global scope</var> as the global scope.</p>
@@ -72967,7 +72967,7 @@
<p>If the <span>origin</span> of <var title="">scriptURL</var> is
not the <span title="same origin">same</span> as the origin of the
- <span>first script</span>, then throw a <code>SECURITY_ERR</code>
+ <span>entry script</span>, then throw a <code>SECURITY_ERR</code>
exception.</p>
<p class="note">Thus, scripts must be external files with the same
@@ -73164,7 +73164,7 @@
<p><span>Run a worker</span> for <var title="">scriptURL</var>,
with the <span>script's browsing context</span> of the script that
invoked the method as the <var title="">owner browsing
- context</var>, with the <span>origin</span> of the <span>first
+ context</var>, with the <span>origin</span> of the <span>entry
script</span> as the <var title="">owner origin</var>, and with
<var title="">worker global scope</var> as the global scope.</p>
@@ -73226,7 +73226,7 @@
<p>Attempt to <span>fetch</span> each resource identified by the
resulting <span title="absolute URL">absolute URLs</span>, from
- the <span>first script</span>'s <span>origin</span>.</p> <!-- not
+ the <span>entry script</span>'s <span>origin</span>.</p> <!-- not
http-origin privacy sensitive -->
</li>
@@ -73625,7 +73625,7 @@
<li><p><span title="resolve a url">Resolve</span> the
<span>URL</span> specified in <var title="">url</var>, relative to
- the <span>first script</span>'s <span title="script's base
+ the <span>entry script</span>'s <span title="script's base
URL">base URL</span>.</p></li>
<li><p>If the previous step failed, then throw a
@@ -73637,7 +73637,7 @@
<li>
<p><span>Fetch</span> the resource identified by the resulting
- <span>absolute URL</span>, from the <span>first script</span>'s
+ <span>absolute URL</span>, from the <span>entry script</span>'s
<span>origin</span>, and process it as described below.</p> <!--
not http-origin privacy sensitive -->
@@ -73762,7 +73762,7 @@
<p>User agents must act as if the connection had failed due to a
network error if the <span>origin</span> of the <span>URL</span> of
the resource to be <span title="fetch">fetched</span> is not the
- <span>same origin</span> as that of the <span>first script</span>
+ <span>same origin</span> as that of the <span>entry script</span>
when the <code title="dom-EventSource">EventSource()</code>
constructor is invoked.</p>
@@ -76961,7 +76961,7 @@
<p>If the value of the <var title="">targetOrigin</var> argument
is not a single U+002A ASTERISK character (*), and <span
title="resolve a url">resolving</span> it relative to the
- <span>first script</span>'s <span title="script's base URL">base
+ <span>entry script</span>'s <span title="script's base URL">base
URL</span> either fails or results in a <span>URL</span> with a
<code title="url-host-specific"><host-specific></code>
component that is neither empty nor a single U+002F SOLIDUS
@@ -77053,7 +77053,7 @@
<p>If the value of the <var title="">targetOrigin</var> argument
is not a single U+002A ASTERISK character (*), and <span
title="resolve a url">resolving</span> it relative to the
- <span>first script</span>'s <span title="script's base URL">base
+ <span>entry script</span>'s <span title="script's base URL">base
URL</span> either fails or results in a <span>URL</span> with a
<code title="url-host-specific"><host-specific></code>
component that is neither empty nor a single U+002F SOLIDUS
More information about the Commit-Watchers
mailing list