[html5] r8834 - [e] (0) Rename script settings objects to environment settings objects to make r [...]

whatwg at whatwg.org whatwg at whatwg.org
Fri Oct 10 16:43:35 PDT 2014


Author: ianh
Date: 2014-10-10 16:43:31 -0700 (Fri, 10 Oct 2014)
New Revision: 8834

Modified:
   complete.html
   index
   source
Log:
[e] (0) Rename script settings objects to environment settings objects to make reuse saner.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=26836
Affected topics: DOM APIs, HTML, HTML Syntax and Parsing, Security, Workers

Modified: complete.html
===================================================================
--- complete.html	2014-10-10 20:40:25 UTC (rev 8833)
+++ complete.html	2014-10-10 23:43:31 UTC (rev 8834)
@@ -36742,7 +36742,7 @@
 
 
 
-  <h6 id=the-pattern-attribute>4.10.5.3.6 The <code id=the-pattern-attribute:attr-input-pattern><a href=#attr-input-pattern>pattern</a></code> attribute</h6><div class=status><input onclick=toggleStatus(this) value=⋰ type=button><p class=bugs><strong>Spec bugs:</strong> <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=26915" title="Opt-in to the ES6 `u` flag for regular expressions?">26915</a></div>
+  <h6 id=the-pattern-attribute>4.10.5.3.6 The <code id=the-pattern-attribute:attr-input-pattern><a href=#attr-input-pattern>pattern</a></code> attribute</h6>
 
   
 
@@ -45308,7 +45308,7 @@
 
         <p><a href=#create-a-script id=the-script-element:create-a-script>Create a script</a>, using <var id=the-script-element:concept-script-source><a href=#concept-script-source>the script
         block's source</a></var>, the <a href=#url id=the-script-element:url>URL</a> from which the script was obtained, <var id=the-script-element:concept-script-type-11><a href=#concept-script-type>the script block's type</a></var> as the scripting language, and
-        the <a href=#script-settings-object id=the-script-element:script-settings-object>script settings object</a> of the <code id=the-script-element:the-script-element-52><a href=#the-script-element>script</a></code> element's
+        the <a href=#environment-settings-object id=the-script-element:environment-settings-object>environment settings object</a> of the <code id=the-script-element:the-script-element-52><a href=#the-script-element>script</a></code> element's
         <a id=the-script-element:node-document-11 href=https://dom.spec.whatwg.org/#concept-node-document data-x-internal=node-document>node document</a>'s <code id=the-script-element:window><a href=#window>Window</a></code> object.</p>
 
         <p>If the script came from a resource that was <a href=#fetch id=the-script-element:fetch-6>fetched</a> in the
@@ -58143,7 +58143,7 @@
   <code id=garbage-collection-and-browsing-contexts:windowproxy-2><a href=#windowproxy>WindowProxy</a></code> object.</p>
 
   <p>Each <a href=#concept-script id=garbage-collection-and-browsing-contexts:concept-script>script</a> has a strong reference to its <a href=#settings-object id=garbage-collection-and-browsing-contexts:settings-object>settings
-  object</a>, and each <a href=#script-settings-object id=garbage-collection-and-browsing-contexts:script-settings-object>script settings object</a> has strong references to its
+  object</a>, and each <a href=#environment-settings-object id=garbage-collection-and-browsing-contexts:environment-settings-object>environment settings object</a> has strong references to its
   <a href=#global-object id=garbage-collection-and-browsing-contexts:global-object>global object</a>, <a href=#responsible-browsing-context id=garbage-collection-and-browsing-contexts:responsible-browsing-context>responsible browsing context</a>, and <a href=#responsible-document id=garbage-collection-and-browsing-contexts:responsible-document>responsible
   document</a>.</p>
 
@@ -58395,7 +58395,7 @@
       the <a id=origin:node-document href=https://dom.spec.whatwg.org/#concept-node-document data-x-internal=node-document>node document</a> of the element that initiated the <a href=#navigate id=origin:navigate-2>navigation</a> to that <a href=#url id=origin:url-2>URL</a>.</p>
 
       <p>The <a href=#effective-script-origin id=origin:effective-script-origin-9>effective script origin</a> is initially an <a href=#concept-origin-alias id=origin:concept-origin-alias-5>alias</a> to the <a href=#effective-script-origin id=origin:effective-script-origin-10>effective script origin</a> of that
-      same <a href=#script-settings-object id=origin:script-settings-object>script settings object</a> or <code id=origin:document-9><a href=#document>Document</a></code>.</p>
+      same <a href=#environment-settings-object id=origin:environment-settings-object>environment settings object</a> or <code id=origin:document-9><a href=#document>Document</a></code>.</p>
 
      <dt>If a <code id=origin:document-10><a href=#document>Document</a></code> is the initial "<code id=origin:about:blank><a href=#about:blank>about:blank</a></code>" document<dd>
 
@@ -59706,7 +59706,7 @@
 
         <p><a href=#create-a-script id=navigating-across-documents:create-a-script>Create a script</a>, using <var>script source</var> as the script
         source, <var>address</var> as the script source URL, JavaScript as the scripting
-        language, and the <a href=#script-settings-object id=navigating-across-documents:script-settings-object>script settings object</a> of the <code id=navigating-across-documents:window><a href=#window>Window</a></code> object of
+        language, and the <a href=#environment-settings-object id=navigating-across-documents:environment-settings-object>environment settings object</a> of the <code id=navigating-across-documents:window><a href=#window>Window</a></code> object of
         the <a href=#active-document id=navigating-across-documents:active-document-8>active document</a> of the <a href=#browsing-context id=navigating-across-documents:browsing-context-18>browsing context</a> being navigated.</p>
 
         <p>Let <var>result</var> be the return value of the <a href=#code-entry-point id=navigating-across-documents:code-entry-point>code entry-point</a>
@@ -62589,14 +62589,14 @@
 
    <dt>A <dfn id=settings-object>settings object</dfn><dd>
 
-    <p>A <a href=#script-settings-object id=definitions-2:script-settings-object>script settings object</a>, various settings that are shared with other scripts in
+    <p>An <a href=#environment-settings-object id=definitions-2:environment-settings-object>environment settings object</a>, various settings that are shared with other scripts in
     the same context.</p>
 
    </dl>
 
   <hr>
 
-  <p>A <dfn id=script-settings-object>script settings object</dfn> specifies algorithms for obtaining the following:</p>
+  <p>An <dfn id=environment-settings-object>environment settings object</dfn> specifies algorithms for obtaining the following:</p>
 
   <dl><dt>A <dfn id=script-execution-environment>script execution environment</dfn> for each language supported by the user agent<dd>
 
@@ -62610,7 +62610,7 @@
    <dt>A <dfn id=global-object>global object</dfn><dd>
 
     <p>An object that provides the APIs that can be called by the code in scripts that use this
-    <a href=#script-settings-object id=definitions-2:script-settings-object-2>settings object</a>.</p>
+    <a href=#environment-settings-object id=definitions-2:environment-settings-object-2>settings object</a>.</p>
 
     <p class=note>This is typically a <code id=definitions-2:window><a href=#window>Window</a></code> object or a
     <code id=definitions-2:workerglobalscope><a href=#workerglobalscope>WorkerGlobalScope</a></code> object. When a <a href=#global-object id=definitions-2:global-object>global object</a> is an empty object, it
@@ -62628,7 +62628,7 @@
    <dt>A <dfn id=responsible-browsing-context>responsible browsing context</dfn><dd>
 
     <p>A <a href=#browsing-context id=definitions-2:browsing-context>browsing context</a> that is assigned responsibility for actions taken by the
-    scripts that use this <a href=#script-settings-object id=definitions-2:script-settings-object-3>script settings object</a>.</p>
+    scripts that use this <a href=#environment-settings-object id=definitions-2:environment-settings-object-3>environment settings object</a>.</p>
 
     <p class=example>When a script creates and <a href=#navigate id=definitions-2:navigate>navigates</a> a new
     <a href=#top-level-browsing-context id=definitions-2:top-level-browsing-context>top-level browsing context</a>, the <code id=definitions-2:dom-opener><a href=#dom-opener>opener</a></code> attribute
@@ -62638,7 +62638,7 @@
    <dt>A <dfn id=responsible-document>responsible document</dfn><dd>
 
     <p>A <code id=definitions-2:document><a href=#document>Document</a></code> that is assigned responsibility for actions taken by the scripts that
-    use this <a href=#script-settings-object id=definitions-2:script-settings-object-4>script settings object</a>.</p>
+    use this <a href=#environment-settings-object id=definitions-2:environment-settings-object-4>environment settings object</a>.</p>
 
     <p class=example>For example, the <a href=https://dom.spec.whatwg.org/#concept-document-url id="definitions-2:the-document's-address" data-x-internal="the-document's-address">address</a> of the
     <a href=#responsible-document id=definitions-2:responsible-document>responsible document</a> is used to set the <a href=https://dom.spec.whatwg.org/#concept-document-url id="definitions-2:the-document's-address-2" data-x-internal="the-document's-address">address</a> of the <code id=definitions-2:document-2><a href=#document>Document</a></code> after it has been reset using <code id=definitions-2:dom-document-open><a href=#dom-document-open>document.open()</a></code>.</p>
@@ -62655,12 +62655,12 @@
 
    <dt>An <dfn id=api-url-character-encoding>API URL character encoding</dfn><dd>
 
-    <p>A character encoding used to encode URLs by APIs called by scripts that use this <a href=#script-settings-object id=definitions-2:script-settings-object-5>script
+    <p>A character encoding used to encode URLs by APIs called by scripts that use this <a href=#environment-settings-object id=definitions-2:environment-settings-object-5>environment
     settings object</a>.</p>
 
    <dt>An <dfn id=api-base-url>API base URL</dfn><dd>
 
-    <p>An <a href=#absolute-url id=definitions-2:absolute-url>absolute URL</a> used by APIs called by scripts that use this <a href=#script-settings-object id=definitions-2:script-settings-object-6>script
+    <p>An <a href=#absolute-url id=definitions-2:absolute-url>absolute URL</a> used by APIs called by scripts that use this <a href=#environment-settings-object id=definitions-2:environment-settings-object-6>environment
     settings object</a> to resolve <a href=#relative-url id=definitions-2:relative-url>relative URLs</a>.</p>
 
    <dt>An <a href=#origin-2 id=definitions-2:origin-2>origin</a> and an <a href=#effective-script-origin id=definitions-2:effective-script-origin>effective script origin</a><dd>
@@ -62670,8 +62670,8 @@
    </dl>
 
   <p>The <dfn id=relevant-settings-object-for-a-global-object>relevant settings object for a global object</dfn> <var>o</var> is the
-  <a href=#script-settings-object id=definitions-2:script-settings-object-7>script settings object</a> whose <a href=#global-object id=definitions-2:global-object-3>global object</a> is <var>o</var>.
-  (There is always a 1:1 mapping of global objects to script settings objects.)</p>
+  <a href=#environment-settings-object id=definitions-2:environment-settings-object-7>environment settings object</a> whose <a href=#global-object id=definitions-2:global-object-3>global object</a> is <var>o</var>.
+  (There is always a 1:1 mapping of global objects to environment settings objects.)</p>
 
   <p>The <dfn id=relevant-settings-object-for-a-script>relevant settings object for a script</dfn> <var>s</var> is the
   <a href=#settings-object id=definitions-2:settings-object>settings object</a> of <var>s</var>.</p>
@@ -62680,17 +62680,17 @@
 
   <h5 id=script-settings-for-browsing-contexts>8.1.3.2 Script settings for browsing contexts</h5>
 
-  <p>Whenever a new <code id=script-settings-for-browsing-contexts:window><a href=#window>Window</a></code> object is created, it must also create a <a href=#script-settings-object id=script-settings-for-browsing-contexts:script-settings-object>script
+  <p>Whenever a new <code id=script-settings-for-browsing-contexts:window><a href=#window>Window</a></code> object is created, it must also create an <a href=#environment-settings-object id=script-settings-for-browsing-contexts:environment-settings-object>environment
   settings object</a> whose algorithms are defined as follows:</p>
 
   <dl><dt>The <a href=#script-execution-environment id=script-settings-for-browsing-contexts:script-execution-environment>script execution environments</a><dd>
 
