[html5] r3694 - [] (0) Block window.frames access cross-process, since that would have to be syn [...]

whatwg at whatwg.org whatwg at whatwg.org
Sat Aug 29 12:24:38 PDT 2009


Author: ianh
Date: 2009-08-29 12:24:36 -0700 (Sat, 29 Aug 2009)
New Revision: 3694

Modified:
   index
   source
Log:
[] (0) Block window.frames access cross-process, since that would have to be synchronous.

Modified: index
===================================================================
--- index	2009-08-29 00:53:55 UTC (rev 3693)
+++ index	2009-08-29 19:24:36 UTC (rev 3694)
@@ -47011,14 +47011,19 @@
   <p>The <dfn id=dom-length title=dom-length><code>length</code></dfn> DOM
   attribute on the <code><a href=#window>Window</a></code> interface must return the
   number of <a href=#child-browsing-context title="child browsing context">child browsing
-  contexts</a> of the <code>Document</code>.</p>
+  contexts</a> of the <a href=#active-document>active document</a> of that
+  <code><a href=#window>Window</a></code> object, if that <code><a href=#window>Window</a></code>'s
+  <a href=#browsing-context>browsing context</a> shares the same <a href=#event-loop>event
+  loop</a> as the <a href="#script's-browsing-context">script's browsing context</a> of the
+  <a href=#first-script>first script</a> accessing the DOM attribute; otherwise, it
+  must return zero.</p>
 
+  <!-- in other words, frames are only accessible to same-thread processes -->
+
   <p>The <span>indices of the supported indexed properties</span> on
   the <code><a href=#window>Window</a></code> object at any instant are the numbers in the
-  range 0 .. <span title=""><var title="">n</var>-1</span>, where <var title="">n</var> is the number of <a href=#child-browsing-context title="child browsing
-  context">child browsing contexts</a> of the
-  <code>Document</code>. If <var title="">n</var> is zero then there
-  are no <span>supported indexed properties</span>.</p>
+  range 0 .. <span title=""><var title="">n</var>-1</span>, where <var title="">n</var> is the number returned by the <code title=dom-length><a href=#dom-length>length</a></code> DOM attribute. If <var title="">n</var> is zero then there are no <span>supported indexed
+  properties</span>.</p>
 
   <p>When a <code><a href=#window>Window</a></code> object is <dfn id=dom-window-item title=dom-window-item>indexed to retrieve an indexed
   property</dfn> <var title="">index</var>, the value returned must be

Modified: source
===================================================================
--- source	2009-08-29 00:53:55 UTC (rev 3693)
+++ source	2009-08-29 19:24:36 UTC (rev 3694)
@@ -53140,15 +53140,22 @@
   <p>The <dfn title="dom-length"><code>length</code></dfn> DOM
   attribute on the <code>Window</code> interface must return the
   number of <span title="child browsing context">child browsing
-  contexts</span> of the <code>Document</code>.</p>
+  contexts</span> of the <span>active document</span> of that
+  <code>Window</code> object, if that <code>Window</code>'s
+  <span>browsing context</span> shares the same <span>event
+  loop</span> as the <span>script's browsing context</span> of the
+  <span>first script</span> accessing the DOM attribute; otherwise, it
+  must return zero.</p>
 
+  <!-- in other words, frames are only accessible to same-thread processes -->
+
   <p>The <span>indices of the supported indexed properties</span> on
   the <code>Window</code> object at any instant are the numbers in the
   range 0 .. <span title=""><var title="">n</var>-1</span>, where <var
-  title="">n</var> is the number of <span title="child browsing
-  context">child browsing contexts</span> of the
-  <code>Document</code>. If <var title="">n</var> is zero then there
-  are no <span>supported indexed properties</span>.</p>
+  title="">n</var> is the number returned by the <code
+  title="dom-length">length</code> DOM attribute. If <var
+  title="">n</var> is zero then there are no <span>supported indexed
+  properties</span>.</p>
 
   <p>When a <code>Window</code> object is <dfn
   title="dom-window-item">indexed to retrieve an indexed




More information about the Commit-Watchers mailing list