[html5] r4245 - [e] (0) s/global scope/global object/ Fixing http://www.w3.org/Bugs/Public/show_ [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Oct 21 02:37:49 PDT 2009


Author: ianh
Date: 2009-10-21 02:37:45 -0700 (Wed, 21 Oct 2009)
New Revision: 4245

Modified:
   complete.html
   index
   source
Log:
[e] (0) s/global scope/global object/
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=7947

Modified: complete.html
===================================================================
--- complete.html	2009-10-21 09:30:58 UTC (rev 4244)
+++ complete.html	2009-10-21 09:37:45 UTC (rev 4245)
@@ -49303,7 +49303,7 @@
   <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>
@@ -64265,7 +64265,7 @@
   <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
@@ -64711,8 +64711,8 @@
    <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>
 
@@ -64738,7 +64738,7 @@
    <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>
@@ -64754,12 +64754,12 @@
 
    <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>
@@ -64775,8 +64775,8 @@
 
    </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>
 
 
@@ -64825,7 +64825,7 @@
    <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>
@@ -64839,8 +64839,8 @@
      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>
@@ -64906,13 +64906,13 @@
 
        <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>
@@ -64960,12 +64960,12 @@
 
    <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>
@@ -64981,8 +64981,8 @@
 
    </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
@@ -65123,8 +65123,8 @@
   <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
@@ -65371,8 +65371,8 @@
 
    </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>
@@ -66105,8 +66105,8 @@
 
    </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>
@@ -67940,7 +67940,7 @@
     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>
@@ -68047,7 +68047,7 @@
     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>
@@ -68139,8 +68139,8 @@
 
    <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

Modified: index
===================================================================
--- index	2009-10-21 09:30:58 UTC (rev 4244)
+++ index	2009-10-21 09:37:45 UTC (rev 4245)
@@ -46463,7 +46463,7 @@
   <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>
@@ -59003,7 +59003,7 @@
     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>
@@ -59110,7 +59110,7 @@
     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>
@@ -59202,8 +59202,8 @@
 
    <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

Modified: source
===================================================================
--- source	2009-10-21 09:30:58 UTC (rev 4244)
+++ source	2009-10-21 09:37:45 UTC (rev 4245)
@@ -55413,7 +55413,7 @@
 
    <p>In the following example, the variable <var title="">x</var> is
    set to the <code>WindowProxy</code> object returned by the <code
-   title="dom-window">window</code> accessor on the global scope. All
+   title="dom-window">window</code> accessor on the global object. All
    of the expressions following the assignment return true, because in
    every respect, the <code>WindowProxy</code> object acts like the
    underlying <code>Window</code> object.</p>
@@ -72085,7 +72085,7 @@
   <span>the worker's <code>Document</code>s</span> 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 <span>script's global object</span> <var title="">o</var>
   when creating or obtaining a worker, the <dfn>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
@@ -72611,8 +72611,8 @@
    title="">worker</var> be this new object.</p></li>
 
    <li><p><span>Create a new <code>MessagePort</code> object</span>
-   owned by the <span title="script's global scope">global
-   scope</span> of the <span title="concept-script">script</span> that
+   owned by the <span title="script's global object">global
+   object</span> of the <span title="concept-script">script</span> that
    invoked the constructor. Let this be the <var title="">outside
    port</var>.</p></li>
 
@@ -72642,7 +72642,7 @@
 
     <p>Let <var title="">docs</var> be the <span>list of relevant
     <code>Document</code> objects to add</span> given the <span
-    title="script's global scope">global scope</span> of the <span
+    title="script's global object">global object</span> of the <span
     title="concept-script">script</span> that invoked the
     constructor.</p>
 
@@ -72659,13 +72659,13 @@
 
    <li>
 
-    <p>If the <span title="script's global scope">global scope</span>
+    <p>If the <span title="script's global object">global object</span>
     of the <span title="concept-script">script</span> that invoked the
     constructor is a <code>WorkerGlobalScope</code> object (i.e. we
     are creating a nested worker), add <var title="">worker global
     scope</var> to the list of <span>the worker's workers</span> of the
     <code>WorkerGlobalScope</code> object that is the <span
-    title="script's global scope">global scope</span> of the <span
+    title="script's global object">global object</span> of the <span
     title="concept-script">script</span> that invoked the
     constructor.</p>
 
@@ -72685,7 +72685,7 @@
   </ol>
 
   <p>This constructor must be visible when the <span>script's global