-    <p>When the <a href=#script-settings-object id=script-settings-for-browsing-contexts:script-settings-object-2>script settings object</a> is created, for each language supported by the
+    <p>When the <a href=#environment-settings-object id=script-settings-for-browsing-contexts:environment-settings-object-2>environment settings object</a> is created, for each language supported by the
     user agent, create an appropriate execution environment as defined by the relevant
     specification.</p>
 
     <p>When a <a href=#script-execution-environment id=script-settings-for-browsing-contexts:script-execution-environment-2>script execution environment</a> is needed, return the appropriate one from
-    those created when the <a href=#script-settings-object id=script-settings-for-browsing-contexts:script-settings-object-3>script settings object</a> was created.</p>
+    those created when the <a href=#environment-settings-object id=script-settings-for-browsing-contexts:environment-settings-object-3>environment settings object</a> was created.</p>
 
    <dt>The <a href=#global-object id=script-settings-for-browsing-contexts:global-object>global object</a><dd>
 
@@ -62745,9 +62745,9 @@
   <h5 id=calling-scripts>8.1.3.3 Calling scripts</h5>
 
   <p>Each <a href=#unit-of-related-similar-origin-browsing-contexts id=calling-scripts:unit-of-related-similar-origin-browsing-contexts>unit of related similar-origin browsing contexts</a> has a <dfn id=stack-of-script-settings-objects>stack of script
-  settings objects</dfn>, which must be initially empty. When a new <a href=#script-settings-object id=calling-scripts:script-settings-object>script settings
-  object</a> is <i>pushed</i> onto this stack, the specified <a href=#script-settings-object id=calling-scripts:script-settings-object-2>script settings object</a>
-  is to be added to the stack; when the <a href=#script-settings-object id=calling-scripts:script-settings-object-3>script settings object</a> on this stack that was
+  settings objects</dfn>, which must be initially empty. When a new <a href=#environment-settings-object id=calling-scripts:environment-settings-object>environment settings
+  object</a> is <i>pushed</i> onto this stack, the specified <a href=#environment-settings-object id=calling-scripts:environment-settings-object-2>environment settings object</a>
+  is to be added to the stack; when the <a href=#environment-settings-object id=calling-scripts:environment-settings-object-3>environment settings object</a> on this stack that was
   most recently pushed onto it is to be <i>popped</i> from the stack, it must be removed. Entries on
   this stack can be labeled as <dfn id=candidate-entry-settings-object>candidate entry
   settings objects</dfn>.</p>
@@ -62756,11 +62756,11 @@
   following steps:</p>
 
   <ol><li><p>Let <var>context</var> be the <a href=#settings-object id=calling-scripts:settings-object>settings object</a> of <var>s</var>.<li><p><a href=#prepare-to-run-a-callback id=calling-scripts:prepare-to-run-a-callback>Prepare to run a callback</a> with <var>context</var> as the
-   <a href=#script-settings-object id=calling-scripts:script-settings-object-4>script settings object</a>. If this returns "do not run" then abort these
+   <a href=#environment-settings-object id=calling-scripts:environment-settings-object-4>environment settings object</a>. If this returns "do not run" then abort these
    steps.<li><p>Make the appropriate <a href=#script-execution-environment id=calling-scripts:script-execution-environment>script execution environment</a> specified by <var>context</var> execute the <var>s</var>'s <a href=#code-entry-point id=calling-scripts:code-entry-point>code
    entry-point</a>.<li><p><a href=#clean-up-after-running-a-callback id=calling-scripts:clean-up-after-running-a-callback>Clean up after running a callback</a>.</ol>
 
-  <p>The steps to <dfn id=prepare-to-run-a-callback>prepare to run a callback</dfn> with a <a href=#script-settings-object id=calling-scripts:script-settings-object-5>script settings object</a>
+  <p>The steps to <dfn id=prepare-to-run-a-callback>prepare to run a callback</dfn> with an <a href=#environment-settings-object id=calling-scripts:environment-settings-object-5>environment settings object</a>
   <var>o</var> are as follows. They return either "run" or "do not run".</p>
 
   <ol><li><p>If the <a href=#global-object id=calling-scripts:global-object>global object</a> specified by <var>o</var> is a
@@ -62792,7 +62792,7 @@
   the evaluation begins, and popped when the evaluation ends (regardless of whether it's an abrupt
   completion or not).</p>
 
-  <p>The <dfn id=entry-settings-object>entry settings object</dfn> is the most-recently added <a href=#script-settings-object id=calling-scripts:script-settings-object-6>script settings
+  <p>The <dfn id=entry-settings-object>entry settings object</dfn> is the most-recently added <a href=#environment-settings-object id=calling-scripts:environment-settings-object-6>environment settings
   object</a> in the <a href=#stack-of-script-settings-objects id=calling-scripts:stack-of-script-settings-objects-6>stack of script settings objects</a> that is labeled as a
   <a href=#candidate-entry-settings-object id=calling-scripts:candidate-entry-settings-object-2>candidate entry settings object</a>. If the stack is empty, or has no entries labeled as
   such, then there is no <a href=#entry-settings-object id=calling-scripts:entry-settings-object>entry settings object</a>. It is used to obtain, amongst other
@@ -62800,7 +62800,7 @@
   <a href=#url id=calling-scripts:url>URLs</a> used in scripts running in that <a href=#unit-of-related-similar-origin-browsing-contexts id=calling-scripts:unit-of-related-similar-origin-browsing-contexts-2>unit of related
   similar-origin browsing contexts</a>.</p>
 
-  <p>The <dfn id=incumbent-settings-object>incumbent settings object</dfn> is the <a href=#script-settings-object id=calling-scripts:script-settings-object-7>script settings object</a> in the
+  <p>The <dfn id=incumbent-settings-object>incumbent settings object</dfn> is the <a href=#environment-settings-object id=calling-scripts:environment-settings-object-7>environment settings object</a> in the
   <a href=#stack-of-script-settings-objects id=calling-scripts:stack-of-script-settings-objects-7>stack of script settings objects</a> that was most-recently added (i.e. the last one on
   the stack). If the stack is empty, then there is no <a href=#incumbent-settings-object id=calling-scripts:incumbent-settings-object-2>incumbent settings object</a>. It is
   used in some security checks.</p>
@@ -62857,7 +62857,7 @@
   <h5 id=creating-scripts>8.1.3.4 Creating scripts</h5>
 
   <p>When the specification says that a <a href=#concept-script id=creating-scripts:concept-script>script</a> is to be <dfn id=create-a-script>created</dfn>, given some script source, a script source URL, its
-  scripting language, a <a href=#script-settings-object id=creating-scripts:script-settings-object>script settings object</a>, and optionally a <var>muted
+  scripting language, an <a href=#environment-settings-object id=creating-scripts:environment-settings-object>environment settings object</a>, and optionally a <var>muted
   errors</var> flag, the user agent must run the following steps:</p>
 
   <ol><li><p>Let <var>script</var> be a new <a href=#concept-script id=creating-scripts:concept-script-2>script</a> that
@@ -62866,8 +62866,8 @@
    described a program that did nothing but return void.</p>
 
    <li><p>Obtain the appropriate <a href=#script-execution-environment id=creating-scripts:script-execution-environment>script execution environment</a> for the given scripting
-   language from the <a href=#script-settings-object id=creating-scripts:script-settings-object-2>script settings object</a> provided.<li><p>Parse/compile/initialise the source of the script using the <a href=#script-execution-environment id=creating-scripts:script-execution-environment-2>script execution
-   environment</a>, as appropriate for the scripting language, and thus obtain <var>script</var>'s <a href=#code-entry-point id=creating-scripts:code-entry-point>code entry-point</a>.<li><p>Let <var>script</var>'s <a href=#settings-object id=creating-scripts:settings-object>settings object</a> be the <a href=#script-settings-object id=creating-scripts:script-settings-object-3>script
+   language from the <a href=#environment-settings-object id=creating-scripts:environment-settings-object-2>environment settings object</a> provided.<li><p>Parse/compile/initialise the source of the script using the <a href=#script-execution-environment id=creating-scripts:script-execution-environment-2>script execution
+   environment</a>, as appropriate for the scripting language, and thus obtain <var>script</var>'s <a href=#code-entry-point id=creating-scripts:code-entry-point>code entry-point</a>.<li><p>Let <var>script</var>'s <a href=#settings-object id=creating-scripts:settings-object>settings object</a> be the <a href=#environment-settings-object id=creating-scripts:environment-settings-object-3>environment
    settings object</a> provided.<li><p>If the <var>muted errors</var> flag was set, then set <var>script</var>'s <a href=#muted-errors id=creating-scripts:muted-errors>muted errors</a> flag.<li>
 
     <p>If all the steps above succeeded (in particular, if the script was compiled successfully),
@@ -62876,7 +62876,7 @@
 
     <p>Otherwise, <a href=#report-the-error id=creating-scripts:report-the-error>report the error</a> for <var>script</var>, with the
     problematic position (line number and column number), using the <a href=#global-object id=creating-scripts:global-object>global object</a>
-    specified by the <a href=#script-settings-object id=creating-scripts:script-settings-object-4>script settings object</a> as the target. If the error is still <i id=creating-scripts:concept-error-nothandled><a href=#concept-error-nothandled>not handled</a></i> after this, then the error may be reported to
+    specified by the <a href=#environment-settings-object id=creating-scripts:environment-settings-object-4>environment settings object</a> as the target. If the error is still <i id=creating-scripts:concept-error-nothandled><a href=#concept-error-nothandled>not handled</a></i> after this, then the error may be reported to
     the user.</p>
 
    </ol>
@@ -63585,7 +63585,7 @@
      uncompiled handler</a>.<li><p>Let <var>location</var> be the location where the script body originated, as
      given by the <a href=#internal-raw-uncompiled-handler id=event-handler-attributes:internal-raw-uncompiled-handler-5>internal raw uncompiled handler</a>.<li><p>If <var>element</var> is not null and <var>element</var> has a
      <a href=#form-owner id=event-handler-attributes:form-owner>form owner</a>, let <var>form owner</var> be that <a href=#form-owner id=event-handler-attributes:form-owner-2>form owner</a>.
-     Otherwise, let <var>form owner</var> be null.<li><p>Let <var>script settings</var> be the <a href=#script-settings-object id=event-handler-attributes:script-settings-object>script settings object</a>
+     Otherwise, let <var>form owner</var> be null.<li><p>Let <var>script settings</var> be the <a href=#environment-settings-object id=event-handler-attributes:environment-settings-object>environment settings object</a>
      created for the <code id=event-handler-attributes:window-5><a href=#window>Window</a></code> object with which <var>document</var> is
      currently associated.<li><p>Obtain the <a href=#script-execution-environment id=event-handler-attributes:script-execution-environment>script execution environment</a> for JavaScript from <var>script settings</var>.<li>
 
@@ -64194,7 +64194,7 @@
     IDL prototypes in the JavaScript binding, including the <code id=opening-the-input-stream:document-26><a href=#document>Document</a></code> object's
     prototype.)</p>
 
-    <p class=note>The new <code id=opening-the-input-stream:window-2><a href=#window>Window</a></code> object has a new <a href=#script-settings-object id=opening-the-input-stream:script-settings-object>script settings
+    <p class=note>The new <code id=opening-the-input-stream:window-2><a href=#window>Window</a></code> object has a new <a href=#environment-settings-object id=opening-the-input-stream:environment-settings-object>environment settings
     object</a>.</p>
 
    <li><p>Change the <a href="#document's-character-encoding" id="opening-the-input-stream:document's-character-encoding">document's character encoding</a> to UTF-8.<li><p>If the <code id=opening-the-input-stream:document-27><a href=#document>Document</a></code> is <a href=#ready-for-post-load-tasks id=opening-the-input-stream:ready-for-post-load-tasks>ready for post-load tasks</a>, then set the
@@ -64514,11 +64514,11 @@
 
        <dt>Otherwise<dd>
 
