Skip to content

Commit cea5e80

Browse files
committed
Followup for https://www.w3.org/Bugs/Public/show_bug.cgi?id=23133 to make sure we don't have to deal with defining prototype chains for interface objects when [NoInterfaceObject] is involved.
1 parent 8b799a4 commit cea5e80

File tree

4 files changed

+56
-4
lines changed

4 files changed

+56
-4
lines changed

index.html

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/W3C-ED" type="text/css" /></head>
2020

2121
<body>
22-
<div class="head"><div><a href="http://www.w3.org/"><img src="https://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>10 February 2015</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>
22+
<div class="head"><div><a href="http://www.w3.org/"><img src="https://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>11 February 2015</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>
2323
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>)
2424
</dd><dt>Editors:</dt><dd><a href="http://mcc.id.au/">Cameron McCormack</a>, Mozilla Corporation &lt;cam@mcc.id.au&gt;</dd><dd>Boris Zbarsky, Mozilla Corporation &lt;bzbarsky@mit.edu&gt;</dd></dl><p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> &copy; 2015 <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>
2525

@@ -72,7 +72,7 @@ <h2 id="sotd">Status of This Document</h2>
7272
report can be found in the <a href="http://www.w3.org/TR/">W3C technical
7373
reports index</a> at http://www.w3.org/TR/.
7474
</em></p><p>
75-
This document is the 10 February 2015 <b>Editor’s Draft</b> of the
75+
This document is the 11 February 2015 <b>Editor’s Draft</b> of the
7676
<cite>Web IDL (Second Edition)</cite> specification.
7777

7878
Please send comments about this document to
@@ -9760,6 +9760,12 @@ <h4>4.3.11. [NoInterfaceObject]</h4>
97609760
This is because callback interfaces without constants never have
97619761
<a class="dfnref" href="#dfn-interface-object">interface objects</a>.
97629762
</p>
9763+
<p>
9764+
An interface that does not have the <a class="xattr" href="#NoInterfaceObject">[NoInterfaceObject]</a> extended
9765+
attribute specified <span class="rfc2119">MUST NOT</span> inherit
9766+
from an interface that has the <a class="xattr" href="#NoInterfaceObject">[NoInterfaceObject]</a> extended
9767+
attribute specified.
9768+
</p>
97639769
<p>
97649770
See <a href="#es-interfaces">section 4.2.20</a>
97659771
for the specific requirements that the use of
@@ -15407,6 +15413,12 @@ <h2>C. Changes</h2>
1540715413
</p>
1540815414
</li>
1540915415
<!-- below are changes in v1 too -->
15416+
<li>
15417+
<p>
15418+
Disallowed an interface without [NoInterfaceObject]
15419+
inheriting from a [NoInterfaceObject] interface.
15420+
</p>
15421+
</li>
1541015422
<li>
1541115423
<p>
1541215424
Removed indexed deleters.

index.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9593,6 +9593,14 @@ var a2 = new Audio('a.flac'); <span class='comment'>// Creates an HTMLAudioEle
95939593
This is because callback interfaces without constants never have
95949594
<a class='dfnref' href='#dfn-interface-object'>interface objects</a>.
95959595
</p>
9596+
<p>
9597+
An interface that does not have the <a class='xattr'
9598+
href='#NoInterfaceObject'>[NoInterfaceObject]</a> extended
9599+
attribute specified <span class='rfc2119'>MUST NOT</span> inherit
9600+
from an interface that has the <a class='xattr'
9601+
href='#NoInterfaceObject'>[NoInterfaceObject]</a> extended
9602+
attribute specified.
9603+
</p>
95969604
<p>
95979605
See <a href='#es-interfaces'>section <?sref es-interface?></a>
95989606
for the specific requirements that the use of
@@ -15225,6 +15233,12 @@ d.type = et;
1522515233
</p>
1522615234
</li>
1522715235
<!-- below are changes in v1 too -->
15236+
<li>
15237+
<p>
15238+
Disallowed an interface without [NoInterfaceObject]
15239+
inheriting from a [NoInterfaceObject] interface.
15240+
</p>
15241+
</li>
1522815242
<li>
1522915243
<p>
1523015244
Removed indexed deleters.