-  scope</span> is either a <code>Window</code> object or an object
+  object</span> is either a <code>Window</code> object or an object
   implementing the <code>WorkerUtils</code> interface.</p>
 
 
@@ -72740,7 +72740,7 @@
 
     <p>Let <var title="">docs</var> be the <span>list of relevant
     <code>Document</code> objects to add</span> given the <span
-    title="script's global scope">global scope</span> of the <span
+    title="script's global object">global object</span> of the <span
     title="concept-script">script</span> that invoked the
     constructor.</p>
 
@@ -72758,8 +72758,8 @@
      title="">worker</var>.</p></li>
 
      <li><p><span>Create a new <code>MessagePort</code> object</span>
-     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 <span title="script's global object">global
+     object</span> of the script that invoked the method. Let this be
      the <var title="">outside port</var>.</p></li>
 
      <li><p>Assign <var title="">outside port</var> to the <code
@@ -72840,14 +72840,14 @@
 
        <li>
 
-        <p>If the <span title="script's global scope">global
-        scope</span> of the <span title="concept-script">script</span>
+        <p>If the <span title="script's global object">global
+        object</span> of the <span title="concept-script">script</span>
         that invoked the constructor is a
         <code>WorkerGlobalScope</code> object, add <var
         title="">worker global scope</var> to the list of <span>the
         worker's workers</span> of the <code>WorkerGlobalScope</code>
-        object that is the <span title="script's global scope">global
-        scope</span> of the <span title="concept-script">script</span>
+        object that is the <span title="script's global object">global
+        object</span> of the <span title="concept-script">script</span>
         that invoked the constructor.</p>
 
        </li>
@@ -72906,13 +72906,13 @@
 
    <li>
 
-    <p>If the <span title="script's global scope">global scope</span>
+    <p>If the <span title="script's global object">global object</span>
     of the <span title="concept-script">script</span> that invoked the
     constructor is a <code>WorkerGlobalScope</code> object, add <var
     title="">worker global scope</var> to the list of <span>the
     worker's workers</span> of the <code>WorkerGlobalScope</code>
-    object that is the <span title="script's global scope">global
-    scope</span> of the <span title="concept-script">script</span>
+    object that is the <span title="script's global object">global
+    object</span> of the <span title="concept-script">script</span>
     that invoked the constructor.</p>
 
    </li>
@@ -72931,7 +72931,7 @@
   </ol>
 
   <p>This constructor must be visible when the <span>script's global
-  scope</span> is either a <code>Window</code> object or an object
+  object</span> is either a <code>Window</code> object or an object
   implementing the <code>WorkerUtils</code> interface.</p>
 
   <p>The <span>task source</span> for the tasks mentioned above is the
@@ -73092,8 +73092,8 @@
   <h4>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>WorkerGlobalScope</code> object except for
+  the global scope of scripts whose <span>script's global
+  object</span> is a <code>WorkerGlobalScope</code> object except for
   the following:</p>
 
   <ul>
@@ -73380,7 +73380,7 @@
   </ol>
 
   <p>This constructor must be visible when the <span>script's global
-  scope</span> is either a <code>Window</code> object or an object
+  object</span> is either a <code>Window</code> object or an object
   implementing the <code>WorkerUtils</code> interface.</p>
 
   <hr>
@@ -74219,7 +74219,7 @@
   </ol>
 
   <p>This constructor must be visible when the <span>script's global
-  scope</span> is either a <code>Window</code> object or an object
+  object</span> is either a <code>Window</code> object or an object
   implementing the <code>WorkerUtils</code> interface.</p>
 
   <hr>
@@ -76376,7 +76376,7 @@
     the script that invoked the method, and the <code
     title="dom-MessageEvent-source">source</code> attribute must be
     set to the <span>script's global object</span>.</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>
@@ -76505,7 +76505,7 @@
     the script that invoked the method, and the <code
     title="dom-MessageEvent-source">source</code> attribute must be
     set to the <span>script's global object</span>.</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>
@@ -76616,7 +76616,7 @@
   </ol>
 
   <p>This constructor must be visible when the <span>script's global
-  scope</span> is either a <code>Window</code> object or an object
+  object</span> is either a <code>Window</code> object or an object
   implementing the <code>WorkerUtils</code> interface.</p>
 
   <p>The <dfn title="dom-channel-port1"><code>port1</code></dfn> and




More information about the Commit-Watchers mailing list