-        <ol><li><p>Let <var>script source</var> be the first method argument.<li><p>Let <var>script language</var> be JavaScript.<li><p>Let <var>settings object</var> be <var>method context</var>'s <a href=#script-settings-object id=timers:script-settings-object>script settings
+        <ol><li><p>Let <var>script source</var> be the first method argument.<li><p>Let <var>script language</var> be JavaScript.<li><p>Let <var>settings object</var> be <var>method context</var>'s <a href=#environment-settings-object id=timers:environment-settings-object>environment settings
          object</a>.<li><p><a href=#create-a-script id=timers:create-a-script>Create a script</a> using <var>script source</var> as the script source,
          the <a href=#url id=timers:url>URL</a> where <var>script source</var> can be found, <var>scripting
          language</var> as the scripting language, and <var>settings object</var> as the
-         <a href=#script-settings-object id=timers:script-settings-object-2>script settings object</a>.</ol>
+         <a href=#environment-settings-object id=timers:environment-settings-object-2>environment settings object</a>.</ol>
 
        </dl>
 
@@ -67837,7 +67837,7 @@
     <p>If the method was invoked with a third argument <var>transfer</var>, run these
     substeps:</p>
 
-    <ol><li><p>Let <var>new owner</var> be the <a href=#script-settings-object id=posting-messages:script-settings-object>script settings object</a> of the
+    <ol><li><p>Let <var>new owner</var> be the <a href=#environment-settings-object id=posting-messages:environment-settings-object>environment settings object</a> of the
      <code id=posting-messages:window-4><a href=#window>Window</a></code> object on which the method was invoked.<li><p>For each object <var>x</var> in <var>transfer</var> in turn, obtain
      a new object <var>y</var> by <a href=#transfer-a-transferable-object id=posting-messages:transfer-a-transferable-object>transferring</a> the object <var>x</var> to <var>new
      owner</var>, and replace the placeholder object that was created for the object <var>x</var> by the new object <var>y</var> wherever the placeholder exists
@@ -69663,7 +69663,7 @@
   <h4 id=processing-model-11>10.2.4 Processing model</h4>
 
   <p>When a user agent is to <dfn id=run-a-worker>run a worker</dfn> for a script with <a href=#url id=processing-model-11:url>URL</a>
-  <var>url</var> and a <a href=#script-settings-object id=processing-model-11:script-settings-object>script settings object</a> <var>settings object</var>, it must run
+  <var>url</var> and an <a href=#environment-settings-object id=processing-model-11:environment-settings-object>environment settings object</a> <var>settings object</var>, it must run
   the following steps:</p>
 
   <ol><li id=worker-processing-model-top><div class=status><input onclick=toggleStatus(this) value=⋰ type=button><p class=bugs><strong>Spec bugs:</strong> <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=24519" title="Why do workers use document as their referrer source when they do not seem to need document for anything else? Seems more logical if the worker's location was used as the referrer.">24519</a></div>
@@ -69861,9 +69861,9 @@
 
   <h5 id=script-settings-for-workers>10.2.6.2 Script settings for workers</h5>
 
-  <p>When the user agent is required to <dfn id=set-up-a-worker-script-settings-object>set up a worker script settings object</dfn>, given a
+  <p>When the user agent is required to <dfn id=set-up-a-worker-environment-settings-object>set up a worker environment settings object</dfn>, given a
   <var>worker global scope</var> and a <a href=#url id=script-settings-for-workers:url>URL</a> <var>script
-  address</var>, it must run the following steps:</p>
+  address</var> it must run the following steps:</p>
 
   <ol><li><p>Let <var>inherited responsible browsing context</var> be the <a href=#responsible-browsing-context id=script-settings-for-workers:responsible-browsing-context>responsible
    browsing context</a> specified by the <a href=#incumbent-settings-object id=script-settings-for-workers:incumbent-settings-object>incumbent settings object</a>.<li><p>Let <var>inherited responsible document</var> be the <a href=#responsible-document id=script-settings-for-workers:responsible-document>responsible
@@ -69871,17 +69871,17 @@
    <a href=#incumbent-settings-object id=script-settings-for-workers:incumbent-settings-object-3>incumbent settings object</a>.<li><p>Let <var>worker event loop</var> be a newly created <a href=#event-loop id=script-settings-for-workers:event-loop>event
    loop</a>.<li>
 
-    <p>Let <var>settings object</var> be a new <a href=#script-settings-object id=script-settings-for-workers:script-settings-object>script settings object</a> whose algorithms
+    <p>Let <var>settings object</var> be a new <a href=#environment-settings-object id=script-settings-for-workers:environment-settings-object>environment settings object</a> whose algorithms
     are defined as follows:</p>
 
     <dl><dt>The <a href=#script-execution-environment id=script-settings-for-workers:script-execution-environment>script execution environments</a><dd>
 
-      <p>When the <a href=#script-settings-object id=script-settings-for-workers:script-settings-object-2>script settings object</a> is created, for each language supported by the
+      <p>When the <a href=#environment-settings-object id=script-settings-for-workers:environment-settings-object-2>environment settings object</a> is created, for each language supported by the
       user agent, create an appropriate execution environment as defined by the relevant
       specification.</p>
 
       <p>When a <a href=#script-execution-environment id=script-settings-for-workers:script-execution-environment-2>script execution environment</a> is needed, return the appropriate one from
-      those created when the <a href=#script-settings-object id=script-settings-for-workers:script-settings-object-3>script settings object</a> was created.</p>
+      those created when the <a href=#environment-settings-object id=script-settings-for-workers:environment-settings-object-3>environment settings object</a> was created.</p>
 
       <p class=note>Currently, workers only support JavaScript, so only a JavaScript execution
       environment is actually needed here.</p>
@@ -69989,7 +69989,7 @@
     same-origin <code id=dedicated-workers-and-the-worker-interface:blob-protocol><a data-x-internal=blob-protocol href=http://dev.w3.org/2006/webapi/FileAPI/#DefinitionOfScheme>blob:</a></code> URLs. Thus, an <code id=dedicated-workers-and-the-worker-interface:https-protocol><a data-x-internal=https-protocol href=http://tools.ietf.org/html/rfc7230#section-2.7.2>https:</a></code> page couldn't start workers using scripts with <code id=dedicated-workers-and-the-worker-interface:http-protocol><a data-x-internal=http-protocol href=http://tools.ietf.org/html/rfc7230#section-2.7.1>http:</a></code> URLs. <a href=#refsFILEAPI>[FILEAPI]</a>.</p>
 
    <li><p>Create a new <code id=dedicated-workers-and-the-worker-interface:dedicatedworkerglobalscope><a href=#dedicatedworkerglobalscope>DedicatedWorkerGlobalScope</a></code> object. Let <var>worker global
-   scope</var> be this new object.<li><p><a href=#set-up-a-worker-script-settings-object id=dedicated-workers-and-the-worker-interface:set-up-a-worker-script-settings-object>Set up a worker script settings object</a> with <var>worker global scope</var>
+   scope</var> be this new object.<li><p><a href=#set-up-a-worker-environment-settings-object id=dedicated-workers-and-the-worker-interface:set-up-a-worker-environment-settings-object>Set up a worker environment settings object</a> with <var>worker global scope</var>
    and <var>worker URL</var>, and let <var>settings object</var> be the result.<li><p>Create a new <code id=dedicated-workers-and-the-worker-interface:worker-8><a href=#worker>Worker</a></code> object, associated with <var>worker global scope</var>.
    Let <var>worker</var> be this new object.<li><p><a href=#create-a-new-messageport-object id=dedicated-workers-and-the-worker-interface:create-a-new-messageport-object>Create a new <code>MessagePort</code> object</a> whose <a href=#concept-port-owner id=dedicated-workers-and-the-worker-interface:concept-port-owner>owner</a> is the <a href=#incumbent-settings-object id=dedicated-workers-and-the-worker-interface:incumbent-settings-object-2>incumbent settings object</a>. Let this
    be the <var>outside port</var>.<li><p>Associate the <var>outside port</var> with <var>worker</var>.<li><p><a href=#create-a-new-messageport-object id=dedicated-workers-and-the-worker-interface:create-a-new-messageport-object-2>Create a new <code>MessagePort</code> object</a> whose <a href=#concept-port-owner id=dedicated-workers-and-the-worker-interface:concept-port-owner-2>owner</a> is <var>settings object</var>. Let <var>inside
@@ -70001,7 +70001,7 @@
    <var>worker global scope</var> to the list of <a href="#the-worker's-workers" id="dedicated-workers-and-the-worker-interface:the-worker's-workers">the worker's workers</a> of the
    <code id=dedicated-workers-and-the-worker-interface:workerglobalscope-2><a href=#workerglobalscope>WorkerGlobalScope</a></code> object that is the <a href=#global-object id=dedicated-workers-and-the-worker-interface:global-object-2>global object</a> specified by the
    <a href=#incumbent-settings-object id=dedicated-workers-and-the-worker-interface:incumbent-settings-object-5>incumbent settings object</a>.<li><p><a href=#run-a-worker id=dedicated-workers-and-the-worker-interface:run-a-worker>Run a worker</a> for the script with <a href=#url id=dedicated-workers-and-the-worker-interface:url>URL</a> <var>worker URL</var> and
-   the <a href=#script-settings-object id=dedicated-workers-and-the-worker-interface:script-settings-object>script settings object</a> <var>settings object</var>.</ol>
+   the <a href=#environment-settings-object id=dedicated-workers-and-the-worker-interface:environment-settings-object>environment settings object</a> <var>settings object</var>.</ol>
 
 
 
@@ -70052,7 +70052,7 @@
 
       <p>If <var>name</var> is not the empty string and there exists a
       <code id=shared-workers-and-the-sharedworker-interface:sharedworkerglobalscope-2><a href=#sharedworkerglobalscope>SharedWorkerGlobalScope</a></code> object whose <a href=#dom-workerglobalscope-closing id=shared-workers-and-the-sharedworker-interface:dom-workerglobalscope-closing>closing</a> flag is false, whose <code id=shared-workers-and-the-sharedworker-interface:dom-sharedworkerglobalscope-name><a href=#dom-sharedworkerglobalscope-name>name</a></code> attribute is exactly equal to
-      <var>name</var>, and that is the <a href=#global-object id=shared-workers-and-the-sharedworker-interface:global-object>global object</a> specified by a <a href=#script-settings-object id=shared-workers-and-the-sharedworker-interface:script-settings-object>script
+      <var>name</var>, and that is the <a href=#global-object id=shared-workers-and-the-sharedworker-interface:global-object>global object</a> specified by an <a href=#environment-settings-object id=shared-workers-and-the-sharedworker-interface:environment-settings-object>environment
       settings object</a> that specifies as its <a href=#origin-2 id=shared-workers-and-the-sharedworker-interface:origin-2-3>origin</a> the <a href=#same-origin id=shared-workers-and-the-sharedworker-interface:same-origin-2>same origin</a>
       as the <a href=#origin-2 id=shared-workers-and-the-sharedworker-interface:origin-2-4>origin</a> of <var>scriptURL</var>, then let <var>worker global scope</var> be
       that <code id=shared-workers-and-the-sharedworker-interface:sharedworkerglobalscope-3><a href=#sharedworkerglobalscope>SharedWorkerGlobalScope</a></code> object.</p>
@@ -70082,7 +70082,7 @@
       <ol><li><p>If <var>worker global scope</var>'s <code id=shared-workers-and-the-sharedworker-interface:dom-workerglobalscope-location-2><a href=#dom-workerglobalscope-location>location</a></code> attribute represents an <a href=#absolute-url id=shared-workers-and-the-sharedworker-interface:absolute-url-3>absolute
        URL</a> that is not exactly equal to <var>scriptURL</var>, then throw a
        <code id=shared-workers-and-the-sharedworker-interface:urlmismatcherror><a href=#urlmismatcherror>URLMismatchError</a></code> exception and abort all these steps.<li><p>Associate <var>worker</var> with <var>worker global
-       scope</var>.<li><p>Let <var>settings object</var> be the <a href=#script-settings-object id=shared-workers-and-the-sharedworker-interface:script-settings-object-2>script settings object</a>
+       scope</var>.<li><p>Let <var>settings object</var> be the <a href=#environment-settings-object id=shared-workers-and-the-sharedworker-interface:environment-settings-object-2>environment settings object</a>
        whose <a href=#global-object id=shared-workers-and-the-sharedworker-interface:global-object-2>global object</a> is <var>worker global scope</var>.<li><p><a href=#create-a-new-messageport-object id=shared-workers-and-the-sharedworker-interface:create-a-new-messageport-object-2>Create a new <code>MessagePort</code> object</a> whose <a href=#concept-port-owner id=shared-workers-and-the-sharedworker-interface:concept-port-owner-2>owner</a> is <var>settings object</var>. Let this be
        the <var>inside port</var>.<li><p><a href=#entangle id=shared-workers-and-the-sharedworker-interface:entangle>Entangle</a> <var>outside port</var>
        and <var>inside port</var>.<li><p>Create a <a href=#concept-events-trusted id=shared-workers-and-the-sharedworker-interface:concept-events-trusted>trusted</a> event that uses the