v1.html

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/W3C-ED" type="text/css" /></head>
2020

2121
<body>
22-
<div class="head"><div><a href="http://www.w3.org/"><img src="https://www.w3.org/Icons/w3c_home" width="72" height="48" alt="W3C" /></a></div><h1>Web IDL</h1><h2>W3C Editor’s Draft <em>10 February 2015</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>
22+
<div class="head"><div><a href="http://www.w3.org/"><img src="https://www.w3.org/Icons/w3c_home" width="72" height="48" alt="W3C" /></a></div><h1>Web IDL</h1><h2>W3C Editor’s Draft <em>11 February 2015</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>
2323
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>)
2424
</dd><dt>Editors:</dt><dd><a href="http://mcc.id.au/">Cameron McCormack</a>, Mozilla Corporation &lt;cam@mcc.id.au&gt;</dd><dd>Boris Zbarsky, Mozilla Corporation &lt;bzbarsky@mit.edu&gt;</dd></dl><p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> &copy; 2015 <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>
2525

@@ -72,7 +72,7 @@ <h2 id="sotd">Status of This Document</h2>
7272
report can be found in the <a href="http://www.w3.org/TR/">W3C technical
7373
reports index</a> at http://www.w3.org/TR/.
7474
</em></p><p>
75-
This document is the 10 February 2015 <b>Editor’s Draft</b> of the
75+
This document is the 11 February 2015 <b>Editor’s Draft</b> of the
7676
<cite>Web IDL</cite> specification.
7777

7878
Please send comments about this document to
@@ -8178,6 +8178,12 @@ <h4>4.3.10. [NoInterfaceObject]</h4>
81788178
This is because callback interfaces without constants never have
81798179
<a class="dfnref" href="#dfn-interface-object">interface objects</a>.
81808180
</p>
8181+
<p>
8182+
An interface that does not have the <a class="xattr" href="#NoInterfaceObject">[NoInterfaceObject]</a> extended
8183+
attribute specified <span class="rfc2119">MUST NOT</span> inherit
8184+
from an interface that has the <a class="xattr" href="#NoInterfaceObject">[NoInterfaceObject]</a> extended
8185+
attribute specified.
8186+
</p>
81818187
<p>
81828188
See <a href="#es-interfaces">section 4.2.18</a>
81838189
and <a href="#es-exceptions">section 4.10</a>
@@ -12215,6 +12221,12 @@ <h2>D. Changes</h2>
1221512221
<dt>Current editor’s draft</dt>
1221612222
<dd>
1221712223
<ul>
12224+
<li>
12225+
<p>
12226+
Disallowed an interface without [NoInterfaceObject]
12227+
inheriting from a [NoInterfaceObject] interface.
12228+
</p>
12229+
</li>
1221812230
<li>
1221912231
<p>
1222012232
Removed indexed deleters.

v1.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8009,6 +8009,14 @@ var a2 = new Audio('a.flac'); <span class='comment'>// Creates an HTMLAudioEle
80098009
This is because callback interfaces without constants never have
80108010
<a class='dfnref' href='#dfn-interface-object'>interface objects</a>.
80118011
</p>
8012+
<p>
8013+
An interface that does not have the <a class='xattr'
8014+
href='#NoInterfaceObject'>[NoInterfaceObject]</a> extended
8015+
attribute specified <span class='rfc2119'>MUST NOT</span> inherit
8016+
from an interface that has the <a class='xattr'
8017+
href='#NoInterfaceObject'>[NoInterfaceObject]</a> extended
8018+
attribute specified.
8019+
</p>
80128020
<p>
80138021
See <a href='#es-interfaces'>section <?sref es-interface?></a>
80148022
and <a href='#es-exceptions'>section <?sref es-exceptions?></a>
@@ -12064,6 +12072,12 @@ d.type = et;
1206412072
<dt>Current editor’s draft</dt>
1206512073
<dd>
1206612074
<ul>
12075+
<li>
12076+
<p>
12077+
Disallowed an interface without [NoInterfaceObject]
12078+
inheriting from a [NoInterfaceObject] interface.
12079+
</p>
12080+
</li>
1206712081
<li>
1206812082
<p>
1206912083
Removed indexed deleters.

0 commit comments

Comments
 (0)