[html5] r3723 - [] (0) Make it possible to create a shared worker based only on the URL, not the [...]
whatwg at whatwg.org
whatwg at whatwg.org
Tue Sep 1 16:47:22 PDT 2009
Author: ianh
Date: 2009-09-01 16:47:21 -0700 (Tue, 01 Sep 2009)
New Revision: 3723
Modified:
index
source
Log:
[] (0) Make it possible to create a shared worker based only on the URL, not the name.
Modified: index
===================================================================
--- index 2009-08-31 10:12:50 UTC (rev 3722)
+++ index 2009-09-01 23:47:21 UTC (rev 3723)
@@ -71,7 +71,7 @@
<div class=head>
<p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
<h1>HTML5</h1>
- <h2 class="no-num no-toc" id=draft-standard-—-31-august-2009>Draft Standard — 31 August 2009</h2>
+ <h2 class="no-num no-toc" id=draft-standard-—-1-september-2009>Draft Standard — 1 September 2009</h2>
<p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
Modified: source
===================================================================
--- source 2009-08-31 10:12:50 UTC (rev 3722)
+++ source 2009-09-01 23:47:21 UTC (rev 3723)
@@ -69786,8 +69786,8 @@
resulting <span>absolute URL</span>.</p></li>
<li><p>Let <var title="">name</var> be the value of the second
- argument, or the value of <var title="">scriptURL</var>, if the
- second argument was omitted.</p></li>
+ argument, or the empty string if the second argument was
+ omitted.</p></li>
<li><p>If the <span>origin</span> of <var title="">scriptURL</var>
is not the <span title="same origin">same</span> as the origin of
@@ -69824,23 +69824,37 @@
title="dom-SharedWorker-port">port</code> attribute of <var
title="">worker</var>.</p></li>
+ <li><p>Let <var title="">worker global scope</var> be
+ null.</p></li>
+
+ <li><p>If <var title="">name</var> is not the empty string and
+ there exists a <code>SharedWorkerGlobalScope</code> object whose
+ <span title="dom-WorkerGlobalScope-closing">closing</span> flag
+ is false, whose <code
+ title="dom-WorkerGlobalScope-name">name</code> attribute is
+ exactly equal to <var title="">name</var>, and whose <code
+ title="dom-WorkerGlobalScope-location">location</code> attribute
+ represents an <span>absolute URL</span> with the <span>same
+ origin</span> as <var title="">scriptURL</var>, then let <var
+ title="">worker global scope</var> be that
+ <code>SharedWorkerGlobalScope</code> object.</p></li>
+
+ <li><p>Otherwise, if <var title="">name</var> is the empty string
+ and there exists a <code>SharedWorkerGlobalScope</code> object
+ whose <span title="dom-WorkerGlobalScope-closing">closing</span>
+ flag is false, and whose <code
+ title="dom-WorkerGlobalScope-location">location</code> attribute
+ is exactly equal to <var title="">scriptURL</var>, then let <var
+ title="">worker global scope</var> be that
+ <code>SharedWorkerGlobalScope</code> object.</p></li>
+
<li>
- <p>If there exists a <code>SharedWorkerGlobalScope</code> object
- whose <span title="dom-WorkerGlobalScope-closing">closing</span>
- flag is false, whose <code
- title="dom-WorkerGlobalScope-name">name</code> attribute is
- exactly equal to <var title="">name</var>, and whose <code
- title="dom-WorkerGlobalScope-location">location</code> attribute
- represents an <span>absolute URL</span> with the <span>same
- origin</span> as <var title="">scriptURL</var>, then run these
- substeps:</p>
+ <p>If <var title="">worker global scope</var> is not null, then
+ run these steps:</p>
<ol>
- <li><p>Let <var title="">worker global scope</var> be that
- <code>SharedWorkerGlobalScope</code> object.</p></li>
-
<li><p>If <var title="">worker global scope</var>'s <code
title="dom-WorkerGlobalScope-location">location</code>
attribute represents an <span>absolute URL</span> that is not
More information about the Commit-Watchers
mailing list