@@ -70108,7 +70108,7 @@
        <li><p>Return <var>worker</var> and abort all these steps.</ol>
 
      <li><p>Create a new <code id=shared-workers-and-the-sharedworker-interface:sharedworkerglobalscope-6><a href=#sharedworkerglobalscope>SharedWorkerGlobalScope</a></code> object. Let <var>worker
-     global scope</var> be this new object.<li><p><a href=#set-up-a-worker-script-settings-object id=shared-workers-and-the-sharedworker-interface:set-up-a-worker-script-settings-object>Set up a worker script settings object</a> with <var>worker global
+     global scope</var> be this new object.<li><p><a href=#set-up-a-worker-environment-settings-object id=shared-workers-and-the-sharedworker-interface:set-up-a-worker-environment-settings-object>Set up a worker environment settings object</a> with <var>worker global
      scope</var> and <var>scriptURL</var>, and let <var>settings object</var> be
      the result.<li><p>Associate <var>worker</var> with <var>worker global scope</var>.<li><p>Set the <code id=shared-workers-and-the-sharedworker-interface:dom-sharedworkerglobalscope-name-3><a href=#dom-sharedworkerglobalscope-name>name</a></code> attribute of
      <var>worker global scope</var> to <var>name</var>.<li><p><a href=#create-a-new-messageport-object id=shared-workers-and-the-sharedworker-interface:create-a-new-messageport-object-3>Create a new <code>MessagePort</code> object</a> whose <a href=#concept-port-owner id=shared-workers-and-the-sharedworker-interface:concept-port-owner-3>owner</a> is <var>settings object</var>. Let <var>inside
@@ -70136,7 +70136,7 @@
    <li>
 
     <p><a href=#run-a-worker id=shared-workers-and-the-sharedworker-interface:run-a-worker>Run a worker</a> for the script with <a href=#url id=shared-workers-and-the-sharedworker-interface:url>URL</a> <var>scriptURL</var>
-    and the <a href=#script-settings-object id=shared-workers-and-the-sharedworker-interface:script-settings-object-3>script settings object</a> <var>settings object</var>.</p>
+    and the <a href=#environment-settings-object id=shared-workers-and-the-sharedworker-interface:environment-settings-object-3>environment settings object</a> <var>settings object</var>.</p>
 
    </ol>
 
@@ -70190,7 +70190,7 @@
 
       <p><a href=#create-a-script id=importing-scripts-and-libraries:create-a-script>Create a script</a> using <var>source</var> as the script source, the
       <a href=#url id=importing-scripts-and-libraries:url>URL</a> from which <var>source</var> was obtained, <var>language</var> as the scripting language, and <var>settings object</var> as
-      the <a href=#script-settings-object id=importing-scripts-and-libraries:script-settings-object>script settings object</a>.</p>
+      the <a href=#environment-settings-object id=importing-scripts-and-libraries:environment-settings-object>environment settings object</a>.</p>
 
       <p>If the script came from a resource whose <a href=#url id=importing-scripts-and-libraries:url-2>URL</a> does not have the <a href=#same-origin id=importing-scripts-and-libraries:same-origin>same
       origin</a> as the <a href=#origin-2 id=importing-scripts-and-libraries:origin-2-2>origin</a> specified by the <a href=#incumbent-settings-object id=importing-scripts-and-libraries:incumbent-settings-object-2>incumbent settings

Modified: index
===================================================================
--- index	2014-10-10 20:40:25 UTC (rev 8833)
+++ index	2014-10-10 23:43:31 UTC (rev 8834)
@@ -36742,7 +36742,7 @@
 
 
 
-  <h6 id=the-pattern-attribute>4.10.5.3.6 The <code id=the-pattern-attribute:attr-input-pattern><a href=#attr-input-pattern>pattern</a></code> attribute</h6><div class=status><input onclick=toggleStatus(this) value=⋰ type=button><p class=bugs><strong>Spec bugs:</strong> <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=26915" title="Opt-in to the ES6 `u` flag for regular expressions?">26915</a></div>
+  <h6 id=the-pattern-attribute>4.10.5.3.6 The <code id=the-pattern-attribute:attr-input-pattern><a href=#attr-input-pattern>pattern</a></code> attribute</h6>
 
   
 
@@ -45308,7 +45308,7 @@
 
         <p><a href=#create-a-script id=the-script-element:create-a-script>Create a script</a>, using <var id=the-script-element:concept-script-source><a href=#concept-script-source>the script
         block's source</a></var>, the <a href=#url id=the-script-element:url>URL</a> from which the script was obtained, <var id=the-script-element:concept-script-type-11><a href=#concept-script-type>the script block's type</a></var> as the scripting language, and
-        the <a href=#script-settings-object id=the-script-element:script-settings-object>script settings object</a> of the <code id=the-script-element:the-script-element-52><a href=#the-script-element>script</a></code> element's
+        the <a href=#environment-settings-object id=the-script-element:environment-settings-object>environment settings object</a> of the <code id=the-script-element:the-script-element-52><a href=#the-script-element>script</a></code> element's
         <a id=the-script-element:node-document-11 href=https://dom.spec.whatwg.org/#concept-node-document data-x-internal=node-document>node document</a>'s <code id=the-script-element:window><a href=#window>Window</a></code> object.</p>
 
         <p>If the script came from a resource that was <a href=#fetch id=the-script-element:fetch-6>fetched</a> in the
@@ -58143,7 +58143,7 @@
   <code id=garbage-collection-and-browsing-contexts:windowproxy-2><a href=#windowproxy>WindowProxy</a></code> object.</p>
 
   <p>Each <a href=#concept-script id=garbage-collection-and-browsing-contexts:concept-script>script</a> has a strong reference to its <a href=#settings-object id=garbage-collection-and-browsing-contexts:settings-object>settings
-  object</a>, and each <a href=#script-settings-object id=garbage-collection-and-browsing-contexts:script-settings-object>script settings object</a> has strong references to its
+  object</a>, and each <a href=#environment-settings-object id=garbage-collection-and-browsing-contexts:environment-settings-object>environment settings object</a> has strong references to its
   <a href=#global-object id=garbage-collection-and-browsing-contexts:global-object>global object</a>, <a href=#responsible-browsing-context id=garbage-collection-and-browsing-contexts:responsible-browsing-context>responsible browsing context</a>, and <a href=#responsible-document id=garbage-collection-and-browsing-contexts:responsible-document>responsible
   document</a>.</p>
 
@@ -58395,7 +58395,7 @@
       the <a id=origin:node-document href=https://dom.spec.whatwg.org/#concept-node-document data-x-internal=node-document>node document</a> of the element that initiated the <a href=#navigate id=origin:navigate-2>navigation</a> to that <a href=#url id=origin:url-2>URL</a>.</p>
 
       <p>The <a href=#effective-script-origin id=origin:effective-script-origin-9>effective script origin</a> is initially an <a href=#concept-origin-alias id=origin:concept-origin-alias-5>alias</a> to the <a href=#effective-script-origin id=origin:effective-script-origin-10>effective script origin</a> of that
-      same <a href=#script-settings-object id=origin:script-settings-object>script settings object</a> or <code id=origin:document-9><a href=#document>Document</a></code>.</p>
+      same <a href=#environment-settings-object id=origin:environment-settings-object>environment settings object</a> or <code id=origin:document-9><a href=#document>Document</a></code>.</p>
 
      <dt>If a <code id=origin:document-10><a href=#document>Document</a></code> is the initial "<code id=origin:about:blank><a href=#about:blank>about:blank</a></code>" document<dd>
 
@@ -59706,7 +59706,7 @@
 
         <p><a href=#create-a-script id=navigating-across-documents:create-a-script>Create a script</a>, using <var>script source</var> as the script
         source, <var>address</var> as the script source URL, JavaScript as the scripting
-        language, and the <a href=#script-settings-object id=navigating-across-documents:script-settings-object>script settings object</a> of the <code id=navigating-across-documents:window><a href=#window>Window</a></code> object of
+        language, and the <a href=#environment-settings-object id=navigating-across-documents:environment-settings-object>environment settings object</a> of the <code id=navigating-across-documents:window><a href=#window>Window</a></code> object of
         the <a href=#active-document id=navigating-across-documents:active-document-8>active document</a> of the <a href=#browsing-context id=navigating-across-documents:browsing-context-18>browsing context</a> being navigated.</p>
 
         <p>Let <var>result</var> be the return value of the <a href=#code-entry-point id=navigating-across-documents:code-entry-point>code entry-point</a>
@@ -62589,14 +62589,14 @@
 
    <dt>A <dfn id=settings-object>settings object</dfn><dd>
 
-    <p>A <a href=#script-settings-object id=definitions-2:script-settings-object>script settings object</a>, various settings that are shared with other scripts in
+    <p>An <a href=#environment-settings-object id=definitions-2:environment-settings-object>environment settings object</a>, various settings that are shared with other scripts in
     the same context.</p>
 
    </dl>
 
   <hr>
 
-  <p>A <dfn id=script-settings-object>script settings object</dfn> specifies algorithms for obtaining the following:</p>
+  <p>An <dfn id=environment-settings-object>environment settings object</dfn> specifies algorithms for obtaining the following:</p>
 
   <dl><dt>A <dfn id=script-execution-environment>script execution environment</dfn> for each language supported by the user agent<dd>
 
@@ -62610,7 +62610,7 @@
    <dt>A <dfn id=global-object>global object</dfn><dd>
 
     <p>An object that provides the APIs that can be called by the code in scripts that use this
-    <a href=#script-settings-object id=definitions-2:script-settings-object-2>settings object</a>.</p>
+    <a href=#environment-settings-object id=definitions-2:environment-settings-object-2>settings object</a>.</p>
 
     <p class=note>This is typically a <code id=definitions-2:window><a href=#window>Window</a></code> object or a
     <code id=definitions-2:workerglobalscope><a href=#workerglobalscope>WorkerGlobalScope</a></code> object. When a <a href=#global-object id=definitions-2:global-object>global object</a> is an empty object, it
@@ -62628,7 +62628,7 @@
    <dt>A <dfn id=responsible-browsing-context>responsible browsing context</dfn><dd>
 
     <p>A <a href=#browsing-context id=definitions-2:browsing-context>browsing context</a> that is assigned responsibility for actions taken by the
-    scripts that use this <a href=#script-settings-object id=definitions-2:script-settings-object-3>script settings object</a>.</p>
+    scripts that use this <a href=#environment-settings-object id=definitions-2:environment-settings-object-3>environment settings object</a>.</p>
 
     <p class=example>When a script creates and <a href=#navigate id=definitions-2:navigate>navigates</a> a new
     <a href=#top-level-browsing-context id=definitions-2:top-level-browsing-context>top-level browsing context</a>, the <code id=definitions-2:dom-opener><a href=#dom-opener>opener</a></code> attribute
@@ -62638,7 +62638,7 @@
    <dt>A <dfn id=responsible-document>responsible document</dfn><dd>
 
     <p>A <code id=definitions-2:document><a href=#document>Document</a></code> that is assigned responsibility for actions taken by the scripts that
-    use this <a href=#script-settings-object id=definitions-2:script-settings-object-4>script settings object</a>.</p>
+    use this <a href=#environment-settings-object id=definitions-2:environment-settings-object-4>environment settings object</a>.</p>
 
     <p class=example>For example, the <a href=https://dom.spec.whatwg.org/#concept-document-url id="definitions-2:the-document's-address" data-x-internal="the-document's-address">address</a> of the
     <a href=#responsible-document id=definitions-2:responsible-document>responsible document</a> is used to set the <a href=https://dom.spec.whatwg.org/#concept-document-url id="definitions-2:the-document's-address-2" data-x-internal="the-document's-address">address</a> of the <code id=definitions-2:document-2><a href=#document>Document</a></code> after it has been reset using <code id=definitions-2:dom-document-open><a href=#dom-document-open>document.open()</a></code>.</p>
