Skip to content

Commit

Permalink
[e] (0) call the script's character encoding the URL character encoding.
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=7752

git-svn-id: http://svn.whatwg.org/webapps@4166 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 18, 2009
1 parent 0091baf commit 7ba724d
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 19 deletions.
15 changes: 8 additions & 7 deletions complete.html
Expand Up @@ -50395,8 +50395,9 @@ <h5 id=creating-scripts><span class=secno>6.5.3.3 </span>Creating scripts</h5>

<p>When the specification says that a <a href=#concept-script title=concept-script>script</a> is to be <dfn id=create-a-script title="create a
script">created</dfn>, given some script source, its scripting
language, a global object, a browsing context, a character encoding,
and a base URL, the user agent must run the following steps:</p>
language, a global object, a browsing context, a URL character
encoding, and a base URL, the user agent must run the following
steps:</p>

<ol><li><p>If <a href=#concept-bc-noscript title=concept-bc-noscript>scripting is
disabled</a> for <a href=#browsing-context>browsing context</a> passed to this
Expand Down Expand Up @@ -50428,7 +50429,7 @@ <h5 id=creating-scripts><span class=secno>6.5.3.3 </span>Creating scripts</h5>
context, the user agent must <a href=#create-a-script>create a script</a>, 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
browsing context. The character encoding and base URL for the
browsing context. The URL character encoding and base URL for the
resulting <a href=#concept-script title=concept-script>script</a> are not
important as no APIs are exposed to the script.</p>

Expand Down Expand Up @@ -51554,8 +51555,8 @@ <h3 id=timers><span class=secno>6.6 </span>Timers</h3>

</li>

<li><p>Return a <a href=#concept-task title=concept-task>task</a> that <a href=#create-a-script title="create a script">creates a script</a> using <var title="">script source</var> as the script source, <var title="">scripting language</var> as the scripting language, <var title="">global object</var> as the global object, <var title="">browsing context</var> as the browsing context, <var title="">character encoding</var> as the character encoding, and
<var title="">base URL</var> as the base URL.</li>
<li><p>Return a <a href=#concept-task title=concept-task>task</a> that <a href=#create-a-script title="create a script">creates a script</a> using <var title="">script source</var> as the script source, <var title="">scripting language</var> as the scripting language, <var title="">global object</var> as the global object, <var title="">browsing context</var> as the browsing context, <var title="">character encoding</var> as the URL character encoding,
and <var title="">base URL</var> as the base URL.</li>

</ol><p>When the above methods are to <dfn id=get-the-timeout>get the timeout</dfn>, they
must run the following steps:</p>
Expand Down Expand Up @@ -64742,8 +64743,8 @@ <h4 id=importing-scripts-and-libraries><span class=secno>9.3.1 </span>Importing
<li>

<p><a href=#create-a-script>Create a script</a>, using <var title="">source</var> as the script source and <var title="">language</var> as the scripting language, using the
same global object, browsing context, character encoding, base
URL, and script group as the <a href=#concept-script title=concept-script>script</a> that was created by the
same global object, browsing context, URL character encoding,
base URL, and script group as the <a href=#concept-script title=concept-script>script</a> that was created by the
worker's <a href=#run-a-worker>run a worker</a> algorithm.</p>

<p>Let the newly created <a href=#concept-script title=concept-script>script</a> run until it either
Expand Down
11 changes: 6 additions & 5 deletions index
Expand Up @@ -47554,8 +47554,9 @@ interface <dfn id=window>Window</dfn> {

<p>When the specification says that a <a href=#concept-script title=concept-script>script</a> is to be <dfn id=create-a-script title="create a
script">created</dfn>, given some script source, its scripting
language, a global object, a browsing context, a character encoding,
and a base URL, the user agent must run the following steps:</p>
language, a global object, a browsing context, a URL character
encoding, and a base URL, the user agent must run the following
steps:</p>

<ol><li><p>If <a href=#concept-bc-noscript title=concept-bc-noscript>scripting is
disabled</a> for <a href=#browsing-context>browsing context</a> passed to this
Expand Down Expand Up @@ -47587,7 +47588,7 @@ interface <dfn id=window>Window</dfn> {
context, the user agent must <a href=#create-a-script>create a script</a>, 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
browsing context. The character encoding and base URL for the
browsing context. The URL character encoding and base URL for the
resulting <a href=#concept-script title=concept-script>script</a> are not
important as no APIs are exposed to the script.</p>

Expand Down Expand Up @@ -48713,8 +48714,8 @@ interface <dfn id=windowtimers>WindowTimers</dfn> {

</li>

<li><p>Return a <a href=#concept-task title=concept-task>task</a> that <a href=#create-a-script title="create a script">creates a script</a> using <var title="">script source</var> as the script source, <var title="">scripting language</var> as the scripting language, <var title="">global object</var> as the global object, <var title="">browsing context</var> as the browsing context, <var title="">character encoding</var> as the character encoding, and
<var title="">base URL</var> as the base URL.</li>
<li><p>Return a <a href=#concept-task title=concept-task>task</a> that <a href=#create-a-script title="create a script">creates a script</a> using <var title="">script source</var> as the script source, <var title="">scripting language</var> as the scripting language, <var title="">global object</var> as the global object, <var title="">browsing context</var> as the browsing context, <var title="">character encoding</var> as the URL character encoding,
and <var title="">base URL</var> as the base URL.</li>

</ol><p>When the above methods are to <dfn id=get-the-timeout>get the timeout</dfn>, they
must run the following steps:</p>
Expand Down
15 changes: 8 additions & 7 deletions source
Expand Up @@ -56688,8 +56688,9 @@ interface <dfn>Window</dfn> {
<p>When the specification says that a <span
title="concept-script">script</span> is to be <dfn title="create a
script">created</dfn>, given some script source, its scripting
language, a global object, a browsing context, a character encoding,
and a base URL, the user agent must run the following steps:</p>
language, a global object, a browsing context, a URL character
encoding, and a base URL, the user agent must run the following
steps:</p>

<ol>

Expand Down Expand Up @@ -56727,7 +56728,7 @@ interface <dfn>Window</dfn> {
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
browsing context. The character encoding and base URL for the
browsing context. The URL character encoding and base URL for the
resulting <span title="concept-script">script</span> are not
important as no APIs are exposed to the script.</p>

Expand Down Expand Up @@ -58065,8 +58066,8 @@ interface <dfn>WindowTimers</dfn> {
title="">scripting language</var> as the scripting language, <var
title="">global object</var> as the global object, <var
title="">browsing context</var> as the browsing context, <var
title="">character encoding</var> as the character encoding, and
<var title="">base URL</var> as the base URL.</p></li>
title="">character encoding</var> as the URL character encoding,
and <var title="">base URL</var> as the base URL.</p></li>

</ol>

Expand Down Expand Up @@ -72679,8 +72680,8 @@ interface <dfn>WorkerUtils</dfn> {
<p><span>Create a script</span>, using <var
title="">source</var> as the script source and <var
title="">language</var> as the scripting language, using the
same global object, browsing context, character encoding, base
URL, and script group as the <span
same global object, browsing context, URL character encoding,
base URL, and script group as the <span
title="concept-script">script</span> that was created by the
worker's <span>run a worker</span> algorithm.</p>

Expand Down

0 comments on commit 7ba724d

Please sign in to comment.