Skip to content

Commit

Permalink
Allow [Global] to take an identifier list.
Browse files Browse the repository at this point in the history
  • Loading branch information
heycam committed Jan 25, 2014
1 parent b38006c commit 3aa9313
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 32 deletions.
18 changes: 9 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<link rel="stylesheet" href="http://www.w3.org/StyleSheets/TR/W3C-ED" type="text/css" /></head>

<body>
<div class="head"><div><a href="http://www.w3.org/"><img src="http://www.w3.org/Icons/w3c_home" width="72" height="48" alt="W3C" /></a></div><h1>Web IDL (Second Edition)</h1><h2>W3C Editor’s Draft <em>24 January 2014</em></h2><dl><dt>This Version:</dt><dd><a href="http://heycam.github.io/webidl/">http://heycam.github.io/webidl/</a></dd><dt>Latest Version:</dt><dd><a href="http://www.w3.org/TR/WebIDL/">http://www.w3.org/TR/WebIDL/</a></dd><dt>Previous Versions:</dt><dd><a href="http://www.w3.org/TR/2012/CR-WebIDL-20120419/">http://www.w3.org/TR/2012/CR-WebIDL-20120419/</a></dd><dd><a href="http://www.w3.org/TR/2012/WD-WebIDL-20120207/">http://www.w3.org/TR/2012/WD-WebIDL-20120207/</a></dd><dd><a href="http://www.w3.org/TR/2011/WD-WebIDL-20110927/">http://www.w3.org/TR/2011/WD-WebIDL-20110927/</a></dd><dd><a href="http://www.w3.org/TR/2011/WD-WebIDL-20110712/">http://www.w3.org/TR/2011/WD-WebIDL-20110712/</a></dd><dd><a href="http://www.w3.org/TR/2010/WD-WebIDL-20101021/">http://www.w3.org/TR/2010/WD-WebIDL-20101021/</a></dd><dd><a href="http://www.w3.org/TR/2008/WD-WebIDL-20081219/">http://www.w3.org/TR/2008/WD-WebIDL-20081219/</a></dd><dd><a href="http://www.w3.org/TR/2008/WD-WebIDL-20080829/">http://www.w3.org/TR/2008/WD-WebIDL-20080829/</a></dd><dd><a href="http://www.w3.org/TR/2008/WD-DOM-Bindings-20080410/">http://www.w3.org/TR/2008/WD-DOM-Bindings-20080410/</a></dd><dd><a href="http://www.w3.org/TR/2007/WD-DOM-Bindings-20071017/">http://www.w3.org/TR/2007/WD-DOM-Bindings-20071017/</a></dd><dt>Participate:</dt><dd>
<div class="head"><div><a href="http://www.w3.org/"><img src="http://www.w3.org/Icons/w3c_home" width="72" height="48" alt="W3C" /></a></div><h1>Web IDL (Second Edition)</h1><h2>W3C Editor’s Draft <em>26 January 2014</em></h2><dl><dt>This Version:</dt><dd><a href="http://heycam.github.io/webidl/">http://heycam.github.io/webidl/</a></dd><dt>Latest Version:</dt><dd><a href="http://www.w3.org/TR/WebIDL/">http://www.w3.org/TR/WebIDL/</a></dd><dt>Previous Versions:</dt><dd><a href="http://www.w3.org/TR/2012/CR-WebIDL-20120419/">http://www.w3.org/TR/2012/CR-WebIDL-20120419/</a></dd><dd><a href="http://www.w3.org/TR/2012/WD-WebIDL-20120207/">http://www.w3.org/TR/2012/WD-WebIDL-20120207/</a></dd><dd><a href="http://www.w3.org/TR/2011/WD-WebIDL-20110927/">http://www.w3.org/TR/2011/WD-WebIDL-20110927/</a></dd><dd><a href="http://www.w3.org/TR/2011/WD-WebIDL-20110712/">http://www.w3.org/TR/2011/WD-WebIDL-20110712/</a></dd><dd><a href="http://www.w3.org/TR/2010/WD-WebIDL-20101021/">http://www.w3.org/TR/2010/WD-WebIDL-20101021/</a></dd><dd><a href="http://www.w3.org/TR/2008/WD-WebIDL-20081219/">http://www.w3.org/TR/2008/WD-WebIDL-20081219/</a></dd><dd><a href="http://www.w3.org/TR/2008/WD-WebIDL-20080829/">http://www.w3.org/TR/2008/WD-WebIDL-20080829/</a></dd><dd><a href="http://www.w3.org/TR/2008/WD-DOM-Bindings-20080410/">http://www.w3.org/TR/2008/WD-DOM-Bindings-20080410/</a></dd><dd><a href="http://www.w3.org/TR/2007/WD-DOM-Bindings-20071017/">http://www.w3.org/TR/2007/WD-DOM-Bindings-20071017/</a></dd><dt>Participate:</dt><dd>
Send feedback to <a href="mailto:public-script-coord@w3.org">public-script-coord@w3.org</a> or <a href="https://www.w3.org/Bugs/Public/enter_bug.cgi?product=WebAppsWG&amp;component=WebIDL">file a bug</a> (<a href="https://www.w3.org/Bugs/Public/buglist.cgi?product=WebAppsWG&amp;component=WebIDL&amp;resolution=---">open bugs</a>)
</dd><dt>Editor:</dt><dd><a href="http://mcc.id.au/">Cameron McCormack</a>, Mozilla Corporation &lt;cam@mcc.id.au&gt;</dd></dl><p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> &copy; 2014 <a href="http://www.w3.org/"><abbr title="World Wide Web Consortium">W3C</abbr></a><sup>&reg;</sup> (<a href="http://www.csail.mit.edu/"><abbr title="Massachusetts Institute of Technology">MIT</abbr></a>, <a href="http://www.ercim.eu/"><abbr title="European Research Consortium for Informatics and Mathematics">ERCIM</abbr></a>, <a href="http://www.keio.ac.jp/">Keio</a>, <a href="http://ev.buaa.edu.cn/">Beihang</a>), All Rights Reserved. W3C <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and <a href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a> rules apply.</p></div><hr /><script async="" src="file-bug.js"></script>

