Skip to content

Commit

Permalink
[giow] (0) Change the sort order for broadcast channel messages to be…
Browse files Browse the repository at this point in the history
… 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 e9c900c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 78 deletions.
31 changes: 6 additions & 25 deletions complete.html
Expand Up @@ -290,7 +290,7 @@
</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>
Expand Down Expand Up @@ -83516,30 +83516,11 @@ <h3 id=broadcasting-to-other-browsing-contexts><span class=secno>9.6 </span><dfn

<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>

Expand Down
31 changes: 6 additions & 25 deletions index
Expand Up @@ -290,7 +290,7 @@
</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>
Expand Down Expand Up @@ -83516,30 +83516,11 @@ interface <dfn id=broadcastchannel>BroadcastChannel</dfn> : <a href=#eventtarget

<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>

Expand Down
33 changes: 5 additions & 28 deletions source
Expand Up @@ -93796,34 +93796,11 @@ interface <dfn>BroadcastChannel</dfn> : <span>EventTarget</span> {

<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>

Expand Down

0 comments on commit e9c900c

Please sign in to comment.