@@ -62655,12 +62655,12 @@
 
    <dt>An <dfn id=api-url-character-encoding>API URL character encoding</dfn><dd>
 
-    <p>A character encoding used to encode URLs by APIs called by scripts that use this <a href=#script-settings-object id=definitions-2:script-settings-object-5>script
+    <p>A character encoding used to encode URLs by APIs called by scripts that use this <a href=#environment-settings-object id=definitions-2:environment-settings-object-5>environment
     settings object</a>.</p>
 
    <dt>An <dfn id=api-base-url>API base URL</dfn><dd>
 
-    <p>An <a href=#absolute-url id=definitions-2:absolute-url>absolute URL</a> used by APIs called by scripts that use this <a href=#script-settings-object id=definitions-2:script-settings-object-6>script
+    <p>An <a href=#absolute-url id=definitions-2:absolute-url>absolute URL</a> used by APIs called by scripts that use this <a href=#environment-settings-object id=definitions-2:environment-settings-object-6>environment
     settings object</a> to resolve <a href=#relative-url id=definitions-2:relative-url>relative URLs</a>.</p>
 
    <dt>An <a href=#origin-2 id=definitions-2:origin-2>origin</a> and an <a href=#effective-script-origin id=definitions-2:effective-script-origin>effective script origin</a><dd>
@@ -62670,8 +62670,8 @@
    </dl>
 
   <p>The <dfn id=relevant-settings-object-for-a-global-object>relevant settings object for a global object</dfn> <var>o</var> is the
-  <a href=#script-settings-object id=definitions-2:script-settings-object-7>script settings object</a> whose <a href=#global-object id=definitions-2:global-object-3>global object</a> is <var>o</var>.
-  (There is always a 1:1 mapping of global objects to script settings objects.)</p>
+  <a href=#environment-settings-object id=definitions-2:environment-settings-object-7>environment settings object</a> whose <a href=#global-object id=definitions-2:global-object-3>global object</a> is <var>o</var>.
+  (There is always a 1:1 mapping of global objects to environment settings objects.)</p>
 
   <p>The <dfn id=relevant-settings-object-for-a-script>relevant settings object for a script</dfn> <var>s</var> is the
   <a href=#settings-object id=definitions-2:settings-object>settings object</a> of <var>s</var>.</p>
@@ -62680,17 +62680,17 @@
 
   <h5 id=script-settings-for-browsing-contexts>8.1.3.2 Script settings for browsing contexts</h5>
 
-  <p>Whenever a new <code id=script-settings-for-browsing-contexts:window><a href=#window>Window</a></code> object is created, it must also create a <a href=#script-settings-object id=script-settings-for-browsing-contexts:script-settings-object>script
+  <p>Whenever a new <code id=script-settings-for-browsing-contexts:window><a href=#window>Window</a></code> object is created, it must also create an <a href=#environment-settings-object id=script-settings-for-browsing-contexts:environment-settings-object>environment
   settings object</a> whose algorithms are defined as follows:</p>
 
   <dl><dt>The <a href=#script-execution-environment id=script-settings-for-browsing-contexts:script-execution-environment>script execution environments</a><dd>
 
-    <p>When the <a href=#script-settings-object id=script-settings-for-browsing-contexts:script-settings-object-2>script settings object</a> is created, for each language supported by the
+    <p>When the <a href=#environment-settings-object id=script-settings-for-browsing-contexts:environment-settings-object-2>environment settings object</a> is created, for each language supported by the
     user agent, create an appropriate execution environment as defined by the relevant
     specification.</p>
 
     <p>When a <a href=#script-execution-environment id=script-settings-for-browsing-contexts:script-execution-environment-2>script execution environment</a> is needed, return the appropriate one from
-    those created when the <a href=#script-settings-object id=script-settings-for-browsing-contexts:script-settings-object-3>script settings object</a> was created.</p>
+    those created when the <a href=#environment-settings-object id=script-settings-for-browsing-contexts:environment-settings-object-3>environment settings object</a> was created.</p>
 
    <dt>The <a href=#global-object id=script-settings-for-browsing-contexts:global-object>global object</a><dd>
 
@@ -62745,9 +62745,9 @@
   <h5 id=calling-scripts>8.1.3.3 Calling scripts</h5>
 
   <p>Each <a href=#unit-of-related-similar-origin-browsing-contexts id=calling-scripts:unit-of-related-similar-origin-browsing-contexts>unit of related similar-origin browsing contexts</a> has a <dfn id=stack-of-script-settings-objects>stack of script
-  settings objects</dfn>, which must be initially empty. When a new <a href=#script-settings-object id=calling-scripts:script-settings-object>script settings
-  object</a> is <i>pushed</i> onto this stack, the specified <a href=#script-settings-object id=calling-scripts:script-settings-object-2>script settings object</a>
-  is to be added to the stack; when the <a href=#script-settings-object id=calling-scripts:script-settings-object-3>script settings object</a> on this stack that was
+  settings objects</dfn>, which must be initially empty. When a new <a href=#environment-settings-object id=calling-scripts:environment-settings-object>environment settings
+  object</a> is <i>pushed</i> onto this stack, the specified <a href=#environment-settings-object id=calling-scripts:environment-settings-object-2>environment settings object</a>
+  is to be added to the stack; when the <a href=#environment-settings-object id=calling-scripts:environment-settings-object-3>environment settings object</a> on this stack that was
   most recently pushed onto it is to be <i>popped</i> from the stack, it must be removed. Entries on
   this stack can be labeled as <dfn id=candidate-entry-settings-object>candidate entry
   settings objects</dfn>.</p>
@@ -62756,11 +62756,11 @@
   following steps:</p>
 
   <ol><li><p>Let <var>context</var> be the <a href=#settings-object id=calling-scripts:settings-object>settings object</a> of <var>s</var>.<li><p><a href=#prepare-to-run-a-callback id=calling-scripts:prepare-to-run-a-callback>Prepare to run a callback</a> with <var>context</var> as the
-   <a href=#script-settings-object id=calling-scripts:script-settings-object-4>script settings object</a>. If this returns "do not run" then abort these
+   <a href=#environment-settings-object id=calling-scripts:environment-settings-object-4>environment settings object</a>. If this returns "do not run" then abort these
    steps.<li><p>Make the appropriate <a href=#script-execution-environment id=calling-scripts:script-execution-environment>script execution environment</a> specified by <var>context</var> execute the <var>s</var>'s <a href=#code-entry-point id=calling-scripts:code-entry-point>code
    entry-point</a>.<li><p><a href=#clean-up-after-running-a-callback id=calling-scripts:clean-up-after-running-a-callback>Clean up after running a callback</a>.</ol>
 
-  <p>The steps to <dfn id=prepare-to-run-a-callback>prepare to run a callback</dfn> with a <a href=#script-settings-object id=calling-scripts:script-settings-object-5>script settings object</a>
+  <p>The steps to <dfn id=prepare-to-run-a-callback>prepare to run a callback</dfn> with an <a href=#environment-settings-object id=calling-scripts:environment-settings-object-5>environment settings object</a>
   <var>o</var> are as follows. They return either "run" or "do not run".</p>
 
   <ol><li><p>If the <a href=#global-object id=calling-scripts:global-object>global object</a> specified by <var>o</var> is a
@@ -62792,7 +62792,7 @@
   the evaluation begins, and popped when the evaluation ends (regardless of whether it's an abrupt
   completion or not).</p>
 
-  <p>The <dfn id=entry-settings-object>entry settings object</dfn> is the most-recently added <a href=#script-settings-object id=calling-scripts:script-settings-object-6>script settings
+  <p>The <dfn id=entry-settings-object>entry settings object</dfn> is the most-recently added <a href=#environment-settings-object id=calling-scripts:environment-settings-object-6>environment settings
   object</a> in the <a href=#stack-of-script-settings-objects id=calling-scripts:stack-of-script-settings-objects-6>stack of script settings objects</a> that is labeled as a
   <a href=#candidate-entry-settings-object id=calling-scripts:candidate-entry-settings-object-2>candidate entry settings object</a>. If the stack is empty, or has no entries labeled as
   such, then there is no <a href=#entry-settings-object id=calling-scripts:entry-settings-object>entry settings object</a>. It is used to obtain, amongst other
@@ -62800,7 +62800,7 @@
   <a href=#url id=calling-scripts:url>URLs</a> used in scripts running in that <a href=#unit-of-related-similar-origin-browsing-contexts id=calling-scripts:unit-of-related-similar-origin-browsing-contexts-2>unit of related
   similar-origin browsing contexts</a>.</p>
 
-  <p>The <dfn id=incumbent-settings-object>incumbent settings object</dfn> is the <a href=#script-settings-object id=calling-scripts:script-settings-object-7>script settings object</a> in the
+  <p>The <dfn id=incumbent-settings-object>incumbent settings object</dfn> is the <a href=#environment-settings-object id=calling-scripts:environment-settings-object-7>environment settings object</a> in the
   <a href=#stack-of-script-settings-objects id=calling-scripts:stack-of-script-settings-objects-7>stack of script settings objects</a> that was most-recently added (i.e. the last one on
   the stack). If the stack is empty, then there is no <a href=#incumbent-settings-object id=calling-scripts:incumbent-settings-object-2>incumbent settings object</a>. It is
   used in some security checks.</p>
@@ -62857,7 +62857,7 @@
   <h5 id=creating-scripts>8.1.3.4 Creating scripts</h5>
 
   <p>When the specification says that a <a href=#concept-script id=creating-scripts:concept-script>script</a> is to be <dfn id=create-a-script>created</dfn>, given some script source, a script source URL, its
-  scripting language, a <a href=#script-settings-object id=creating-scripts:script-settings-object>script settings object</a>, and optionally a <var>muted
+  scripting language, an <a href=#environment-settings-object id=creating-scripts:environment-settings-object>environment settings object</a>, and optionally a <var>muted
   errors</var> flag, the user agent must run the following steps:</p>
 
   <ol><li><p>Let <var>script</var> be a new <a href=#concept-script id=creating-scripts:concept-script-2>script</a> that
@@ -62866,8 +62866,8 @@
    described a program that did nothing but return void.</p>
 
    <li><p>Obtain the appropriate <a href=#script-execution-environment id=creating-scripts:script-execution-environment>script execution environment</a> for the given scripting
-   language from the <a href=#script-settings-object id=creating-scripts:script-settings-object-2>script settings object</a> provided.<li><p>Parse/compile/initialise the source of the script using the <a href=#script-execution-environment id=creating-scripts:script-execution-environment-2>script execution
-   environment</a>, as appropriate for the scripting language, and thus obtain <var>script</var>'s <a href=#code-entry-point id=creating-scripts:code-entry-point>code entry-point</a>.<li><p>Let <var>script</var>'s <a href=#settings-object id=creating-scripts:settings-object>settings object</a> be the <a href=#script-settings-object id=creating-scripts:script-settings-object-3>script
+   language from the <a href=#environment-settings-object id=creating-scripts:environment-settings-object-2>environment settings object</a> provided.<li><p>Parse/compile/initialise the source of the script using the <a href=#script-execution-environment id=creating-scripts:script-execution-environment-2>script execution
+   environment</a>, as appropriate for the scripting language, and thus obtain <var>script</var>'s <a href=#code-entry-point id=creating-scripts:code-entry-point>code entry-point</a>.<li><p>Let <var>script</var>'s <a href=#settings-object id=creating-scripts:settings-object>settings object</a> be the <a href=#environment-settings-object id=creating-scripts:environment-settings-object-3>environment
    settings object</a> provided.<li><p>If the <var>muted errors</var> flag was set, then set <var>script</var>'s <a href=#muted-errors id=creating-scripts:muted-errors>muted errors</a> flag.<li>
 
     <p>If all the steps above succeeded (in particular, if the script was compiled successfully),
@@ -62876,7 +62876,7 @@
 
     <p>Otherwise, <a href=#report-the-error id=creating-scripts:report-the-error>report the error</a> for <var>script</var>, with the
     problematic position (line number and column number), using the <a href=#global-object id=creating-scripts:global-object>global object</a>