Expand Down Expand Up @@ -72,7 +72,7 @@ <h2 id="sotd">Status of This Document</h2>
report can be found in the <a href="http://www.w3.org/TR/">W3C technical
reports index</a> at http://www.w3.org/TR/.
</em></p><p>
This document is the 24 January 2014 <b>Editor’s Draft</b> of the
This document is the 26 January 2014 <b>Editor’s Draft</b> of the
<cite>Web IDL (Second Edition)</cite> specification.

Please send comments about this document to
Expand Down Expand Up @@ -8777,7 +8777,7 @@ <h4>4.3.6. [Exposed]</h4>
<ul>
<li>the interface or dictionary was declared with an <a class="xattr" href="#Exposed">[Exposed]</a>
extended attribute, and the ECMAScript global object implements an interface
whose <a class="dfnref" href="#dfn-global-name">global name</a> is in the
that has a <a class="dfnref" href="#dfn-global-name">global name</a> that is in the
extended attribute's identifier list; or</li>
<li>the interface or dictionary was not declared with an <a class="xattr" href="#Exposed">[Exposed]</a>
extended attribute, and the ECMAScript global object implements
Expand All @@ -8792,7 +8792,7 @@ <h4>4.3.6. [Exposed]</h4>
<li>the interface member – or a partial interface definition the interface member
was declared on – was declared with an <a class="xattr" href="#Exposed">[Exposed]</a>
extended attribute, and the ECMAScript global object implements an interface
whose <a class="dfnref" href="#dfn-global-name">global name</a> is in the
that has a <a class="dfnref" href="#dfn-global-name">global name</a> that is in the
extended attribute's identifier list; or</li>
<li>the interface member – or a partial interface definition the interface member
was declared on – was not declared with an <a class="xattr" href="#Exposed">[Exposed]</a>
Expand Down Expand Up @@ -9028,18 +9028,18 @@ <h4 id="PrimaryGlobal">4.3.8. [Global] and [PrimaryGlobal]</h4>
<a class="xattr" href="#PrimaryGlobal">[PrimaryGlobal]</a>
extended attributes <span class="rfc2119">MUST</span> either
<a class="dfnref" href="#dfn-xattr-no-arguments">take no arguments</a>
or <a class="dfnref" href="#dfn-xattr-identifier">take an identifier</a>.
or <a class="dfnref" href="#dfn-xattr-identifier-list">take an identifier list</a>.
</p>
<p>
If the <a class="xattr" href="#Global">[Global]</a> or
<a class="xattr" href="#PrimaryGlobal">[PrimaryGlobal]</a>
<a class="dfnref" href="#dfn-extended-attribute">extended attribute</a>
is declared with an identifier argument, then that identifier is the interface’s
<dfn id="dfn-global-name">global name</dfn>; otherwise, the identifier of
the interface is the interface’s global name.
is declared with an identifier list argument, then those identifiers are the interface’s
<dfn id="dfn-global-name">global names</dfn>; otherwise, the interface has
a single global name, which is the interface's identifier.
</p>
<div class="note"><div class="noteHeader">Note</div>
<p>The identifier argument exists so that more than one global interface can
<p>The identifier argument list exists so that more than one global interface can
be addressed with a single name in an <a class="xattr" href="#Exposed">[Exposed]</a>
<a class="dfnref" href="#dfn-extended-attribute">extended attribute</a>.</p>
</div>
Expand Down
14 changes: 7 additions & 7 deletions index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8591,7 +8591,7 @@ show(StringSanitizer.sanitizer(s)); <span class='comment'>// Evaluates to [0xff
<ul>
<li>the interface or dictionary was declared with an <a class='xattr' href='#Exposed'>[Exposed]</a>
extended attribute, and the ECMAScript global object implements an interface
whose <a class='dfnref' href='#dfn-global-name'>global name</a> is in the
that has a <a class='dfnref' href='#dfn-global-name'>global name</a> that is in the
extended attribute's identifier list; or</li>
<li>the interface or dictionary was not declared with an <a class='xattr' href='#Exposed'>[Exposed]</a>
extended attribute, and the ECMAScript global object implements
Expand All @@ -8606,7 +8606,7 @@ show(StringSanitizer.sanitizer(s)); <span class='comment'>// Evaluates to [0xff
<li>the interface member – or a partial interface definition the interface member
was declared on – was declared with an <a class='xattr' href='#Exposed'>[Exposed]</a>
extended attribute, and the ECMAScript global object implements an interface
whose <a class='dfnref' href='#dfn-global-name'>global name</a> is in the
that has a <a class='dfnref' href='#dfn-global-name'>global name</a> that is in the
extended attribute's identifier list; or</li>
<li>the interface member – or a partial interface definition the interface member
was declared on – was not declared with an <a class='xattr' href='#Exposed'>[Exposed]</a>
Expand Down Expand Up @@ -8842,18 +8842,18 @@ var requestAnimationFrame = window.requestAnimationFrame ||
<a class='xattr' href='#PrimaryGlobal'>[PrimaryGlobal]</a>
extended attributes <span class='rfc2119'>MUST</span> either
<a class='dfnref' href='#dfn-xattr-no-arguments'>take no arguments</a>
or <a class='dfnref' href='#dfn-xattr-identifier'>take an identifier</a>.
or <a class='dfnref' href='#dfn-xattr-identifier-list'>take an identifier list</a>.
</p>
<p>
If the <a class='xattr' href='#Global'>[Global]</a> or
<a class='xattr' href='#PrimaryGlobal'>[PrimaryGlobal]</a>
<a class='dfnref' href='#dfn-extended-attribute'>extended attribute</a>
is declared with an identifier argument, then that identifier is the interface’s
<dfn id='dfn-global-name'>global name</dfn>; otherwise, the identifier of
the interface is the interface’s global name.
is declared with an identifier list argument, then those identifiers are the interface’s
<dfn id='dfn-global-name'>global names</dfn>; otherwise, the interface has
a single global name, which is the interface's identifier.
</p>
<div class='note'>
<p>The identifier argument exists so that more than one global interface can
<p>The identifier argument list exists so that more than one global interface can
be addressed with a single name in an <a class='xattr' href='#Exposed'>[Exposed]</a>
<a class='dfnref' href='#dfn-extended-attribute'>extended attribute</a>.</p>
</div>
Expand Down
18 changes: 9 additions & 9 deletions v1.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<link rel="stylesheet" href="http://www.w3.org/StyleSheets/TR/W3C-ED" type="text/css" /></head>

