Skip to content

Commit

Permalink
[giow] (1) Rename Navigator to WorkerNavigator in Workers.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@4425 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Dec 9, 2009
1 parent 5dc3513 commit 95346d9
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 53 deletions.
36 changes: 14 additions & 22 deletions complete.html
Original file line number Diff line number Diff line change
Expand Up @@ -887,7 +887,7 @@ <h2 class="no-num no-toc" id=status>Status of this document</h2>
<li><a href=#apis-available-to-workers><span class=secno>9.3 </span>APIs available to workers</a>
<ol>
<li><a href=#importing-scripts-and-libraries><span class=secno>9.3.1 </span>Importing scripts and libraries</a></li>
<li><a href=#the-navigator-object><span class=secno>9.3.2 </span>The <code title=worker-Navigator>Navigator</code> object</a></li>
<li><a href=#the-workernavigator-object><span class=secno>9.3.2 </span>The <code>WorkerNavigator</code> object</a></li>
<li><a href=#apis-defined-in-other-specifications><span class=secno>9.3.3 </span>APIs defined in other specifications</a></li>
<li><a href=#interface-objects-and-constructors><span class=secno>9.3.4 </span>Interface objects and constructors</a></li>
<li><a href=#worker-locations><span class=secno>9.3.5 </span>Worker locations</a></ol></ol></li>
Expand Down Expand Up @@ -64207,7 +64207,7 @@ <h3 id=apis-available-to-workers><span class=secno>9.3 </span>APIs available to
<pre class=idl>[Supplemental, NoInterfaceObject]
interface <dfn id=workerutils>WorkerUtils</dfn> {
void <a href=#dom-workerglobalscope-importscripts title=dom-WorkerGlobalScope-importScripts>importScripts</a>(in DOMString... urls);
readonly attribute <a href=#worker-navigator title=worker-Navigator>Navigator</a> <a href=#dom-worker-navigator title=dom-worker-navigator>navigator</a>;
readonly attribute <a href=#workernavigator>WorkerNavigator</a> <a href=#dom-worker-navigator title=dom-worker-navigator>navigator</a>;
};
<a href=#workerutils>WorkerUtils</a> implements <a href=#windowtimers>WindowTimers</a>;</pre>

Expand Down Expand Up @@ -64303,33 +64303,25 @@ <h4 id=importing-scripts-and-libraries><span class=secno>9.3.1 </span>Importing

</ol></li>

</ol><h4 id=the-navigator-object><span class=secno>9.3.2 </span>The <code title=worker-Navigator><a href=#worker-navigator>Navigator</a></code> object</h4>
</ol><h4 id=the-workernavigator-object><span class=secno>9.3.2 </span>The <code><a href=#workernavigator>WorkerNavigator</a></code> object</h4>

<p>The <dfn id=dom-worker-navigator title=dom-worker-navigator><code>navigator</code></dfn> attribute
of the <code><a href=#workerutils>WorkerUtils</a></code> interface must return an instance of
the <code title=worker-Navigator><a href=#worker-navigator>Navigator</a></code> interface, which
represents the identity and state of the user agent (the
client):</p>
the <code><a href=#workernavigator>WorkerNavigator</a></code> interface, which represents the
identity and state of the user agent (the client):</p>

<pre class=idl>interface <dfn id=worker-navigator title=worker-Navigator>Navigator</dfn> {};
<a href=#worker-navigator title=worker-Navigator>Navigator</a> implements <a href=#navigatorid>NavigatorID</a>;
<a href=#worker-navigator title=worker-Navigator>Navigator</a> implements <a href=#navigatoronline>NavigatorOnLine</a>;</pre>
<pre class=idl>interface <dfn id=workernavigator>WorkerNavigator</dfn> {};
<a href=#workernavigator>WorkerNavigator</a> implements <a href=#navigatorid>NavigatorID</a>;
<a href=#workernavigator>WorkerNavigator</a> implements <a href=#navigatoronline>NavigatorOnLine</a>;</pre>

<p>Objects implementing the <code title=worker-Navigator><a href=#worker-navigator>Navigator</a></code> interface also implement
the <code><a href=#navigatorid>NavigatorID</a></code> and <code><a href=#navigatoronline>NavigatorOnLine</a></code>
interfaces.
<p>Objects implementing the <code><a href=#workernavigator>WorkerNavigator</a></code> interface
also implement the <code><a href=#navigatorid>NavigatorID</a></code> and
<code><a href=#navigatoronline>NavigatorOnLine</a></code> interfaces.
</p>