-    specified by the <a href=#script-settings-object id=creating-scripts:script-settings-object-4>script settings object</a> as the target. If the error is still <i id=creating-scripts:concept-error-nothandled><a href=#concept-error-nothandled>not handled</a></i> after this, then the error may be reported to
+    specified by the <a href=#environment-settings-object id=creating-scripts:environment-settings-object-4>environment settings object</a> as the target. If the error is still <i id=creating-scripts:concept-error-nothandled><a href=#concept-error-nothandled>not handled</a></i> after this, then the error may be reported to
     the user.</p>
 
    </ol>
@@ -63585,7 +63585,7 @@
      uncompiled handler</a>.<li><p>Let <var>location</var> be the location where the script body originated, as
      given by the <a href=#internal-raw-uncompiled-handler id=event-handler-attributes:internal-raw-uncompiled-handler-5>internal raw uncompiled handler</a>.<li><p>If <var>element</var> is not null and <var>element</var> has a
      <a href=#form-owner id=event-handler-attributes:form-owner>form owner</a>, let <var>form owner</var> be that <a href=#form-owner id=event-handler-attributes:form-owner-2>form owner</a>.
-     Otherwise, let <var>form owner</var> be null.<li><p>Let <var>script settings</var> be the <a href=#script-settings-object id=event-handler-attributes:script-settings-object>script settings object</a>
+     Otherwise, let <var>form owner</var> be null.<li><p>Let <var>script settings</var> be the <a href=#environment-settings-object id=event-handler-attributes:environment-settings-object>environment settings object</a>
      created for the <code id=event-handler-attributes:window-5><a href=#window>Window</a></code> object with which <var>document</var> is
      currently associated.<li><p>Obtain the <a href=#script-execution-environment id=event-handler-attributes:script-execution-environment>script execution environment</a> for JavaScript from <var>script settings</var>.<li>
 
@@ -64194,7 +64194,7 @@
     IDL prototypes in the JavaScript binding, including the <code id=opening-the-input-stream:document-26><a href=#document>Document</a></code> object's
     prototype.)</p>
 
-    <p class=note>The new <code id=opening-the-input-stream:window-2><a href=#window>Window</a></code> object has a new <a href=#script-settings-object id=opening-the-input-stream:script-settings-object>script settings
+    <p class=note>The new <code id=opening-the-input-stream:window-2><a href=#window>Window</a></code> object has a new <a href=#environment-settings-object id=opening-the-input-stream:environment-settings-object>environment settings
     object</a>.</p>
 
    <li><p>Change the <a href="#document's-character-encoding" id="opening-the-input-stream:document's-character-encoding">document's character encoding</a> to UTF-8.<li><p>If the <code id=opening-the-input-stream:document-27><a href=#document>Document</a></code> is <a href=#ready-for-post-load-tasks id=opening-the-input-stream:ready-for-post-load-tasks>ready for post-load tasks</a>, then set the
@@ -64514,11 +64514,11 @@
 
        <dt>Otherwise<dd>
 
-        <ol><li><p>Let <var>script source</var> be the first method argument.<li><p>Let <var>script language</var> be JavaScript.<li><p>Let <var>settings object</var> be <var>method context</var>'s <a href=#script-settings-object id=timers:script-settings-object>script settings
+        <ol><li><p>Let <var>script source</var> be the first method argument.<li><p>Let <var>script language</var> be JavaScript.<li><p>Let <var>settings object</var> be <var>method context</var>'s <a href=#environment-settings-object id=timers:environment-settings-object>environment settings
          object</a>.<li><p><a href=#create-a-script id=timers:create-a-script>Create a script</a> using <var>script source</var> as the script source,
          the <a href=#url id=timers:url>URL</a> where <var>script source</var> can be found, <var>scripting
          language</var> as the scripting language, and <var>settings object</var> as the
-         <a href=#script-settings-object id=timers:script-settings-object-2>script settings object</a>.</ol>
+         <a href=#environment-settings-object id=timers:environment-settings-object-2>environment settings object</a>.</ol>
 
        </dl>
 
@@ -67837,7 +67837,7 @@
     <p>If the method was invoked with a third argument <var>transfer</var>, run these
     substeps:</p>
 
-    <ol><li><p>Let <var>new owner</var> be the <a href=#script-settings-object id=posting-messages:script-settings-object>script settings object</a> of the
+    <ol><li><p>Let <var>new owner</var> be the <a href=#environment-settings-object id=posting-messages:environment-settings-object>environment settings object</a> of the
      <code id=posting-messages:window-4><a href=#window>Window</a></code> object on which the method was invoked.<li><p>For each object <var>x</var> in <var>transfer</var> in turn, obtain
      a new object <var>y</var> by <a href=#transfer-a-transferable-object id=posting-messages:transfer-a-transferable-object>transferring</a> the object <var>x</var> to <var>new
      owner</var>, and replace the placeholder object that was created for the object <var>x</var> by the new object <var>y</var> wherever the placeholder exists
@@ -69663,7 +69663,7 @@
   <h4 id=processing-model-11>10.2.4 Processing model</h4>
 
   <p>When a user agent is to <dfn id=run-a-worker>run a worker</dfn> for a script with <a href=#url id=processing-model-11:url>URL</a>
-  <var>url</var> and a <a href=#script-settings-object id=processing-model-11:script-settings-object>script settings object</a> <var>settings object</var>, it must run
+  <var>url</var> and an <a href=#environment-settings-object id=processing-model-11:environment-settings-object>environment settings object</a> <var>settings object</var>, it must run
   the following steps:</p>
 
   <ol><li id=worker-processing-model-top><div class=status><input onclick=toggleStatus(this) value=⋰ type=button><p class=bugs><strong>Spec bugs:</strong> <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=24519" title="Why do workers use document as their referrer source when they do not seem to need document for anything else? Seems more logical if the worker's location was used as the referrer.">24519</a></div>
@@ -69861,9 +69861,9 @@
 
   <h5 id=script-settings-for-workers>10.2.6.2 Script settings for workers</h5>
 
-  <p>When the user agent is required to <dfn id=set-up-a-worker-script-settings-object>set up a worker script settings object</dfn>, given a
+  <p>When the user agent is required to <dfn id=set-up-a-worker-environment-settings-object>set up a worker environment settings object</dfn>, given a
   <var>worker global scope</var> and a <a href=#url id=script-settings-for-workers:url>URL</a> <var>script
-  address</var>, it must run the following steps:</p>
+  address</var> it must run the following steps:</p>
 
   <ol><li><p>Let <var>inherited responsible browsing context</var> be the <a href=#responsible-browsing-context id=script-settings-for-workers:responsible-browsing-context>responsible
    browsing context</a> specified by the <a href=#incumbent-settings-object id=script-settings-for-workers:incumbent-settings-object>incumbent settings object</a>.<li><p>Let <var>inherited responsible document</var> be the <a href=#responsible-document id=script-settings-for-workers:responsible-document>responsible
@@ -69871,17 +69871,17 @@
    <a href=#incumbent-settings-object id=script-settings-for-workers:incumbent-settings-object-3>incumbent settings object</a>.<li><p>Let <var>worker event loop</var> be a newly created <a href=#event-loop id=script-settings-for-workers:event-loop>event
    loop</a>.<li>
 
-    <p>Let <var>settings object</var> be a new <a href=#script-settings-object id=script-settings-for-workers:script-settings-object>script settings object</a> whose algorithms
+    <p>Let <var>settings object</var> be a new <a href=#environment-settings-object id=script-settings-for-workers:environment-settings-object>environment settings object</a> whose algorithms
     are defined as follows:</p>
 
     <dl><dt>The <a href=#script-execution-environment id=script-settings-for-workers:script-execution-environment>script execution environments</a><dd>
 
-      <p>When the <a href=#script-settings-object id=script-settings-for-workers:script-settings-object-2>script settings object</a> is created, for each language supported by the
+      <p>When the <a href=#environment-settings-object id=script-settings-for-workers:environment-settings-object-2>environment settings object</a> is created, for each language supported by the
       user agent, create an appropriate execution environment as defined by the relevant
       specification.</p>
 
       <p>When a <a href=#script-execution-environment id=script-settings-for-workers:script-execution-environment-2>script execution environment</a> is needed, return the appropriate one from
-      those created when the <a href=#script-settings-object id=script-settings-for-workers:script-settings-object-3>script settings object</a> was created.</p>
+      those created when the <a href=#environment-settings-object id=script-settings-for-workers:environment-settings-object-3>environment settings object</a> was created.</p>
 
       <p class=note>Currently, workers only support JavaScript, so only a JavaScript execution
       environment is actually needed here.</p>
@@ -69989,7 +69989,7 @@
     same-origin <code id=dedicated-workers-and-the-worker-interface:blob-protocol><a data-x-internal=blob-protocol href=http://dev.w3.org/2006/webapi/FileAPI/#DefinitionOfScheme>blob:</a></code> URLs. Thus, an <code id=dedicated-workers-and-the-worker-interface:https-protocol><a data-x-internal=https-protocol href=http://tools.ietf.org/html/rfc7230#section-2.7.2>https:</a></code> page couldn't start workers using scripts with <code id=dedicated-workers-and-the-worker-interface:http-protocol><a data-x-internal=http-protocol href=http://tools.ietf.org/html/rfc7230#section-2.7.1>http:</a></code> URLs. <a href=#refsFILEAPI>[FILEAPI]</a>.</p>
 
    <li><p>Create a new <code id=dedicated-workers-and-the-worker-interface:dedicatedworkerglobalscope><a href=#dedicatedworkerglobalscope>DedicatedWorkerGlobalScope</a></code> object. Let <var>worker global
-   scope</var> be this new object.<li><p><a href=#set-up-a-worker-script-settings-object id=dedicated-workers-and-the-worker-interface:set-up-a-worker-script-settings-object>Set up a worker script settings object</a> with <var>worker global scope</var>
+   scope</var> be this new object.<li><p><a href=#set-up-a-worker-environment-settings-object id=dedicated-workers-and-the-worker-interface:set-up-a-worker-environment-settings-object>Set up a worker environment settings object</a> with <var>worker global scope</var>
    and <var>worker URL</var>, and let <var>settings object</var> be the result.<li><p>Create a new <code id=dedicated-workers-and-the-worker-interface:worker-8><a href=#worker>Worker</a></code> object, associated with <var>worker global scope</var>.
    Let <var>worker</var> be this new object.<li><p><a href=#create-a-new-messageport-object id=dedicated-workers-and-the-worker-interface:create-a-new-messageport-object>Create a new <code>MessagePort</code> object</a> whose <a href=#concept-port-owner id=dedicated-workers-and-the-worker-interface:concept-port-owner>owner</a> is the <a href=#incumbent-settings-object id=dedicated-workers-and-the-worker-interface:incumbent-settings-object-2>incumbent settings object</a>. Let this
    be the <var>outside port</var>.<li><p>Associate the <var>outside port</var> with <var>worker</var>.<li><p><a href=#create-a-new-messageport-object id=dedicated-workers-and-the-worker-interface:create-a-new-messageport-object-2>Create a new <code>MessagePort</code> object</a> whose <a href=#concept-port-owner id=dedicated-workers-and-the-worker-interface:concept-port-owner-2>owner</a> is <var>settings object</var>. Let <var>inside
@@ -70001,7 +70001,7 @@
    <var>worker global scope</var> to the list of <a href="#the-worker's-workers" id="dedicated-workers-and-the-worker-interface:the-worker's-workers">the worker's workers</a> of the
    <code id=dedicated-workers-and-the-worker-interface:workerglobalscope-2><a href=#workerglobalscope>WorkerGlobalScope</a></code> object that is the <a href=#global-object id=dedicated-workers-and-the-worker-interface:global-object-2>global object</a> specified by the
    <a href=#incumbent-settings-object id=dedicated-workers-and-the-worker-interface:incumbent-settings-object-5>incumbent settings object</a>.<li><p><a href=#run-a-worker id=dedicated-workers-and-the-worker-interface:run-a-worker>Run a worker</a> for the script with <a href=#url id=dedicated-workers-and-the-worker-interface:url>URL</a> <var>worker URL</var> and
-   the <a href=#script-settings-object id=dedicated-workers-and-the-worker-interface:script-settings-object>script settings object</a> <var>settings object</var>.</ol>
+   the <a href=#environment-settings-object id=dedicated-workers-and-the-worker-interface:environment-settings-object>environment settings object</a> <var>settings object</var>.</ol>
 
 
 
