Skip to content
Permalink
Browse files

[giow] (0) Change the sort order for broadcast channel messages to be…

… easier to implement

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=25414
Affected topics: DOM APIs

git-svn-id: http://svn.whatwg.org/webapps@8593 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed May 1, 2014
1 parent c350dad commit e9c900c668ac482411ef01f3e621ddc17793fbbb
Showing with 17 additions and 78 deletions.
  1. +6 −25 complete.html
  2. +6 −25 index
  3. +5 −28 source
</script><body onload=init()>
<header class="head with-buttons" id=head><p><a href=//www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 30 April 2014</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 1 May 2014</h2>
</hgroup><div>
<div>
<a href=//whatwg.org/html><span><strong>Multipage Version</strong> <code>whatwg.org/html</code></span></a>

<li>

<p>Sort <var title="">destinations</var> such that:</p>

<ul><li><p>All <code><a href=#broadcastchannel>BroadcastChannel</a></code> objects whose <a href=#broadcastchannel-settings-object title="BroadcastChannel settings
object"><code>BroadcastChannel</code> settings objects</a> specify the same
<a href=#responsible-document>responsible document</a> must be sorted in creation order, oldest first.</li>

<li><p>All <code><a href=#broadcastchannel>BroadcastChannel</a></code> objects whose <a href=#broadcastchannel-settings-object title="BroadcastChannel settings
object"><code>BroadcastChannel</code> settings objects</a> specify a <a href=#responsible-document>responsible
document</a> contained within a particular <a href=#top-level-browsing-context>top-level browsing context</a> must be
sorted in the same relative order as the order that those <code><a href=#document>Document</a></code> objects are
listed in the <a href=#list-of-the-descendant-browsing-contexts>list of the descendant browsing contexts</a> for the <a href=#active-document>active
document</a> of that <a href=#top-level-browsing-context>top-level browsing context</a>.</li>

<li><p>All <code><a href=#broadcastchannel>BroadcastChannel</a></code> objects whose <a href=#broadcastchannel-settings-object title="BroadcastChannel settings
object"><code>BroadcastChannel</code> settings objects</a> specify a <a href=#responsible-document>responsible
document</a> whose <a href=#top-level-browsing-context>top-level browsing context</a> is an <a href=#auxiliary-browsing-context>auxiliary browsing
context</a> <var title="">X</var> must come <em>after</em> the
<code><a href=#broadcastchannel>BroadcastChannel</a></code> objects whose <a href=#broadcastchannel-settings-object title="BroadcastChannel settings
object"><code>BroadcastChannel</code> settings objects</a> specify a <a href=#responsible-document>responsible
document</a> whose <a href=#top-level-browsing-context>top-level browsing context</a> is <var title="">X</var>'s
<a href=#opener-browsing-context>opener browsing context</a>.</p>

</ul><p>This does not define a complete ordering. Within the constraints described above, user agents
may sort the list in any user-agent defined manner.</p>
<p>Sort <var title="">destinations</var> such that all <code><a href=#broadcastchannel>BroadcastChannel</a></code> objects
whose <a href=#broadcastchannel-settings-object title="BroadcastChannel settings object"><code>BroadcastChannel</code> settings
objects</a> specify the same <a href=#responsible-event-loop>responsible event loop</a> are sorted in creation
order, oldest first. (This does not define a complete ordering. Within this constraint, user
agents may sort the list in any user-agent defined manner.)</p>

</li>

31 index
</script><body onload=init()>
<header class="head with-buttons" id=head><p><a href=//www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 30 April 2014</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 1 May 2014</h2>
</hgroup><div>
<div>
<a href=//whatwg.org/html><span><strong>Multipage Version</strong> <code>whatwg.org/html</code></span></a>

<li>

<p>Sort <var title="">destinations</var> such that:</p>

<ul><li><p>All <code><a href=#broadcastchannel>BroadcastChannel</a></code> objects whose <a href=#broadcastchannel-settings-object title="BroadcastChannel settings
object"><code>BroadcastChannel</code> settings objects</a> specify the same
<a href=#responsible-document>responsible document</a> must be sorted in creation order, oldest first.</li>

