Skip to content

Commit

Permalink
[e] (0) Make tutorial match actual requirements.
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=19491
Affected topics: HTML, Workers

git-svn-id: http://svn.whatwg.org/webapps@7663 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 29, 2013
1 parent d2bdbdd commit 4c9b03a
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 38 deletions.
20 changes: 7 additions & 13 deletions complete.html
Expand Up @@ -248,7 +248,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 28 January 2013</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 29 January 2013</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
Expand Down Expand Up @@ -80928,18 +80928,12 @@ <h5 id=shared-workers><span class=secno>9.1.3.3 </span>Shared workers</h5>

<p><i>This section is non-normative.</i></p>

<p>Shared workers are identified in one of two ways: either by the
URL of the script used to create it, or by explicit name. When
created by name, the URL used by the first page to create the worker
with that name is the URL of the script that will be used for that
worker. This allows multiple applications on a domain to all use a
single shared worker to provide a common service, without the
applications having to keep track of a common URL for the script
used to provide the service.</p>

<p class=note>In either case, shared workers are scoped by
<a href=#origin>origin</a>. Two different sites using the same names will
not collide.</p>
<p>Shared workers are identified by the URL of the script used to create it, optionally with an
explicit name. The name allows multiple instances of a particular shared worker to be started.</p>

<p>Shared workers are scoped by <a href=#origin>origin</a>. Two different sites using the same names will
not collide. However, if a page tries to use the same shared worker name as another page on the
same site, but with a different script URL, it will fail.</p>

<p>Creating shared workers is done using the <code title=dom-SharedWorker><a href=#dom-sharedworker>SharedWorker()</a></code> constructor. This
constructor takes the URL to the script to use for its first
Expand Down
20 changes: 7 additions & 13 deletions index
Expand Up @@ -248,7 +248,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 28 January 2013</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 29 January 2013</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
Expand Down Expand Up @@ -80928,18 +80928,12 @@ function _decrypt(k, s) {

<p><i>This section is non-normative.</i></p>

<p>Shared workers are identified in one of two ways: either by the
URL of the script used to create it, or by explicit name. When
created by name, the URL used by the first page to create the worker
with that name is the URL of the script that will be used for that
worker. This allows multiple applications on a domain to all use a
single shared worker to provide a common service, without the
applications having to keep track of a common URL for the script
used to provide the service.</p>

<p class=note>In either case, shared workers are scoped by
<a href=#origin>origin</a>. Two different sites using the same names will
not collide.</p>
<p>Shared workers are identified by the URL of the script used to create it, optionally with an
explicit name. The name allows multiple instances of a particular shared worker to be started.</p>

<p>Shared workers are scoped by <a href=#origin>origin</a>. Two different sites using the same names will
not collide. However, if a page tries to use the same shared worker name as another page on the
same site, but with a different script URL, it will fail.</p>

<p>Creating shared workers is done using the <code title=dom-SharedWorker><a href=#dom-sharedworker>SharedWorker()</a></code> constructor. This
constructor takes the URL to the script to use for its first
Expand Down
18 changes: 6 additions & 12 deletions source
Expand Up @@ -93857,18 +93857,12 @@ dictionary <dfn>DragEventInit</dfn> : <span>MouseEventInit</span> {

<!--END dev-html--><p><i>This section is non-normative.</i></p><!--START dev-html-->

<p>Shared workers are identified in one of two ways: either by the
URL of the script used to create it, or by explicit name. When
created by name, the URL used by the first page to create the worker
with that name is the URL of the script that will be used for that
worker. This allows multiple applications on a domain to all use a
single shared worker to provide a common service, without the
applications having to keep track of a common URL for the script
used to provide the service.</p>

<p class="note">In either case, shared workers are scoped by
<span>origin</span>. Two different sites using the same names will
not collide.</p>
<p>Shared workers are identified by the URL of the script used to create it, optionally with an
explicit name. The name allows multiple instances of a particular shared worker to be started.</p>

<p>Shared workers are scoped by <span>origin</span>. Two different sites using the same names will
not collide. However, if a page tries to use the same shared worker name as another page on the
same site, but with a different script URL, it will fail.</p>

<p>Creating shared workers is done using the <code
title="dom-SharedWorker">SharedWorker()</code> constructor. This
Expand Down

0 comments on commit 4c9b03a

Please sign in to comment.