@@ -70052,7 +70052,7 @@
 
       <p>If <var>name</var> is not the empty string and there exists a
       <code id=shared-workers-and-the-sharedworker-interface:sharedworkerglobalscope-2><a href=#sharedworkerglobalscope>SharedWorkerGlobalScope</a></code> object whose <a href=#dom-workerglobalscope-closing id=shared-workers-and-the-sharedworker-interface:dom-workerglobalscope-closing>closing</a> flag is false, whose <code id=shared-workers-and-the-sharedworker-interface:dom-sharedworkerglobalscope-name><a href=#dom-sharedworkerglobalscope-name>name</a></code> attribute is exactly equal to
-      <var>name</var>, and that is the <a href=#global-object id=shared-workers-and-the-sharedworker-interface:global-object>global object</a> specified by a <a href=#script-settings-object id=shared-workers-and-the-sharedworker-interface:script-settings-object>script
+      <var>name</var>, and that is the <a href=#global-object id=shared-workers-and-the-sharedworker-interface:global-object>global object</a> specified by an <a href=#environment-settings-object id=shared-workers-and-the-sharedworker-interface:environment-settings-object>environment
       settings object</a> that specifies as its <a href=#origin-2 id=shared-workers-and-the-sharedworker-interface:origin-2-3>origin</a> the <a href=#same-origin id=shared-workers-and-the-sharedworker-interface:same-origin-2>same origin</a>
       as the <a href=#origin-2 id=shared-workers-and-the-sharedworker-interface:origin-2-4>origin</a> of <var>scriptURL</var>, then let <var>worker global scope</var> be
       that <code id=shared-workers-and-the-sharedworker-interface:sharedworkerglobalscope-3><a href=#sharedworkerglobalscope>SharedWorkerGlobalScope</a></code> object.</p>
@@ -70082,7 +70082,7 @@
       <ol><li><p>If <var>worker global scope</var>'s <code id=shared-workers-and-the-sharedworker-interface:dom-workerglobalscope-location-2><a href=#dom-workerglobalscope-location>location</a></code> attribute represents an <a href=#absolute-url id=shared-workers-and-the-sharedworker-interface:absolute-url-3>absolute
        URL</a> that is not exactly equal to <var>scriptURL</var>, then throw a
        <code id=shared-workers-and-the-sharedworker-interface:urlmismatcherror><a href=#urlmismatcherror>URLMismatchError</a></code> exception and abort all these steps.<li><p>Associate <var>worker</var> with <var>worker global
-       scope</var>.<li><p>Let <var>settings object</var> be the <a href=#script-settings-object id=shared-workers-and-the-sharedworker-interface:script-settings-object-2>script settings object</a>
+       scope</var>.<li><p>Let <var>settings object</var> be the <a href=#environment-settings-object id=shared-workers-and-the-sharedworker-interface:environment-settings-object-2>environment settings object</a>
        whose <a href=#global-object id=shared-workers-and-the-sharedworker-interface:global-object-2>global object</a> is <var>worker global scope</var>.<li><p><a href=#create-a-new-messageport-object id=shared-workers-and-the-sharedworker-interface:create-a-new-messageport-object-2>Create a new <code>MessagePort</code> object</a> whose <a href=#concept-port-owner id=shared-workers-and-the-sharedworker-interface:concept-port-owner-2>owner</a> is <var>settings object</var>. Let this be
        the <var>inside port</var>.<li><p><a href=#entangle id=shared-workers-and-the-sharedworker-interface:entangle>Entangle</a> <var>outside port</var>
        and <var>inside port</var>.<li><p>Create a <a href=#concept-events-trusted id=shared-workers-and-the-sharedworker-interface:concept-events-trusted>trusted</a> event that uses the
@@ -70108,7 +70108,7 @@
        <li><p>Return <var>worker</var> and abort all these steps.</ol>
 
      <li><p>Create a new <code id=shared-workers-and-the-sharedworker-interface:sharedworkerglobalscope-6><a href=#sharedworkerglobalscope>SharedWorkerGlobalScope</a></code> object. Let <var>worker
-     global scope</var> be this new object.<li><p><a href=#set-up-a-worker-script-settings-object id=shared-workers-and-the-sharedworker-interface:set-up-a-worker-script-settings-object>Set up a worker script settings object</a> with <var>worker global
+     global scope</var> be this new object.<li><p><a href=#set-up-a-worker-environment-settings-object id=shared-workers-and-the-sharedworker-interface:set-up-a-worker-environment-settings-object>Set up a worker environment settings object</a> with <var>worker global
      scope</var> and <var>scriptURL</var>, and let <var>settings object</var> be
      the result.<li><p>Associate <var>worker</var> with <var>worker global scope</var>.<li><p>Set the <code id=shared-workers-and-the-sharedworker-interface:dom-sharedworkerglobalscope-name-3><a href=#dom-sharedworkerglobalscope-name>name</a></code> attribute of
      <var>worker global scope</var> to <var>name</var>.<li><p><a href=#create-a-new-messageport-object id=shared-workers-and-the-sharedworker-interface:create-a-new-messageport-object-3>Create a new <code>MessagePort</code> object</a> whose <a href=#concept-port-owner id=shared-workers-and-the-sharedworker-interface:concept-port-owner-3>owner</a> is <var>settings object</var>. Let <var>inside
@@ -70136,7 +70136,7 @@
    <li>
 
     <p><a href=#run-a-worker id=shared-workers-and-the-sharedworker-interface:run-a-worker>Run a worker</a> for the script with <a href=#url id=shared-workers-and-the-sharedworker-interface:url>URL</a> <var>scriptURL</var>
-    and the <a href=#script-settings-object id=shared-workers-and-the-sharedworker-interface:script-settings-object-3>script settings object</a> <var>settings object</var>.</p>
+    and the <a href=#environment-settings-object id=shared-workers-and-the-sharedworker-interface:environment-settings-object-3>environment settings object</a> <var>settings object</var>.</p>
 
    </ol>
 
@@ -70190,7 +70190,7 @@
 
       <p><a href=#create-a-script id=importing-scripts-and-libraries:create-a-script>Create a script</a> using <var>source</var> as the script source, the
       <a href=#url id=importing-scripts-and-libraries:url>URL</a> from which <var>source</var> was obtained, <var>language</var> as the scripting language, and <var>settings object</var> as
-      the <a href=#script-settings-object id=importing-scripts-and-libraries:script-settings-object>script settings object</a>.</p>
+      the <a href=#environment-settings-object id=importing-scripts-and-libraries:environment-settings-object>environment settings object</a>.</p>
 
       <p>If the script came from a resource whose <a href=#url id=importing-scripts-and-libraries:url-2>URL</a> does not have the <a href=#same-origin id=importing-scripts-and-libraries:same-origin>same
       origin</a> as the <a href=#origin-2 id=importing-scripts-and-libraries:origin-2-2>origin</a> specified by the <a href=#incumbent-settings-object id=importing-scripts-and-libraries:incumbent-settings-object-2>incumbent settings

Modified: source
===================================================================
--- source	2014-10-10 20:40:25 UTC (rev 8833)
+++ source	2014-10-10 23:43:31 UTC (rev 8834)
@@ -58827,7 +58827,7 @@
         <p><span>Create a script</span>, using <var data-x="concept-script-source">the script
         block's source</var>, the <span>URL</span> from which the script was obtained, <var
         data-x="concept-script-type">the script block's type</var> as the scripting language, and
-        the <span>script settings object</span> of the <code>script</code> element's
+        the <span>environment settings object</span> of the <code>script</code> element's
         <span>node document</span>'s <code>Window</code> object.</p>
 
         <p>If the script came from a resource that was <span data-x="fetch">fetched</span> in the
@@ -78255,7 +78255,7 @@
   <code>WindowProxy</code> object.</p>
 
   <p>Each <span data-x="concept-script">script</span> has a strong reference to its <span>settings
-  object</span>, and each <span>script settings object</span> has strong references to its
+  object</span>, and each <span>environment settings object</span> has strong references to its
   <span>global object</span>, <span>responsible browsing context</span>, and <span>responsible
   document</span>.</p>
 
@@ -78627,7 +78627,7 @@
 
       <p>The <span>effective script origin</span> is initially an <span
       data-x="concept-origin-alias">alias</span> to the <span>effective script origin</span> of that
-      same <span>script settings object</span> or <code>Document</code>.</p>
+      same <span>environment settings object</span> or <code>Document</code>.</p>
 
      </dd>
 
@@ -80531,7 +80531,7 @@
 
         <p><span>Create a script</span>, using <var>script source</var> as the script
         source, <var>address</var> as the script source URL, JavaScript as the scripting
-        language, and the <span>script settings object</span> of the <code>Window</code> object of
+        language, and the <span>environment settings object</span> of the <code>Window</code> object of
         the <span>active document</span> of the <span>browsing context</span> being navigated.</p>
 
         <p>Let <var>result</var> be the return value of the <span>code entry-point</span>
@@ -84541,7 +84541,7 @@
 
    <dd>
 
-    <p>A <span>script settings object</span>, various settings that are shared with other scripts in
+    <p>An <span>environment settings object</span>, various settings that are shared with other scripts in
     the same context.</p>
 
    </dd>
@@ -84550,7 +84550,7 @@
 
   <hr>
 
-  <p>A <dfn>script settings object</dfn> specifies algorithms for obtaining the following:</p>
+  <p>An <dfn>environment settings object</dfn> specifies algorithms for obtaining the following:</p>
 
   <dl>
 
@@ -84571,7 +84571,7 @@
    <dd>
 
     <p>An object that provides the APIs that can be called by the code in scripts that use this
-    <span data-x="script settings object">settings object</span>.</p>
+    <span data-x="environment settings object">settings object</span>.</p>
 
     <p class="note">This is typically a <code>Window</code> object or a
     <code>WorkerGlobalScope</code> object. When a <span>global object</span> is an empty object, it
@@ -84594,7 +84594,7 @@
    <dd>
 
     <p>A <span>browsing context</span> that is assigned responsibility for actions taken by the
-    scripts that use this <span>script settings object</span>.</p>
+    scripts that use this <span>environment settings object</span>.</p>
 
     <p class="example">When a script creates and <span data-x="navigate">navigates</span> a new
     <span>top-level browsing context</span>, the <code data-x="dom-opener">opener</code> attribute
@@ -84608,7 +84608,7 @@
    <dd>
 
     <p>A <code>Document</code> that is assigned responsibility for actions taken by the scripts that
-    use this <span>script settings object</span>.</p>
+    use this <span>environment settings object</span>.</p>
 
     <p class="example">For example, the <span data-x="the document's address">address</span> of the
     <span>responsible document</span> is used to set the <span data-x="the document's
@@ -84641,7 +84641,7 @@
 
    <dd>
 
-    <p>A character encoding used to encode URLs by APIs called by scripts that use this <span>script
+    <p>A character encoding used to encode URLs by APIs called by scripts that use this <span>environment
     settings object</span>.</p>
 
    </dd>
@@ -84650,7 +84650,7 @@
 
    <dd>
 
-    <p>An <span>absolute URL</span> used by APIs called by scripts that use this <span>script
+    <p>An <span>absolute URL</span> used by APIs called by scripts that use this <span>environment
     settings object</span> to resolve <span data-x="relative URL">relative URLs</span>.</p>
 
    </dd>
@@ -84666,8 +84666,8 @@
   </dl>
 
   <p>The <dfn>relevant settings object for a global object</dfn> <var>o</var> is the
-  <span>script settings object</span> whose <span>global object</span> is <var>o</var>.
-  (There is always a 1:1 mapping of global objects to script settings objects.)</p>
+  <span>environment settings object</span> whose <span>global object</span> is <var>o</var>.
+  (There is always a 1:1 mapping of global objects to environment settings objects.)</p>
 
   <p>The <dfn>relevant settings object for a script</dfn> <var>s</var> is the
   <span>settings object</span> of <var>s</var>.</p>
@@ -84676,7 +84676,7 @@
 
   <h5>Script settings for browsing contexts</h5>
 
-  <p>Whenever a new <code>Window</code> object is created, it must also create a <span>script
+  <p>Whenever a new <code>Window</code> object is created, it must also create an <span>environment
   settings object</span> whose algorithms are defined as follows:</p>
 
   <dl>