<body>
<div class="head"><div><a href="http://www.w3.org/"><img src="http://www.w3.org/Icons/w3c_home" width="72" height="48" alt="W3C" /></a></div><h1>Web IDL</h1><h2>W3C Editor’s Draft <em>24 January 2014</em></h2><dl><dt>This Version:</dt><dd><a href="http://heycam.github.io/webidl/v1.html">http://heycam.github.io/webidl/v1.html</a></dd><dt>Latest Version:</dt><dd><a href="http://www.w3.org/TR/WebIDL/">http://www.w3.org/TR/WebIDL/</a></dd><dt>Previous Versions:</dt><dd><a href="http://www.w3.org/TR/2012/CR-WebIDL-20120419/">http://www.w3.org/TR/2012/CR-WebIDL-20120419/</a></dd><dd><a href="http://www.w3.org/TR/2012/WD-WebIDL-20120207/">http://www.w3.org/TR/2012/WD-WebIDL-20120207/</a></dd><dd><a href="http://www.w3.org/TR/2011/WD-WebIDL-20110927/">http://www.w3.org/TR/2011/WD-WebIDL-20110927/</a></dd><dd><a href="http://www.w3.org/TR/2011/WD-WebIDL-20110712/">http://www.w3.org/TR/2011/WD-WebIDL-20110712/</a></dd><dd><a href="http://www.w3.org/TR/2010/WD-WebIDL-20101021/">http://www.w3.org/TR/2010/WD-WebIDL-20101021/</a></dd><dd><a href="http://www.w3.org/TR/2008/WD-WebIDL-20081219/">http://www.w3.org/TR/2008/WD-WebIDL-20081219/</a></dd><dd><a href="http://www.w3.org/TR/2008/WD-WebIDL-20080829/">http://www.w3.org/TR/2008/WD-WebIDL-20080829/</a></dd><dd><a href="http://www.w3.org/TR/2008/WD-DOM-Bindings-20080410/">http://www.w3.org/TR/2008/WD-DOM-Bindings-20080410/</a></dd><dd><a href="http://www.w3.org/TR/2007/WD-DOM-Bindings-20071017/">http://www.w3.org/TR/2007/WD-DOM-Bindings-20071017/</a></dd><dt>Participate:</dt><dd>
<div class="head"><div><a href="http://www.w3.org/"><img src="http://www.w3.org/Icons/w3c_home" width="72" height="48" alt="W3C" /></a></div><h1>Web IDL</h1><h2>W3C Editor’s Draft <em>26 January 2014</em></h2><dl><dt>This Version:</dt><dd><a href="http://heycam.github.io/webidl/v1.html">http://heycam.github.io/webidl/v1.html</a></dd><dt>Latest Version:</dt><dd><a href="http://www.w3.org/TR/WebIDL/">http://www.w3.org/TR/WebIDL/</a></dd><dt>Previous Versions:</dt><dd><a href="http://www.w3.org/TR/2012/CR-WebIDL-20120419/">http://www.w3.org/TR/2012/CR-WebIDL-20120419/</a></dd><dd><a href="http://www.w3.org/TR/2012/WD-WebIDL-20120207/">http://www.w3.org/TR/2012/WD-WebIDL-20120207/</a></dd><dd><a href="http://www.w3.org/TR/2011/WD-WebIDL-20110927/">http://www.w3.org/TR/2011/WD-WebIDL-20110927/</a></dd><dd><a href="http://www.w3.org/TR/2011/WD-WebIDL-20110712/">http://www.w3.org/TR/2011/WD-WebIDL-20110712/</a></dd><dd><a href="http://www.w3.org/TR/2010/WD-WebIDL-20101021/">http://www.w3.org/TR/2010/WD-WebIDL-20101021/</a></dd><dd><a href="http://www.w3.org/TR/2008/WD-WebIDL-20081219/">http://www.w3.org/TR/2008/WD-WebIDL-20081219/</a></dd><dd><a href="http://www.w3.org/TR/2008/WD-WebIDL-20080829/">http://www.w3.org/TR/2008/WD-WebIDL-20080829/</a></dd><dd><a href="http://www.w3.org/TR/2008/WD-DOM-Bindings-20080410/">http://www.w3.org/TR/2008/WD-DOM-Bindings-20080410/</a></dd><dd><a href="http://www.w3.org/TR/2007/WD-DOM-Bindings-20071017/">http://www.w3.org/TR/2007/WD-DOM-Bindings-20071017/</a></dd><dt>Participate:</dt><dd>
Send feedback to <a href="mailto:public-script-coord@w3.org">public-script-coord@w3.org</a> or <a href="https://www.w3.org/Bugs/Public/enter_bug.cgi?product=WebAppsWG&amp;component=WebIDL">file a bug</a> (<a href="https://www.w3.org/Bugs/Public/buglist.cgi?product=WebAppsWG&amp;component=WebIDL&amp;resolution=---">open bugs</a>)
</dd><dt>Editor:</dt><dd><a href="http://mcc.id.au/">Cameron McCormack</a>, Mozilla Corporation &lt;cam@mcc.id.au&gt;</dd></dl><p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> &copy; 2014 <a href="http://www.w3.org/"><abbr title="World Wide Web Consortium">W3C</abbr></a><sup>&reg;</sup> (<a href="http://www.csail.mit.edu/"><abbr title="Massachusetts Institute of Technology">MIT</abbr></a>, <a href="http://www.ercim.eu/"><abbr title="European Research Consortium for Informatics and Mathematics">ERCIM</abbr></a>, <a href="http://www.keio.ac.jp/">Keio</a>, <a href="http://ev.buaa.edu.cn/">Beihang</a>), All Rights Reserved. W3C <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and <a href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a> rules apply.</p></div><hr /><script async="" src="file-bug.js"></script>

