Skip to content

Commit

Permalink
[e] (0) s/global scope/global object/
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=7947

git-svn-id: http://svn.whatwg.org/webapps@4245 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 21, 2009
1 parent 85f94e7 commit a6c2034
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 62 deletions.
62 changes: 31 additions & 31 deletions complete.html
Expand Up @@ -49303,7 +49303,7 @@ <h3 id=the-windowproxy-object><span class=secno>6.2 </span>The <code><a href=#wi
<div class=example>

<p>In the following example, the variable <var title="">x</var> is
set to the <code><a href=#windowproxy>WindowProxy</a></code> object returned by the <code title=dom-window><a href=#dom-window>window</a></code> accessor on the global scope. All
set to the <code><a href=#windowproxy>WindowProxy</a></code> object returned by the <code title=dom-window><a href=#dom-window>window</a></code> accessor on the global object. All
of the expressions following the assignment return true, because in
every respect, the <code><a href=#windowproxy>WindowProxy</a></code> object acts like the
underlying <code><a href=#window>Window</a></code> object.</p>
Expand Down Expand Up @@ -64265,7 +64265,7 @@ <h4 id="the-worker's-lifetime"><span class=secno>9.2.4 </span>The worker's lifet
<a href="#the-worker's-documents">the worker's <code>Document</code>s</a> of each worker
whose list contains that <code>Document</code>.</p>

<p>Given a <span>script's global scope</span> <var title="">o</var>
<p>Given a <a href="#script's-global-object">script's global object</a> <var title="">o</var>
when creating or obtaining a worker, the <dfn id=list-of-relevant-document-objects-to-add>list of relevant
<code>Document</code> objects to add</dfn> depends on the type of
<var title="">o</var>. If <var title="">o</var> is a
Expand Down Expand Up @@ -64711,8 +64711,8 @@ <h5 id=the-abstractworker-abstract-interface><span class=secno>9.2.7.1 </span>Th
<var title="">worker global scope</var>. Let <var title="">worker</var> be this new object.</li>

<li><p><a href=#create-a-new-messageport-object>Create a new <code>MessagePort</code> object</a>
owned by the <span title="script's global scope">global
scope</span> of the <a href=#concept-script title=concept-script>script</a> that
owned by the <a href="#script's-global-object" title="script's global object">global
object</a> of the <a href=#concept-script title=concept-script>script</a> that
invoked the constructor. Let this be the <var title="">outside
port</var>.</li>

Expand All @@ -64738,7 +64738,7 @@ <h5 id=the-abstractworker-abstract-interface><span class=secno>9.2.7.1 </span>Th
<li>

<p>Let <var title="">docs</var> be the <a href=#list-of-relevant-document-objects-to-add>list of relevant
<code>Document</code> objects to add</a> given the <span title="script's global scope">global scope</span> of the <a href=#concept-script title=concept-script>script</a> that invoked the
<code>Document</code> objects to add</a> given the <a href="#script's-global-object" title="script's global object">global object</a> of the <a href=#concept-script title=concept-script>script</a> that invoked the
constructor.</p>

</li>
Expand All @@ -64754,12 +64754,12 @@ <h5 id=the-abstractworker-abstract-interface><span class=secno>9.2.7.1 </span>Th

<li>

<p>If the <span title="script's global scope">global scope</span>
<p>If the <a href="#script's-global-object" title="script's global object">global object</a>
of the <a href=#concept-script title=concept-script>script</a> that invoked the
constructor is a <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object (i.e. we
are creating a nested worker), add <var title="">worker global
scope</var> to the list of <a href="#the-worker's-workers">the worker's workers</a> of the
<code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object that is the <span title="script's global scope">global scope</span> of the <a href=#concept-script title=concept-script>script</a> that invoked the
<code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object that is the <a href="#script's-global-object" title="script's global object">global object</a> of the <a href=#concept-script title=concept-script>script</a> that invoked the
constructor.</p>

</li>
Expand All @@ -64775,8 +64775,8 @@ <h5 id=the-abstractworker-abstract-interface><span class=secno>9.2.7.1 </span>Th

</li>

</ol><p>This constructor must be visible when the <span>script's global
scope</span> is either a <code><a href=#window>Window</a></code> object or an object
</ol><p>This constructor must be visible when the <a href="#script's-global-object">script's global
object</a> is either a <code><a href=#window>Window</a></code> object or an object
implementing the <code><a href=#workerutils>WorkerUtils</a></code> interface.</p>


Expand Down Expand Up @@ -64825,7 +64825,7 @@ <h5 id=shared-workers-and-the-sharedworker-interface><span class=secno>9.2.7.3 <
<li>