@@ -84684,12 +84684,12 @@
    <dt>The <span data-x="script execution environment">script execution environments</span></dt>
    <dd>
 
-    <p>When the <span>script settings object</span> is created, for each language supported by the
+    <p>When the <span>environment settings object</span> is created, for each language supported by the
     user agent, create an appropriate execution environment as defined by the relevant
     specification.</p>
 
     <p>When a <span>script execution environment</span> is needed, return the appropriate one from
-    those created when the <span>script settings object</span> was created.</p>
+    those created when the <span>environment settings object</span> was created.</p>
 
    </dd>
 
@@ -84773,9 +84773,9 @@
   <h5>Calling scripts</h5>
 
   <p>Each <span>unit of related similar-origin browsing contexts</span> has a <dfn>stack of script
-  settings objects</dfn>, which must be initially empty. When a new <span>script settings
-  object</span> is <i>pushed</i> onto this stack, the specified <span>script settings object</span>
-  is to be added to the stack; when the <span>script settings object</span> on this stack that was
+  settings objects</dfn>, which must be initially empty. When a new <span>environment settings
+  object</span> is <i>pushed</i> onto this stack, the specified <span>environment settings object</span>
+  is to be added to the stack; when the <span>environment settings object</span> on this stack that was
   most recently pushed onto it is to be <i>popped</i> from the stack, it must be removed. Entries on
   this stack can be labeled as <dfn data-x="candidate entry settings object">candidate entry
   settings objects</dfn>.</p>
@@ -84789,7 +84789,7 @@
    <li><p>Let <var>context</var> be the <span>settings object</span> of <var>s</var>.</p></li>
 
    <li><p><span>Prepare to run a callback</span> with <var>context</var> as the
-   <span>script settings object</span>. If this returns "do not run" then abort these
+   <span>environment settings object</span>. If this returns "do not run" then abort these
    steps.</p></li>
 
    <li><p>Make the appropriate <span>script execution environment</span> specified by <var>context</var> execute the <var>s</var>'s <span>code
@@ -84799,7 +84799,7 @@
 
   </ol>
 
-  <p>The steps to <dfn>prepare to run a callback</dfn> with a <span>script settings object</span>
+  <p>The steps to <dfn>prepare to run a callback</dfn> with an <span>environment settings object</span>
   <var>o</var> are as follows. They return either "run" or "do not run".</p>
 
   <ol>
@@ -84845,7 +84845,7 @@
   the evaluation begins, and popped when the evaluation ends (regardless of whether it's an abrupt
   completion or not).</p>
 
-  <p>The <dfn>entry settings object</dfn> is the most-recently added <span>script settings
+  <p>The <dfn>entry settings object</dfn> is the most-recently added <span>environment settings
   object</span> in the <span>stack of script settings objects</span> that is labeled as a
   <span>candidate entry settings object</span>. If the stack is empty, or has no entries labeled as
   such, then there is no <span>entry settings object</span>. It is used to obtain, amongst other
@@ -84853,7 +84853,7 @@
   <span data-x="URL">URLs</span> used in scripts running in that <span>unit of related
   similar-origin browsing contexts</span>.</p>
 
-  <p>The <dfn>incumbent settings object</dfn> is the <span>script settings object</span> in the
+  <p>The <dfn>incumbent settings object</dfn> is the <span>environment settings object</span> in the
   <span>stack of script settings objects</span> that was most-recently added (i.e. the last one on
   the stack). If the stack is empty, then there is no <span>incumbent settings object</span>. It is
   used in some security checks.</p>
@@ -84917,7 +84917,7 @@
 
   <p>When the specification says that a <span data-x="concept-script">script</span> is to be <dfn
   data-x="create a script">created</dfn>, given some script source, a script source URL, its
-  scripting language, a <span>script settings object</span>, and optionally a <var>muted
+  scripting language, an <span>environment settings object</span>, and optionally a <var>muted
   errors</var> flag, the user agent must run the following steps:</p>
 
   <ol>
@@ -84930,12 +84930,12 @@
    described a program that did nothing but return void.</p>
 
    <li><p>Obtain the appropriate <span>script execution environment</span> for the given scripting
-   language from the <span>script settings object</span> provided.</p></li>
+   language from the <span>environment settings object</span> provided.</p></li>
 
    <li><p>Parse/compile/initialise the source of the script using the <span>script execution
    environment</span>, as appropriate for the scripting language, and thus obtain <var>script</var>'s <span>code entry-point</span>.</p></li>
 
-   <li><p>Let <var>script</var>'s <span>settings object</span> be the <span>script
+   <li><p>Let <var>script</var>'s <span>settings object</span> be the <span>environment
    settings object</span> provided.</p></li>
 
    <li><p>If the <var>muted errors</var> flag was set, then set <var>script</var>'s <span>muted errors</span> flag.</p></li>
@@ -84948,7 +84948,7 @@
 
     <p>Otherwise, <span>report the error</span> for <var>script</var>, with the
     problematic position (line number and column number), using the <span>global object</span>
-    specified by the <span>script settings object</span> as the target. If the error is still <i
+    specified by the <span>environment settings object</span> as the target. If the error is still <i
     data-x="concept-error-nothandled">not handled</i> after this, then the error may be reported to
     the user.</p>
 
@@ -85934,7 +85934,7 @@
      <span>form owner</span>, let <var>form owner</var> be that <span>form owner</span>.
      Otherwise, let <var>form owner</var> be null.</p></li>
 
-     <li><p>Let <var>script settings</var> be the <span>script settings object</span>
+     <li><p>Let <var>script settings</var> be the <span>environment settings object</span>
      created for the <code>Window</code> object with which <var>document</var> is
      currently associated.</p></li>
 
@@ -86772,7 +86772,7 @@
     IDL prototypes in the JavaScript binding, including the <code>Document</code> object's
     prototype.)</p>
 
-    <p class="note">The new <code>Window</code> object has a new <span>script settings
+    <p class="note">The new <code>Window</code> object has a new <span>environment settings
     object</span>.</p>
 
    </li>
@@ -87268,13 +87268,13 @@
 
          <li><p>Let <var>script language</var> be JavaScript.</p></li>
 
-         <li><p>Let <var>settings object</var> be <var>method context</var>'s <span>script settings
+         <li><p>Let <var>settings object</var> be <var>method context</var>'s <span>environment settings
          object</span>.</p></li>
 
          <li><p><span>Create a script</span> using <var>script source</var> as the script source,
          the <span>URL</span> where <var>script source</var> can be found, <var>scripting
          language</var> as the scripting language, and <var>settings object</var> as the
-         <span>script settings object</span>.</p></li>
+         <span>environment settings object</span>.</p></li>
 
         </ol>
 
@@ -91965,7 +91965,7 @@
 
     <ol>
 
-     <li><p>Let <var>new owner</var> be the <span>script settings object</span> of the
+     <li><p>Let <var>new owner</var> be the <span>environment settings object</span> of the
      <code>Window</code> object on which the method was invoked.</p></li>
 
      <li><p>For each object <var>x</var> in <var>transfer</var> in turn, obtain
@@ -93817,7 +93817,7 @@
   <h4>Processing model</h4>
 
   <p>When a user agent is to <dfn>run a worker</dfn> for a script with <span>URL</span>
-  <var>url</var> and a <span>script settings object</span> <var>settings object</var>, it must run
+  <var>url</var> and an <span>environment settings object</span> <var>settings object</var>, it must run
   the following steps:</p>
 
   <ol>
@@ -94084,9 +94084,9 @@
 
   <h5>Script settings for workers</h5>
 
-  <p>When the user agent is required to <dfn>set up a worker script settings object</dfn>, given a
+  <p>When the user agent is required to <dfn>set up a worker environment settings object</dfn>, given a
   <var>worker global scope</var> and a <span>URL</span> <var>script
-  address</var>, it must run the following steps:</p>
+  address</var> it must run the following steps:</p>
 
   <ol>
 
@@ -94104,7 +94104,7 @@
 
    <li>
 
-    <p>Let <var>settings object</var> be a new <span>script settings object</span> whose algorithms
+    <p>Let <var>settings object</var> be a new <span>environment settings object</span> whose algorithms
     are defined as follows:</p>
 
     <dl>
@@ -94112,12 +94112,12 @@
      <dt>The <span data-x="script execution environment">script execution environments</span></dt>
      <dd>
 
-      <p>When the <span>script settings object</span> is created, for each language supported by the
+      <p>When the <span>environment settings object</span> is created, for each language supported by the
       user agent, create an appropriate execution environment as defined by the relevant
       specification.</p>
 
       <p>When a <span>script execution environment</span> is needed, return the appropriate one from
-      those created when the <span>script settings object</span> was created.</p>
+      those created when the <span>environment settings object</span> was created.</p>
 
       <p class="note">Currently, workers only support JavaScript, so only a JavaScript execution
       environment is actually needed here.</p>
@@ -94282,7 +94282,7 @@
    <li><p>Create a new <code>DedicatedWorkerGlobalScope</code> object. Let <var>worker global
    scope</var> be this new object.</p></li>
 
-   <li><p><span>Set up a worker script settings object</span> with <var>worker global scope</var>
+   <li><p><span>Set up a worker environment settings object</span> with <var>worker global scope</var>
    and <var>worker URL</var>, and let <var>settings object</var> be the result.</p></li>
 
    <li><p>Create a new <code>Worker</code> object, associated with <var>worker global scope</var>.
@@ -94324,7 +94324,7 @@
    <span>incumbent settings object</span>.</p></li>
 
    <li><p><span>Run a worker</span> for the script with <span>URL</span> <var>worker URL</var> and
-   the <span>script settings object</span> <var>settings object</var>.</p></li>
+   the <span>environment settings object</span> <var>settings object</var>.</p></li>
 
   </ol>
 
@@ -94407,7 +94407,7 @@
       <code>SharedWorkerGlobalScope</code> object whose <span
       data-x="dom-WorkerGlobalScope-closing">closing</span> flag is false, whose <code
       data-x="dom-SharedWorkerGlobalScope-name">name</code> attribute is exactly equal to
-      <var>name</var>, and that is the <span>global object</span> specified by a <span>script
+      <var>name</var>, and that is the <span>global object</span> specified by an <span>environment
       settings object</span> that specifies as its <span>origin</span> the <span>same origin</span>
       as the <span>origin</span> of <var>scriptURL</var>, then let <var>worker global scope</var> be
       that <code>SharedWorkerGlobalScope</code> object.</p>
@@ -94450,7 +94450,7 @@
        <li><p>Associate <var>worker</var> with <var>worker global
        scope</var>.</p></li>
 
-       <li><p>Let <var>settings object</var> be the <span>script settings object</span>
+       <li><p>Let <var>settings object</var> be the <span>environment settings object</span>
        whose <span>global object</span> is <var>worker global scope</var>.</p></li>
 
        <li><p><span>Create a new <code>MessagePort</code> object</span> whose <span
@@ -94501,7 +94501,7 @@
      <li><p>Create a new <code>SharedWorkerGlobalScope</code> object. Let <var>worker
      global scope</var> be this new object.</p></li>
 
-     <li><p><span>Set up a worker script settings object</span> with <var>worker global
+     <li><p><span>Set up a worker environment settings object</span> with <var>worker global
      scope</var> and <var>scriptURL</var>, and let <var>settings object</var> be
      the result.</p></li>
 
@@ -94554,7 +94554,7 @@
    <li>
 
     <p><span>Run a worker</span> for the script with <span>URL</span> <var>scriptURL</var>
-    and the <span>script settings object</span> <var>settings object</var>.</p>
+    and the <span>environment settings object</span> <var>settings object</var>.</p>
 
    </li>
 
@@ -94628,7 +94628,7 @@
 
       <p><span>Create a script</span> using <var>source</var> as the script source, the
       <span>URL</span> from which <var>source</var> was obtained, <var>language</var> as the scripting language, and <var>settings object</var> as
-      the <span>script settings object</span>.</p>
+      the <span>environment settings object</span>.</p>
 
       <p>If the script came from a resource whose <span>URL</span> does not have the <span>same
       origin</span> as the <span>origin</span> specified by the <span>incumbent settings



More information about the Commit-Watchers mailing list