Skip to content
Permalink
Browse files

[e] (0) Add more cross references to the new 'concept-window-document…

…' thing, and clean up <frameset>'s event definitions (I always forget to update that when I'm updating <body>'s...).

Affected topics: DOM APIs, HTML, Security

git-svn-id: http://svn.whatwg.org/webapps@8097 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed Jul 27, 2013
1 parent 4f74d77 commit e30c73b02004ab83fda59d55e7a6d8b2057f3b3b
Showing with 35 additions and 78 deletions.
  1. +12 −25 complete.html
  2. +12 −25 index
  3. +11 −28 source
IDL attributes must all return the <code><a href=#window>Window</a></code> object's <a href=#browsing-context>browsing context</a>'s
<code><a href=#windowproxy>WindowProxy</a></code> object.</p>

<p>The <dfn id=dom-document-0 title=dom-document><code>document</code></dfn> IDL attribute must return the
<code><a href=#window>Window</a></code> object's <code><a href=#document>Document</a></code> object.</p>
<p>The <dfn id=dom-document-0 title=dom-document><code>document</code></dfn> IDL attribute must return
<a href=#concept-document-window title=concept-document-window>the <code>Window</code> object's newest <code>Document</code> object</a>.</p>

<p>The <dfn id=dom-document-defaultview title=dom-document-defaultView><code>defaultView</code></dfn> IDL attribute of the
<code><a href=#document>Document</a></code> interface must return the <code><a href=#document>Document</a></code>'s <a href=#browsing-context>browsing
<p id=security-2>User agents must throw a <code><a href=#securityerror>SecurityError</a></code> exception whenever any
properties of a <code><a href=#window>Window</a></code> object are accessed when the <a href=#incumbent-script>incumbent script</a> has
an <a href=#effective-script-origin>effective script origin</a> that is not the <a href=#same-origin title="same origin">same</a> as
the <code><a href=#window>Window</a></code> object's <code><a href=#document>Document</a></code>'s <a href=#effective-script-origin>effective script origin</a>,
<a href=#concept-document-window title=concept-document-window>the <code>Window</code> object's <code>Document</code></a>'s <a href=#effective-script-origin>effective script origin</a>,
with the following exceptions:</p>

<ul><li>The <code title=dom-location><a href=#dom-location>location</a></code> attribute
<li>The <a href=#dynamic-nested-browsing-context-properties>dynamic nested browsing context properties</a>

</ul><p>When the <a href=#incumbent-script>incumbent script</a>'s <a href=#effective-script-origin>effective script origin</a> is different than
a <code><a href=#window>Window</a></code> object's <code><a href=#document>Document</a></code>'s <a href=#effective-script-origin>effective script origin</a>, the
a <a href=#concept-document-window title=concept-document-window><code>Window</code> object's <code>Document</code></a>'s <a href=#effective-script-origin>effective script origin</a>, the
user agent must act as if any changes to that <code><a href=#window>Window</a></code> object's properties, getters,
setters, etc, were not present, and as if all the properties of that <code><a href=#window>Window</a></code> object
had their [[Enumerable]] attribute set to false.</p>
browsing context name</a>, then the user agent must instead <a href=#queue-a-task>queue a task</a> to
<a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-load>load</code> at the selected
<a href=#browsing-context>browsing context</a>'s <code><a href=#window>Window</a></code> object, but with its <code title=dom-event-target><a href=#dom-event-target>target</a></code> set to the selected <a href=#browsing-context>browsing context</a>'s
<code><a href=#window>Window</a></code> object's <code><a href=#document>Document</a></code> object (and the <code title=dom-event-currentTarget>currentTarget</code> set to the <code><a href=#window>Window</a></code> object).</p>
<a href=#concept-document-window title=concept-document-window><code>Window</code> object's <code>Document</code></a> object (and the <code title=dom-event-currentTarget>currentTarget</code> set to the <code><a href=#window>Window</a></code> object).</p>

<p>The method must return the <code><a href=#windowproxy>WindowProxy</a></code> object of the <a href=#browsing-context>browsing context</a>
that was navigated, or null if no browsing context was navigated.</p>
<p>The <dfn id=dom-history title=dom-history><code>history</code></dfn> attribute
of the <code><a href=#window>Window</a></code> interface must return the object
implementing the <code><a href=#history-0>History</a></code> interface for that
<code><a href=#window>Window</a></code> object's <code><a href=#document>Document</a></code>.</p>
<a href=#concept-document-window title=concept-document-window><code>Window</code> object's newest <code>Document</code></a>.</p>

</div>

by <code><a href=#window>Window</a></code> objects, as <a href=#event-handler-idl-attributes>event handler IDL attributes</a> on the
<code><a href=#window>Window</a></code> objects themselves, and with corresponding <a href=#event-handler-content-attributes>event handler content
attributes</a> and <a href=#event-handler-idl-attributes>event handler IDL attributes</a> exposed on all <code><a href=#the-body-element>body</a></code> and
<code><a href=#frameset>frameset</a></code> elements that are owned by that <code><a href=#window>Window</a></code> object's <code><a href=#document>Document</a></code>s:</p>
<code><a href=#frameset>frameset</a></code> elements that are owned by <a href=#concept-document-window title=concept-document-window>that <code>Window</code> object's <code>Document</code>s</a>:</p>