<p>Let <var title="">docs</var> be the <a href=#list-of-relevant-document-objects-to-add>list of relevant
<code>Document</code> objects to add</a> given the <span title="script's global scope">global scope</span> of the <a href=#concept-script title=concept-script>script</a> that invoked the
<code>Document</code> objects to add</a> given the <a href="#script's-global-object" title="script's global object">global object</a> of the <a href=#concept-script title=concept-script>script</a> that invoked the
constructor.</p>

</li>
Expand All @@ -64839,8 +64839,8 @@ <h5 id=shared-workers-and-the-sharedworker-interface><span class=secno>9.2.7.3 <
object. Let this <code><a href=#sharedworker>SharedWorker</a></code> object be <var title="">worker</var>.</li>

<li><p><a href=#create-a-new-messageport-object>Create a new <code>MessagePort</code> object</a>
owned by the <span title="script's global scope">global
scope</span> of the script that invoked the method. Let this be
owned by the <a href="#script's-global-object" title="script's global object">global
object</a> of the script that invoked the method. Let this be
the <var title="">outside port</var>.</li>

<li><p>Assign <var title="">outside port</var> to the <code title=dom-SharedWorker-port><a href=#dom-sharedworker-port>port</a></code> attribute of <var title="">worker</var>.</li>
Expand Down Expand Up @@ -64906,13 +64906,13 @@ <h5 id=shared-workers-and-the-sharedworker-interface><span class=secno>9.2.7.3 <

<li>

<p>If the <span title="script's global scope">global
scope</span> of the <a href=#concept-script title=concept-script>script</a>
<p>If the <a href="#script's-global-object" title="script's global object">global
object</a> of the <a href=#concept-script title=concept-script>script</a>
that invoked the constructor is a
<code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object, add <var title="">worker global scope</var> to the list of <a href="#the-worker's-workers">the
worker's workers</a> of the <code><a href=#workerglobalscope>WorkerGlobalScope</a></code>
object that is the <span title="script's global scope">global
scope</span> of the <a href=#concept-script title=concept-script>script</a>
object that is the <a href="#script's-global-object" title="script's global object">global
object</a> of the <a href=#concept-script title=concept-script>script</a>
that invoked the constructor.</p>

</li>
Expand Down Expand Up @@ -64960,12 +64960,12 @@ <h5 id=shared-workers-and-the-sharedworker-interface><span class=secno>9.2.7.3 <

<li>

<p>If the <span title="script's global scope">global scope</span>
<p>If the <a href="#script's-global-object" title="script's global object">global object</a>
of the <a href=#concept-script title=concept-script>script</a> that invoked the
constructor is a <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object, add <var title="">worker global scope</var> to the list of <a href="#the-worker's-workers">the
worker's workers</a> of the <code><a href=#workerglobalscope>WorkerGlobalScope</a></code>
object that is the <span title="script's global scope">global
scope</span> of the <a href=#concept-script title=concept-script>script</a>
object that is the <a href="#script's-global-object" title="script's global object">global
object</a> of the <a href=#concept-script title=concept-script>script</a>
that invoked the constructor.</p>

</li>
Expand All @@ -64981,8 +64981,8 @@ <h5 id=shared-workers-and-the-sharedworker-interface><span class=secno>9.2.7.3 <

</li>

</ol><p>This constructor must be visible when the <span>script's global
scope</span> is either a <code><a href=#window>Window</a></code> object or an object
</ol><p>This constructor must be visible when the <a href="#script's-global-object">script's global
object</a> is either a <code><a href=#window>Window</a></code> object or an object
implementing the <code><a href=#workerutils>WorkerUtils</a></code> interface.</p>

<p>The <a href=#task-source>task source</a> for the tasks mentioned above is the
Expand Down Expand Up @@ -65123,8 +65123,8 @@ <h4 id=apis-defined-in-other-specifications><span class=secno>9.3.3 </span>APIs
<h4 id=interface-objects-and-constructors><span class=secno>9.3.4 </span>Interface objects and constructors</h4>

<p>There must be no interface objects and constructors available in
the global scope of scripts whose <span>script execution
context</span> is a <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object except for
the global scope of scripts whose <a href="#script's-global-object">script's global
object</a> is a <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object except for
the following:</p>

<ul><li><p><code>XMLHttpRequest</code> and all interface objects and
Expand Down Expand Up @@ -65371,8 +65371,8 @@ <h4 id=the-eventsource-interface><span class=secno>10.2.2 </span>The <code><a hr

</li>

</ol><p>This constructor must be visible when the <span>script's global
scope</span> is either a <code><a href=#window>Window</a></code> object or an object
</ol><p>This constructor must be visible when the <a href="#script's-global-object">script's global
object</a> is either a <code><a href=#window>Window</a></code> object or an object
implementing the <code><a href=#workerutils>WorkerUtils</a></code> interface.</p>

<hr><p>The <dfn id=dom-eventsource-url title=dom-EventSource-URL><code>URL</code></dfn>
Expand Down Expand Up @@ -66105,8 +66105,8 @@ <h4 id=the-websocket-interface><span class=secno>10.3.2 </span>The <code><a href