Expand Down Expand Up @@ -72,7 +72,7 @@ <h2 id="sotd">Status of This Document</h2>
report can be found in the <a href="http://www.w3.org/TR/">W3C technical
reports index</a> at http://www.w3.org/TR/.
</em></p><p>
This document is the 24 January 2014 <b>Editor’s Draft</b> of the
This document is the 26 January 2014 <b>Editor’s Draft</b> of the
<cite>Web IDL</cite> specification.

Please send comments about this document to
Expand Down Expand Up @@ -7706,18 +7706,18 @@ <h4 id="PrimaryGlobal">4.3.5. [Global] and [PrimaryGlobal]</h4>
<a class="xattr" href="#PrimaryGlobal">[PrimaryGlobal]</a>
extended attributes <span class="rfc2119">MUST</span> either
<a class="dfnref" href="#dfn-xattr-no-arguments">take no arguments</a>
or <a class="dfnref" href="#dfn-xattr-identifier">take an identifier</a>.
or <a class="dfnref" href="#dfn-xattr-identifier-list">take an identifier list</a>.
</p>
<p>
If the <a class="xattr" href="#Global">[Global]</a> or
<a class="xattr" href="#PrimaryGlobal">[PrimaryGlobal]</a>
<a class="dfnref" href="#dfn-extended-attribute">extended attribute</a>
is declared with an identifier argument, then that identifier is the interface’s
<dfn id="dfn-global-name">global name</dfn>; otherwise, the identifier of
the interface is the interface’s global name.
is declared with an identifier list argument, then those identifiers are the interface’s
<dfn id="dfn-global-name">global names</dfn>; otherwise, the interface has
a single global name, which is the interface's identifier.
</p>
<div class="note"><div class="noteHeader">Note</div>
<p>The identifier argument exists so that more than one global interface can
<p>The identifier argument list exists so that more than one global interface can
be addressed with a single name in an <a class="xattr" href="#Exposed">[Exposed]</a>
<a class="dfnref" href="#dfn-extended-attribute">extended attribute</a>.</p>
</div>
Expand Down Expand Up @@ -7842,7 +7842,7 @@ <h4>4.3.6. [Exposed]</h4>
<ul>
<li>the interface or dictionary was declared with an <a class="xattr" href="#Exposed">[Exposed]</a>
extended attribute, and the ECMAScript global object implements an interface
whose <a class="dfnref" href="#dfn-global-name">global name</a> is in the
that has a <a class="dfnref" href="#dfn-global-name">global name</a> that is in the
extended attribute's identifier list; or</li>
<li>the interface or dictionary was not declared with an <a class="xattr" href="#Exposed">[Exposed]</a>
extended attribute, and the ECMAScript global object implements
Expand All @@ -7857,7 +7857,7 @@ <h4>4.3.6. [Exposed]</h4>
<li>the interface member – or a partial interface definition the interface member
was declared on – was declared with an <a class="xattr" href="#Exposed">[Exposed]</a>
extended attribute, and the ECMAScript global object implements an interface
whose <a class="dfnref" href="#dfn-global-name">global name</a> is in the
that has a <a class="dfnref" href="#dfn-global-name">global name</a> that is in the
extended attribute's identifier list; or</li>
<li>the interface member – or a partial interface definition the interface member
was declared on – was not declared with an <a class="xattr" href="#Exposed">[Exposed]</a>
Expand Down
Loading

0 comments on commit 3aa9313

Please sign in to comment.