<p class=note>The <code title=worker-Navigator><a href=#worker-navigator>Navigator</a></code>
interface defined here is different than <a href=#navigator title=Navigator>the
one</a> that exists on the <code><a href=#window>Window</a></code> object as the
<code title=dom-navigator><a href=#dom-navigator>navigator</a></code> property.</p>


<p>This <code title=worker-Navigator><a href=#worker-navigator>Navigator</a></code> interface
must not exist if the interface's <span>relevant namespace
object</span> is a <code><a href=#window>Window</a></code> object, where it would
otherwise clash with the other <code><a href=#navigator>Navigator</a></code> interface. <a href=#refsWEBIDL>[WEBIDL]</a></p>
<p>This <code><a href=#workernavigator>WorkerNavigator</a></code> interface must not exist if the
interface's <span>relevant namespace object</span> is a
<code><a href=#window>Window</a></code> object. <a href=#refsWEBIDL>[WEBIDL]</a></p>



Expand Down
46 changes: 15 additions & 31 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -73210,7 +73210,7 @@ interface <dfn>SharedWorker</dfn> : <span>AbstractWorker</span> {
<pre class="idl">[Supplemental, NoInterfaceObject]
interface <dfn>WorkerUtils</dfn> {
void <span title="dom-WorkerGlobalScope-importScripts">importScripts</span>(in DOMString... urls);
readonly attribute <span title="worker-Navigator">Navigator</span> <span title="dom-worker-navigator">navigator</span>;
readonly attribute <span>WorkerNavigator</span> <span title="dom-worker-navigator">navigator</span>;
};
<span>WorkerUtils</span> implements <span>WindowTimers</span>;</pre>

Expand Down Expand Up @@ -73323,45 +73323,29 @@ interface <dfn>WorkerUtils</dfn> {
</ol>


<h4>The <code title="worker-Navigator">Navigator</code> object</h4>
<h4>The <code>WorkerNavigator</code> object</h4>

<p>The <dfn
title="dom-worker-navigator"><code>navigator</code></dfn> attribute
of the <code>WorkerUtils</code> interface must return an instance of
the <code title="worker-Navigator">Navigator</code> interface, which
represents the identity and state of the user agent (the
client):</p>

<pre class="idl">interface <dfn title="worker-Navigator">Navigator</dfn> {};
<span title="worker-Navigator">Navigator</span> implements <span>NavigatorID</span>;
<span title="worker-Navigator">Navigator</span> implements <span>NavigatorOnLine</span>;</pre>

<p>Objects implementing the <code
title="worker-Navigator">Navigator</code> interface also implement
the <code>NavigatorID</code> and <code>NavigatorOnLine</code>
interfaces.
the <code>WorkerNavigator</code> interface, which represents the
identity and state of the user agent (the client):</p>

<pre class="idl">interface <dfn>WorkerNavigator</dfn> {};
<span>WorkerNavigator</span> implements <span>NavigatorID</span>;
<span>WorkerNavigator</span> implements <span>NavigatorOnLine</span>;</pre>

<p>Objects implementing the <code>WorkerNavigator</code> interface
also implement the <code>NavigatorID</code> and
<code>NavigatorOnLine</code> interfaces.
<!--END complete-->
<a href="#refsHTML5">[HTML5]</a>
<!--START complete-->
</p>

<!--END complete-->
<p class="note">The <code title="worker-Navigator">Navigator</code>
interface defined in this specification is different than the one
defined in the HTML specification.</p>
<!--END workers-->
<!--START complete-->
<p class="note">The <code title="worker-Navigator">Navigator</code>
interface defined here is different than <span title="Navigator">the
one</span> that exists on the <code>Window</code> object as the
<code title="dom-navigator">navigator</code> property.</p>
<!--START workers-->

<p>This <code title="worker-Navigator">Navigator</code> interface
must not exist if the interface's <span>relevant namespace
object</span> is a <code>Window</code> object, where it would
otherwise clash with the other <code>Navigator</code> interface. <a
href="#refsWEBIDL">[WEBIDL]</a></p>
<p>This <code>WorkerNavigator</code> interface must not exist if the
interface's <span>relevant namespace object</span> is a
<code>Window</code> object. <a href="#refsWEBIDL">[WEBIDL]</a></p>



Expand Down

0 comments on commit 95346d9

Please sign in to comment.