</li>

</ol><p>This constructor must be visible when the <span>script's global
scope</span> is either a <code><a href=#window>Window</a></code> object or an object
</ol><p>This constructor must be visible when the <a href="#script's-global-object">script's global
object</a> is either a <code><a href=#window>Window</a></code> object or an object
implementing the <code><a href=#workerutils>WorkerUtils</a></code> interface.</p>

<hr><p>The <dfn id=dom-websocket-url title=dom-WebSocket-URL><code>URL</code></dfn>
Expand Down Expand Up @@ -67940,7 +67940,7 @@ <h4 id=posting-messages><span class=secno>10.4.3 </span>Posting messages</h4>
origin">Unicode serialization</a> of the <a href=#origin>origin</a> of
the script that invoked the method, and the <code title=dom-MessageEvent-source><a href=#dom-messageevent-source>source</a></code> attribute must be
set to the <a href="#script's-global-object">script's global object</a>.</p> <!--
invariant: the global scope is always a Window if the script can
invariant: the global object is always a Window if the script can
see this method -->

</li>
Expand Down Expand Up @@ -68047,7 +68047,7 @@ <h4 id=posting-messages-with-message-ports><span class=secno>10.4.4 </span>Posti
origin">Unicode serialization</a> of the <a href=#origin>origin</a> of
the script that invoked the method, and the <code title=dom-MessageEvent-source><a href=#dom-messageevent-source>source</a></code> attribute must be
set to the <a href="#script's-global-object">script's global object</a>.</p> <!--
invariant: the global scope is always a Window if the script can
invariant: the global object is always a Window if the script can
see this method -->

</li>
Expand Down Expand Up @@ -68139,8 +68139,8 @@ <h4 id=message-channels><span class=secno>10.5.1 </span>Message channels</h4>

<li><p>Return <var title="">channel</var>.</li>

</ol><p>This constructor must be visible when the <span>script's global
scope</span> is either a <code><a href=#window>Window</a></code> object or an object
</ol><p>This constructor must be visible when the <a href="#script's-global-object">script's global
object</a> is either a <code><a href=#window>Window</a></code> object or an object
implementing the <code><a href=#workerutils>WorkerUtils</a></code> interface.</p>

<p>The <dfn id=dom-channel-port1 title=dom-channel-port1><code>port1</code></dfn> and
Expand Down
10 changes: 5 additions & 5 deletions index
Expand Up @@ -46463,7 +46463,7 @@ document.body.appendChild(outer);</pre>
<div class=example>

<p>In the following example, the variable <var title="">x</var> is
set to the <code><a href=#windowproxy>WindowProxy</a></code> object returned by the <code title=dom-window><a href=#dom-window>window</a></code> accessor on the global scope. All
set to the <code><a href=#windowproxy>WindowProxy</a></code> object returned by the <code title=dom-window><a href=#dom-window>window</a></code> accessor on the global object. All
of the expressions following the assignment return true, because in
every respect, the <code><a href=#windowproxy>WindowProxy</a></code> object acts like the
underlying <code><a href=#window>Window</a></code> object.</p>
Expand Down Expand Up @@ -59003,7 +59003,7 @@ function receiver(e) {
origin">Unicode serialization</a> of the <a href=#origin>origin</a> of
the script that invoked the method, and the <code title=dom-MessageEvent-source><a href=#dom-messageevent-source>source</a></code> attribute must be
set to the <a href="#script's-global-object">script's global object</a>.</p> <!--
invariant: the global scope is always a Window if the script can
invariant: the global object is always a Window if the script can
see this method -->

</li>
Expand Down Expand Up @@ -59110,7 +59110,7 @@ function receiver(e) {
origin">Unicode serialization</a> of the <a href=#origin>origin</a> of
the script that invoked the method, and the <code title=dom-MessageEvent-source><a href=#dom-messageevent-source>source</a></code> attribute must be
set to the <a href="#script's-global-object">script's global object</a>.</p> <!--
invariant: the global scope is always a Window if the script can
invariant: the global object is always a Window if the script can
see this method -->

</li>
Expand Down Expand Up @@ -59202,8 +59202,8 @@ interface <dfn id=messagechannel>MessageChannel</dfn> {

<li><p>Return <var title="">channel</var>.</li>

</ol><p>This constructor must be visible when the <span>script's global
scope</span> is either a <code><a href=#window>Window</a></code> object or an object
</ol><p>This constructor must be visible when the <a href="#script's-global-object">script's global
object</a> is either a <code><a href=#window>Window</a></code> object or an object
implementing the <code>WorkerUtils</code> interface.</p>

<p>The <dfn id=dom-channel-port1 title=dom-channel-port1><code>port1</code></dfn> and
Expand Down

0 comments on commit a6c2034

Please sign in to comment.