<li><p>All <code><a href=#broadcastchannel>BroadcastChannel</a></code> objects whose <a href=#broadcastchannel-settings-object title="BroadcastChannel settings
object"><code>BroadcastChannel</code> settings objects</a> specify a <a href=#responsible-document>responsible
document</a> contained within a particular <a href=#top-level-browsing-context>top-level browsing context</a> must be
sorted in the same relative order as the order that those <code><a href=#document>Document</a></code> objects are
listed in the <a href=#list-of-the-descendant-browsing-contexts>list of the descendant browsing contexts</a> for the <a href=#active-document>active
document</a> of that <a href=#top-level-browsing-context>top-level browsing context</a>.</li>

<li><p>All <code><a href=#broadcastchannel>BroadcastChannel</a></code> objects whose <a href=#broadcastchannel-settings-object title="BroadcastChannel settings
object"><code>BroadcastChannel</code> settings objects</a> specify a <a href=#responsible-document>responsible
document</a> whose <a href=#top-level-browsing-context>top-level browsing context</a> is an <a href=#auxiliary-browsing-context>auxiliary browsing
context</a> <var title="">X</var> must come <em>after</em> the
<code><a href=#broadcastchannel>BroadcastChannel</a></code> objects whose <a href=#broadcastchannel-settings-object title="BroadcastChannel settings
object"><code>BroadcastChannel</code> settings objects</a> specify a <a href=#responsible-document>responsible
document</a> whose <a href=#top-level-browsing-context>top-level browsing context</a> is <var title="">X</var>'s
<a href=#opener-browsing-context>opener browsing context</a>.</p>

</ul><p>This does not define a complete ordering. Within the constraints described above, user agents
may sort the list in any user-agent defined manner.</p>
<p>Sort <var title="">destinations</var> such that all <code><a href=#broadcastchannel>BroadcastChannel</a></code> objects
whose <a href=#broadcastchannel-settings-object title="BroadcastChannel settings object"><code>BroadcastChannel</code> settings
objects</a> specify the same <a href=#responsible-event-loop>responsible event loop</a> are sorted in creation
order, oldest first. (This does not define a complete ordering. Within this constraint, user
agents may sort the list in any user-agent defined manner.)</p>

</li>

33 source

<li>

<p>Sort <var data-x="">destinations</var> such that:</p>

<ul>

<li><p>All <code>BroadcastChannel</code> objects whose <span data-x="BroadcastChannel settings
object"><code>BroadcastChannel</code> settings objects</span> specify the same
<span>responsible document</span> must be sorted in creation order, oldest first.</p></li>

<li><p>All <code>BroadcastChannel</code> objects whose <span data-x="BroadcastChannel settings
object"><code>BroadcastChannel</code> settings objects</span> specify a <span>responsible
document</span> contained within a particular <span>top-level browsing context</span> must be
sorted in the same relative order as the order that those <code>Document</code> objects are
listed in the <span>list of the descendant browsing contexts</span> for the <span>active
document</span> of that <span>top-level browsing context</span>.</p></li>

<li><p>All <code>BroadcastChannel</code> objects whose <span data-x="BroadcastChannel settings
object"><code>BroadcastChannel</code> settings objects</span> specify a <span>responsible
document</span> whose <span>top-level browsing context</span> is an <span>auxiliary browsing
context</span> <var data-x="">X</var> must come <em>after</em> the
<code>BroadcastChannel</code> objects whose <span data-x="BroadcastChannel settings
object"><code>BroadcastChannel</code> settings objects</span> specify a <span>responsible
document</span> whose <span>top-level browsing context</span> is <var data-x="">X</var>'s
<span>opener browsing context</span>.</p>

</ul>

<p>This does not define a complete ordering. Within the constraints described above, user agents
may sort the list in any user-agent defined manner.</p>
<p>Sort <var data-x="">destinations</var> such that all <code>BroadcastChannel</code> objects
whose <span data-x="BroadcastChannel settings object"><code>BroadcastChannel</code> settings
objects</span> specify the same <span>responsible event loop</span> are sorted in creation
order, oldest first. (This does not define a complete ordering. Within this constraint, user
agents may sort the list in any user-agent defined manner.)</p>

</li>

0 comments on commit e9c900c

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