Skip to content

Commit e6aaf5f

Browse files
annevkzcorpan
authored andcommitted
Editorial: remove /*sealed*/ annotation
It was added to discourage other specification editors from creating subclasses of the annotated classes. The reasons for removing this annotation are: 1) It’s unlikely someone will create a subclass. 2) The annotation doesn’t really make the intention clear. 3) If someone created a subclass it would be subject to sufficient scrutiny. 4) Anne keeps confusing himself with it. (This was also discussed in whatwg#643, if you wanted to read even more about this.)
1 parent f0b104f commit e6aaf5f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8677,7 +8677,7 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E..
86778677
typedef (<span>HTMLScriptElement</span> or <span>SVGScriptElement</span>) <dfn>HTMLOrSVGScriptElement</dfn>;
86788678

86798679
[OverrideBuiltins]
8680-
partial /*sealed*/ interface <dfn>Document</dfn> {
8680+
partial interface <dfn id="document">Document</dfn> {
86818681
// <span>resource metadata management</span>
86828682
[PutForwards=<span data-x="dom-location-href">href</span>, Unforgeable] readonly attribute <span>Location</span>? <span data-x="dom-document-location">location</span>;
86838683
attribute USVString <span data-x="dom-document-domain">domain</span>;
@@ -78336,7 +78336,7 @@ console.assert(iframeWindow.frameElement === null);
7833678336
<h3>The <code>Window</code> object</h3>
7833778337

7833878338
<pre class="idl">[PrimaryGlobal, LegacyUnenumerableNamedProperties] <!-- Exposed=Window is implied because it's the primary global -->
78339-
/*sealed*/ interface <dfn data-export="" data-dfn-type="interface">Window</dfn> : <span>EventTarget</span> {
78339+
interface <dfn data-export="" data-dfn-type="interface">Window</dfn> : <span>EventTarget</span> {
7834078340
// the current browsing context
7834178341
[Unforgeable] readonly attribute <span>WindowProxy</span> <span data-x="dom-window">window</span>;
7834278342
[Replaceable] readonly attribute <span>WindowProxy</span> <span data-x="dom-self">self</span>;
@@ -96343,7 +96343,7 @@ interface <dfn>WorkerGlobalScope</dfn> : <span>EventTarget</span> {
9634396343
<h5>Dedicated workers and the <code>DedicatedWorkerGlobalScope</code> interface</h5>
9634496344

9634596345
<pre class="idl">[Global=(Worker,DedicatedWorker),Exposed=DedicatedWorker]
96346-
/*sealed*/ interface <dfn>DedicatedWorkerGlobalScope</dfn> : <span>WorkerGlobalScope</span> {
96346+
interface <dfn>DedicatedWorkerGlobalScope</dfn> : <span>WorkerGlobalScope</span> {
9634796347
void <span data-x="dom-DedicatedWorkerGlobalScope-postMessage">postMessage</span>(any message, optional sequence&lt;<span data-x="idl-object">object</span>&gt; transfer = []);
9634896348

9634996349
void <span data-x="dom-DedicatedWorkerGlobalScope-close">close</span>();
@@ -96419,7 +96419,7 @@ interface <dfn>WorkerGlobalScope</dfn> : <span>EventTarget</span> {
9641996419
<h5>Shared workers and the <code>SharedWorkerGlobalScope</code> interface</h5>
9642096420

9642196421
<pre class="idl">[Global=(Worker,SharedWorker),Exposed=SharedWorker]
96422-
/*sealed*/ interface <dfn>SharedWorkerGlobalScope</dfn> : <span>WorkerGlobalScope</span> {
96422+
interface <dfn>SharedWorkerGlobalScope</dfn> : <span>WorkerGlobalScope</span> {
9642396423
readonly attribute DOMString <span data-x="dom-SharedWorkerGlobalScope-name">name</span>;
9642496424
readonly attribute <span>ApplicationCache</span> <span data-x="dom-SharedWorkerGlobalScope-applicationCache">applicationCache</span>; // deprecated
9642596425

0 commit comments

Comments
 (0)