workers/Overview.html 1.15 18 define base URLs and origins for workers.

define base URLs and origins for workers. (whatwg r18) (changed by: Ian
Hickson)

Diffs for this change per section: 
  the worker's ports
  http://people.w3.org/mike/diffs/html5/workers/Overview.1.15.html#the-workers0
  onunload
  http://people.w3.org/mike/diffs/html5/workers/Overview.1.15.html#onunload
  2.2 Base URLs and origins of workers
  http://people.w3.org/mike/diffs/html5/workers/Overview.1.15.html#base-urls
  2.6 Creating workers
  http://people.w3.org/mike/diffs/html5/workers/Overview.1.15.html#creating
  WindowWorkerCreators
  http://people.w3.org/mike/diffs/html5/workers/Overview.1.15.html#windowworkercreators
  2.5 Processing model
  http://people.w3.org/mike/diffs/html5/workers/Overview.1.15.html#processing
  run a worker
  http://people.w3.org/mike/diffs/html5/workers/Overview.1.15.html#run-a
  queue of events
  http://people.w3.org/mike/diffs/html5/workers/Overview.1.15.html#queue
  2.4 The worker's ports
  http://people.w3.org/mike/diffs/html5/workers/Overview.1.15.html#the-workers
  close()
  http://people.w3.org/mike/diffs/html5/workers/Overview.1.15.html#close
  2.3 The queue of events
  http://people.w3.org/mike/diffs/html5/workers/Overview.1.15.html#the-queue

Current content per affected section: 
  http://dev.w3.org/html5/workers/Overview.html#the-workers0
  http://dev.w3.org/html5/workers/Overview.html#onunload
  http://dev.w3.org/html5/workers/Overview.html#base-urls
  http://dev.w3.org/html5/workers/Overview.html#creating
  http://dev.w3.org/html5/workers/Overview.html#windowworkercreators
  http://dev.w3.org/html5/workers/Overview.html#processing
  http://dev.w3.org/html5/workers/Overview.html#run-a
  http://dev.w3.org/html5/workers/Overview.html#queue
  http://dev.w3.org/html5/workers/Overview.html#the-workers
  http://dev.w3.org/html5/workers/Overview.html#close
  http://dev.w3.org/html5/workers/Overview.html#the-queue

Previously published WD content per affected section: 
  http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#the-workers0
  http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#onunload
  http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#base-urls
  http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#creating
  http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#windowworkercreators
  http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#processing
  http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#run-a
  http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#queue
  http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#the-workers
  http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#close
  http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#the-queue

Cumulative diff: http://people.w3.org/mike/diffs/html5/workers/Overview.diff.html

http://dev.w3.org/cvsweb/html5/workers/Overview.html?r1=1.14&r2=1.15&f=h

http://html5.org/tools/web-apps-tracker?from=17&to=18

===================================================================
RCS file: /sources/public/html5/workers/Overview.html,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- Overview.html 18 Jul 2008 08:43:43 -0000 1.14
+++ Overview.html 18 Jul 2008 08:51:11 -0000 1.15
@@ -202,16 +202,19 @@
      <li><a href="#the-windowworker"><span class=secno>2.1 </span>The
       <code>WindowWorker</code> interface</a>
 
-     <li><a href="#the-queue"><span class=secno>2.2 </span>The queue of
+     <li><a href="#base-urls"><span class=secno>2.2 </span>Base URLs and
+      origins of workers</a>
+
+     <li><a href="#the-queue"><span class=secno>2.3 </span>The queue of
       events</a>
 
-     <li><a href="#the-workers"><span class=secno>2.3 </span>The worker's
+     <li><a href="#the-workers"><span class=secno>2.4 </span>The worker's
       ports</a>
 
-     <li><a href="#processing"><span class=secno>2.4 </span>Processing
+     <li><a href="#processing"><span class=secno>2.5 </span>Processing
       model</a>
 
-     <li><a href="#creating"><span class=secno>2.5 </span>Creating
+     <li><a href="#creating"><span class=secno>2.6 </span>Creating
       workers</a>
     </ul>
 
@@ -434,7 +437,21 @@
      href="#windowworker">WindowWorker</a></code> object.
   </dl>
 
-  <h3 id=the-queue><span class=secno>2.2 </span>The queue of events</h3>
+  <h3 id=base-urls><span class=secno>2.2 </span>Base URLs and origins of
+   workers</h3>
+
+  <p>The <span>base URL</span> of a <span>URL</span> passed to an API in a
+   worker is the <span>absolute URL</span> given by the value of the <a
+   href="#url" title=dom-WindowWorker-URL>URL attribute of the worker's
+   <code>WindowWorker</code> object.</a>
+
+  <p>The <span>origin</span> and <span>effective script origin</span> of
+   scripts running in workers are both the <span>origin</span> of the
+   <span>absolute URL</span> given by the value of the <a href="#url"
+   title=dom-WindowWorker-URL>URL attribute of the worker's
+   <code>WindowWorker</code> object.</a>
+
+  <h3 id=the-queue><span class=secno>2.3 </span>The queue of events</h3>
 
   <p>Each <code><a href="#windowworker">WindowWorker</a></code> object is
    asssociated with a <dfn id=queue>queue of events</dfn>, which is initially
@@ -455,7 +472,7 @@
    attribute is true, timers stop firing, notifications for all pending
    asynchronous operations are dropped, etc.
 
-  <h3 id=the-workers><span class=secno>2.3 </span>The worker's ports</h3>
+  <h3 id=the-workers><span class=secno>2.4 </span>The worker's ports</h3>
 
   <p>Workers communicate with other workers and with <span title="browsing
    context">browsing contexts</span> through <span title="channel
@@ -471,7 +488,7 @@
    objects that are in events pending in the <a href="#queue">queue of
    events</a>.
 
-  <h3 id=processing><span class=secno>2.4 </span>Processing model</h3>
+  <h3 id=processing><span class=secno>2.5 </span>Processing model</h3>
 
   <p>When a user agent is to <dfn id=run-a>run a worker</dfn> named <var
    title="">name</var> for a script with <span>URL</span> <var
@@ -741,7 +758,7 @@
     </ol>
   </ol>
 
-  <h3 id=creating><span class=secno>2.5 </span>Creating workers</h3>
+  <h3 id=creating><span class=secno>2.6 </span>Creating workers</h3>
 
   <pre
    class=idl>[NoInterfaceObject] interface <dfn id=windowworkercreators>WindowWorkerCreators</dfn> {

Received on Friday, 18 July 2008 08:52:39 UTC