Merge Anne's change: Nov 07, 2012, Make the document response entity body null in a worker environment a
authorJungkee Song <jungkee.song@samsung.com>
Mon, 19 Nov 2012 17:28:38 +0900
changeset 99 c93fa4f3c46e
parent 98 b8a4c61796ec
child 100 62a656c4e8cb
Merge Anne's change: Nov 07, 2012, Make the document response entity body null in a worker environment a
Overview.html
Overview.src.html
--- a/Overview.html	Mon Nov 19 17:15:18 2012 +0900
+++ b/Overview.html	Mon Nov 19 17:28:38 2012 +0900
@@ -2265,6 +2265,11 @@
    <li><p>If the <a href="#response-entity-body">response entity body</a> is null, return null and
    terminate these steps.</li>
 
+   <li><p>If the
+   <a class="external" href="http://dev.w3.org/html5/spec/infrastructure.html#javascript-global-environment">JavaScript global environment</a> is a
+   <a class="external" href="http://dev.w3.org/html5/spec/webappapis.html#worker-environment">worker environment</a>, return null and
+   terminate these steps.
+
    <li><p>If <a href="#final-mime-type">final MIME type</a> is not null,
    <code>text/html</code>, <code>text/xml</code>,
    <code>application/xml</code>, or does not end in
@@ -2457,6 +2462,9 @@
     "<code title="">document</code>",
     "<code title="">json</code>", and
     "<code title="">text</code>".</p>
+    <p>When set: setting to "<code title="">document</code>" is ignored if the
+    <a class="external" href="http://dev.w3.org/html5/spec/infrastructure.html#javascript-global-environment">JavaScript global environment</a> is a
+    <a class="external" href="http://dev.w3.org/html5/spec/webappapis.html#worker-environment">worker environment</a>
     <p>When set: throws an
     "<code class="external"><a href="http://dev.w3.org/2006/webapi/DOM4Core/#invalidstateerror">InvalidStateError</a></code>" exception if the
     state is <a href="#dom-xmlhttprequest-loading" title="dom-XMLHttpRequest-LOADING">LOADING</a> or
@@ -2494,6 +2502,11 @@
    "<code class="external"><a href="http://dev.w3.org/2006/webapi/DOM4Core/#invalidaccesserror">InvalidAccessError</a></code>" exception and
    terminate these steps.
 
+   <li><p>If the
+   <a class="external" href="http://dev.w3.org/html5/spec/infrastructure.html#javascript-global-environment">JavaScript global environment</a> is a
+   <a class="external" href="http://dev.w3.org/html5/spec/webappapis.html#worker-environment">worker environment</a> and the given
+   value is "<code title="">document</code>", terminate these steps.
+
    <li><p>Set the
    <code title="dom-XMLHttpRequest-responseType"><a href="#dom-xmlhttprequest-responsetype">responseType</a></code>
    attribute's value to the given value.</li>
--- a/Overview.src.html	Mon Nov 19 17:15:18 2012 +0900
+++ b/Overview.src.html	Mon Nov 19 17:28:38 2012 +0900
@@ -2233,6 +2233,11 @@
    <li><p>If the <span>response entity body</span> is null, return null and
    terminate these steps.</p></li>
 
+   <li><p>If the
+   <span data-anolis-spec=html>JavaScript global environment</span> is a
+   <span data-anolis-spec=html>worker environment</span>, return null and
+   terminate these steps.
+
    <li><p>If <span>final MIME type</span> is not null,
    <code>text/html</code>, <code>text/xml</code>,
    <code>application/xml</code>, or does not end in
@@ -2425,6 +2430,9 @@
     "<code title>document</code>",
     "<code title>json</code>", and
     "<code title>text</code>".</p>
+    <p>When set: setting to "<code title>document</code>" is ignored if the
+    <span data-anolis-spec=html>JavaScript global environment</span> is a
+    <span data-anolis-spec=html>worker environment</span>
     <p>When set: throws an
     "<code data-anolis-spec=dom>InvalidStateError</code>" exception if the
     state is <span title="dom-XMLHttpRequest-LOADING">LOADING</span> or
@@ -2462,6 +2470,11 @@
    "<code data-anolis-spec=dom>InvalidAccessError</code>" exception and
    terminate these steps.
 
+   <li><p>If the
+   <span data-anolis-spec=html>JavaScript global environment</span> is a
+   <span data-anolis-spec=html>worker environment</span> and the given
+   value is "<code title>document</code>", terminate these steps.
+
    <li><p>Set the
    <code title="dom-XMLHttpRequest-responseType">responseType</code>
    attribute's value to the given value.</p></li>