Skip to content

Commit

Permalink
ServiceWorkerContainer's ready service worker registration is not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
jungkees committed Oct 16, 2014
1 parent 37026a5 commit 485e0f1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions spec/service_worker/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -391,8 +391,6 @@ <h1><code>ServiceWorkerContainer</code></h1>

<p>A <code><a href="#service-worker-container-interface" title="ServiceWorkerContainer">ServiceWorkerContainer</a></code> object has an associated <dfn id="dfn-ready-promise">ready promise</dfn> (a <a href="http://goo.gl/3TobQS">promise</a>). It is initially set to null.</p>

<p>A <code><a href="#service-worker-container-interface" title="ServiceWorkerContainer">ServiceWorkerContainer</a></code> object has an associated <dfn id="dfn-ready-service-worker-registration">ready service worker registration</dfn> (a <a href="#dfn-service-worker-registration">service worker registration</a>). It is initially set to null.</p>

<spec-section id="navigator-service-worker-controller">
<h1><code>controller</code></h1>

Expand All @@ -410,7 +408,7 @@ <h1><code>ready</code></h1>
<li>Set the <a href="http://dom.spec.whatwg.org/#context-object">context object</a>'s <a href="#dfn-ready-promise">ready promise</a> to a new <a href="http://goo.gl/3TobQS">promise</a>.</li>
</ol>
</li>
<li>If the <a href="http://dom.spec.whatwg.org/#context-object">context object</a>'s <a href="#dfn-ready-service-worker-registration">ready service worker registration</a> is not null, and the <a href="http://dom.spec.whatwg.org/#context-object">context object</a>'s <a href="#dfn-ready-promise">ready promise</a> is settled, then:
<li>If the <a href="http://dom.spec.whatwg.org/#context-object">context object</a>'s <a href="#dfn-ready-promise">ready promise</a> is settled, then:
<ol>
<li>Return the <a href="http://dom.spec.whatwg.org/#context-object">context object</a>'s <a href="#dfn-ready-promise">ready promise</a>.</li>
</ol>
Expand Down

0 comments on commit 485e0f1

Please sign in to comment.