<table><thead><tr><th><a href=#event-handlers title="event handlers">Event handler</a> <th><a href=#event-handler-event-type>Event handler event type</a>
<tbody><tr><td><dfn id=handler-window-onafterprint title=handler-window-onafterprint><code>onafterprint</code></dfn> <td> <code title=event-afterprint>afterprint</code>
:root:lang(xog), :not(:lang(xog)) &gt; :lang(xog) { quotes: '\201c' '\201d' '\2018' '\2019' } /* &ldquo; &rdquo; &lsquo; &rsquor; */
:root:lang(yav), :not(:lang(yav)) &gt; :lang(yav) { quotes: '\00ab' '\00bb' '\00ab' '\00bb' } /* &laquo; &raquo; &laquo; &raquo; */
:root:lang(yo), :not(:lang(yo)) &gt; :lang(yo) { quotes: '\201c' '\201d' '\2018' '\2019' } /* &ldquo; &rdquo; &lsquo; &rsquor; */
:root:lang(zgh), :not(:lang(zgh)) &gt; :lang(zgh) { quotes: '\00ab' '\00bb' '\201e' '\201d' } /* &laquo; &raquo; &ldquor; &rdquo; */
:root:lang(zh), :not(:lang(zh)) &gt; :lang(zh) { quotes: '\201c' '\201d' '\2018' '\2019' } /* &ldquo; &rdquo; &lsquo; &rsquor; */
:root:lang(zh-Hant), :not(:lang(zh-Hant)) &gt; :lang(zh-Hant) { quotes: '\300c' '\300d' '\300e' '\300f' } /* &#x300c; &#x300d; &#x300e; &#x300f; */
:root:lang(zu), :not(:lang(zu)) &gt; :lang(zu) { quotes: '\201c' '\201d' '\2018' '\2019' } /* &ldquo; &rdquo; &lsquo; &rsquor; */
<p>The <dfn id=dom-frameset-cols title=dom-frameset-cols><code>cols</code></dfn> and <dfn id=dom-frameset-rows title=dom-frameset-rows><code>rows</code></dfn> IDL attributes of the <code><a href=#frameset>frameset</a></code>
element must <a href=#reflect>reflect</a> the respective content attributes of the same name.</p>

<p>The <code><a href=#frameset>frameset</a></code> element must support the following <a href=#event-handler-content-attributes>event handler content
attributes</a> exposing the <a href=#event-handlers>event handlers</a> of the <code><a href=#window>Window</a></code> object:</p>

<ul class=brief><li><code title=handler-window-onafterprint><a href=#handler-window-onafterprint>onafterprint</a></code></li>
<li><code title=handler-window-onbeforeprint><a href=#handler-window-onbeforeprint>onbeforeprint</a></code></li>
<li><code title=handler-window-onbeforeunload><a href=#handler-window-onbeforeunload>onbeforeunload</a></code></li>
<li><code title=handler-window-onhashchange><a href=#handler-window-onhashchange>onhashchange</a></code></li>
<li><code title=handler-window-onmessage><a href=#handler-window-onmessage>onmessage</a></code></li>
<li><code title=handler-window-onoffline><a href=#handler-window-onoffline>onoffline</a></code></li>
<li><code title=handler-window-ononline><a href=#handler-window-ononline>ononline</a></code></li>
<li><code title=handler-window-onpagehide><a href=#handler-window-onpagehide>onpagehide</a></code></li>
<li><code title=handler-window-onpageshow><a href=#handler-window-onpageshow>onpageshow</a></code></li>
<li><code title=handler-window-onpopstate><a href=#handler-window-onpopstate>onpopstate</a></code></li>
<li><code title=handler-window-onresize><a href=#handler-window-onresize>onresize</a></code></li>
<li><code title=handler-window-onstorage><a href=#handler-window-onstorage>onstorage</a></code></li>
<li><code title=handler-window-onunload><a href=#handler-window-onunload>onunload</a></code></li>
</ul><p>The DOM interface also exposes <a href=#event-handler-idl-attributes>event handler IDL attributes</a> that mirror those on
the <code><a href=#window>Window</a></code> element.</p>
<p>The <code><a href=#frameset>frameset</a></code> element exposes as <a href=#event-handler-content-attributes>event handler
content attributes</a> a number of the <a href=#event-handlers>event
handlers</a> of the <code><a href=#window>Window</a></code> object. It also mirrors
their <a href=#event-handler-idl-attributes>event handler IDL attributes</a>.</p>

<p>The <code title=handler-onblur><a href=#handler-onblur>onblur</a></code>, <code title=handler-onerror><a href=#handler-onerror>onerror</a></code>, <code title=handler-onfocus><a href=#handler-onfocus>onfocus</a></code>, <code title=handler-onload><a href=#handler-onload>onload</a></code>,
and <code title=handler-onscroll><a href=#handler-onscroll>onscroll</a></code> <a href=#event-handlers>event handlers</a> of the

0 comments on commit e30c73b

Please sign in to comment.
You can’t perform that action at this time.