Skip to content

Commit

Permalink
[] (0) Block window.frames access cross-process, since that would hav…
Browse files Browse the repository at this point in the history
…e to be synchronous.

git-svn-id: http://svn.whatwg.org/webapps@3694 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 29, 2009
1 parent b1f0c94 commit 06a9756
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 10 deletions.
15 changes: 10 additions & 5 deletions index
Expand Up @@ -47011,14 +47011,19 @@ interface <dfn id=window>Window</dfn> {
<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
Expand Down
17 changes: 12 additions & 5 deletions source
Expand Up @@ -53140,15 +53140,22 @@ interface <dfn>Window</dfn> {
<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
Expand Down

0 comments on commit 06a9756

Please sign in to comment.