From 72aba391e1002fa1c85ad798aeba7a050e728240 Mon Sep 17 00:00:00 2001
From: Domenic Denicola -CFWW$HOK28vYSASkAA7Wu rPlJyri>|;s?62sLlqOEOCZ3
zN1-zfs-O-Bp3Ok+8Fhsl#zk0>MO+Os)F$aJdl@X;NyGdPPk98M+1;egL%)H#L~Hiz
z_|1wrb~S9w@I?*~lF9?2EVCN2aN&6Pu`8p9>K+tvzWi4k8slu&nk7J~(g4eAZH*h<
z-%9)U2a(x6C<{mb2NywM1YiG!BYQ;aG^7egYCQuP*q45e=-hRhlY6Khy6Zafda?9&
ztOJSsyd)L6{3pgoMw*>qbor7X>{!Rk~SDkg@jesuINK7B<^9u-@3I!_M^tpguva
z0(0ywAA2mEaT20*gCglLA)dwsLQ0e$aS3=}IfFuU13Rb{zY4q$zf{dK3}Ad=zX*@@
z<-zk^- The These elements represent headings for their sections. The The The The The The The The The The If the The The The The The The An The
zUE8Pe_!;gp@*85$a~sEl7c?+UsEAy;DDXHweUi^^#z4a_Jj+u_>uIYQ5(Yb~9c}4eIhfTrmzA{$5Hf5dT=bVAQl7Fl)
zn;bLWH95*SK*?9Dq`_(}w!<7ka3C1e=^`hK8K3-*6GlJ@*Y4_dRv%Uq3qPo}Hb}
zJv$Ho^
HTML
Living Standard — Last Updated [DATE: 01 Jan 1901]
- HTML: The Living Standard
- Developer's Edition — Last Updated [DATE: 01 Jan 1901]
+ HTML: The Living Standard
+ Developer's Edition — Last Updated [DATE: 01 Jan 1901]
The
From 2c02f0917da7a2dd512f5f4af4dd93a6a36d7708 Mon Sep 17 00:00:00 2001
From: Domenic Denicola Window object
-
-
Table of contents
- Full table of contents
+ Full table of contents
"
onunhandledrejectiononunload[HTMLConstructor]
interface HTMLBodyElement : HTMLElement {};
HTMLBodyElement implements WindowEventHandlers;
HTMLBodyElement.body element represents the main content of the document.[HTMLConstructor]
interface HTMLHeadingElement : HTMLElement {};
HTMLHeadingElement.[HTMLConstructor]
interface HTMLParagraphElement : HTMLElement {};
HTMLParagraphElement.p element represents a paragraph.[HTMLConstructor]
interface HTMLHRElement : HTMLElement {};
HTMLHRElement.hr element represents a paragraph-level thematic
@@ -17700,10 +17711,11 @@ of Gralmond's winters.</p>
[HTMLConstructor]
interface HTMLPreElement : HTMLElement {};
HTMLPreElement.pre element represents a block of preformatted text, in which
@@ -17812,7 +17824,7 @@ a friend lost to the
cite[HTMLConstructor]
interface HTMLQuoteElement : HTMLElement {
[CEReactions] attribute USVString cite;
@@ -17820,6 +17832,7 @@ interface HTMLQuoteElement : HTMLElement {
HTMLQuoteElement interface is
also used by the q element.HTMLQuoteElement.blockquote element represents a section that is quoted from
@@ -18000,7 +18013,7 @@ be cowed by the possibility.</blockquote>
starttype[HTMLConstructor]
interface HTMLOListElement : HTMLElement {
[CEReactions] attribute boolean reversed;
@@ -18008,6 +18021,7 @@ interface HTMLOListElement : HTMLElement {
[CEReactions] attribute DOMString type;
};
HTMLOListElement.ol element represents a list of items, where the items have been
@@ -18178,10 +18192,11 @@ I first lived there):</p>
[HTMLConstructor]
interface HTMLUListElement : HTMLElement {};
HTMLUListElement.ul element represents a list of items, where the order of the
@@ -18235,7 +18250,7 @@ interface HTMLUListElement : HTMLElement {};
[HTMLConstructor]
interface HTMLMenuElement : HTMLElement {
};
@@ -18268,6 +18283,7 @@ interface HTMLMenuElement : HTMLElement {
HTMLMenuElement.ol elements.ul elements.ul or menu element: value[HTMLConstructor]
interface HTMLLIElement : HTMLElement {
[CEReactions] attribute long value;
};
HTMLLIElement.li element represents a list item. If its parent element is an
@@ -18446,10 +18463,11 @@ interface HTMLLIElement : HTMLElement {
[HTMLConstructor]
interface HTMLDListElement : HTMLElement {};
HTMLDListElement.dl element represents an association list consisting of zero or
@@ -19101,10 +19119,11 @@ included with Exhibit B.
[HTMLConstructor]
interface HTMLDivElement : HTMLElement {};
HTMLDivElement.div element has no special meaning at all. It represents its
@@ -19174,7 +19193,7 @@ interface HTMLDivElement : HTMLElement {};
typereferrerpolicy[HTMLConstructor]
interface HTMLAnchorElement : HTMLElement {
[CEReactions] attribute DOMString target;
@@ -19191,6 +19210,7 @@ interface HTMLAnchorElement : HTMLElement {
};
HTMLAnchorElement implements HTMLHyperlinkElementUtils;
HTMLAnchorElement.a element has an href attribute,
@@ -20669,12 +20689,13 @@ this specification: the <abbr>WHATWG</abbr> and the
value[HTMLConstructor]
interface HTMLDataElement : HTMLElement {
[CEReactions] attribute DOMString value;
};
HTMLDataElement.data element represents its contents, along with a
@@ -20744,12 +20765,13 @@ interface HTMLDataElement : HTMLElement {
datetime[HTMLConstructor]
interface HTMLTimeElement : HTMLElement {
[CEReactions] attribute DOMString dateTime;
};
HTMLTimeElement.time element represents its contents, along with a
@@ -21833,10 +21855,11 @@ wormhole connection.</mark></p>
[HTMLConstructor]
interface HTMLSpanElement : HTMLElement {};
HTMLSpanElement.span element doesn't mean anything on its own, but can be useful when used
@@ -21876,10 +21899,11 @@ interface HTMLSpanElement : HTMLElement {};
[HTMLConstructor]
interface HTMLBRElement : HTMLElement {};
HTMLBRElement.br element represents a line break.[HTMLConstructor]
interface HTMLPictureElement : HTMLElement {};
HTMLPictureElement.picture element is a container
@@ -24983,7 +25008,7 @@ interface HTMLPictureElement : HTMLElement {};
sizesmedia[HTMLConstructor]
interface HTMLSourceElement : HTMLElement {
[CEReactions] attribute USVString src;
@@ -24993,6 +25018,7 @@ interface HTMLSourceElement : HTMLElement {
[CEReactions] attribute DOMString media;
};
HTMLSourceElement.source element allows authors to specify multiple alternative
@@ -25239,7 +25265,7 @@ interface HTMLSourceElement : HTMLElement {
heightreferrerpolicy[HTMLConstructor, NamedConstructor=Image(optional unsigned long width, optional unsigned long height)]
interface HTMLImageElement : HTMLElement {
[CEReactions] attribute DOMString alt;
@@ -25258,6 +25284,7 @@ interface HTMLImageElement : HTMLElement {
[CEReactions] attribute DOMString referrerPolicy;
};
HTMLImageElement.img element represents an image.heightreferrerpolicy[HTMLConstructor]
interface HTMLIFrameElement : HTMLElement {
[CEReactions] attribute USVString src;
@@ -28832,6 +28859,7 @@ interface HTMLIFrameElement : HTMLElement {
Document? getSVGDocument();
};
HTMLIFrameElement.height[HTMLConstructor]
interface HTMLEmbedElement : HTMLElement {
[CEReactions] attribute USVString src;
@@ -29620,6 +29648,7 @@ interface HTMLEmbedElement : HTMLElement {
interfaces.
HTMLEmbedElement.embed element provides an integration point for an external (typically
@@ -29992,7 +30021,7 @@ attribute's value is a type that a plugin supports, then the value
widthheight[HTMLConstructor]
interface HTMLObjectElement : HTMLElement {
[CEReactions] attribute USVString data;
@@ -30020,6 +30049,7 @@ interface HTMLObjectElement : HTMLElement {
interfaces.
HTMLObjectElement.The object element can represent an external resource, which, depending on the
@@ -30784,13 +30814,14 @@ interface HTMLObjectElement : HTMLElement {
namevalue[HTMLConstructor] interface HTMLParamElement : HTMLElement { [CEReactions] attribute DOMString name; [CEReactions] attribute DOMString value; };
HTMLParamElement.The param element defines parameters for plugins invoked by object
@@ -30887,7 +30918,7 @@ interface HTMLParamElement : HTMLElement {
widthheight[HTMLConstructor] interface HTMLVideoElement : HTMLMediaElement { [CEReactions] attribute unsigned long width; @@ -30898,6 +30929,7 @@ interface HTMLVideoElement : HTMLMediaElement { [CEReactions] attribute boolean playsInline; };
HTMLVideoElement.A video element is used for playing videos or movies, and audio files with
@@ -31277,10 +31309,11 @@ zero or more track elements, then
mutedcontrols[HTMLConstructor, NamedConstructor=Audio(optional DOMString src)] interface HTMLAudioElement : HTMLMediaElement {};
HTMLAudioElement.An audio element represents a sound or audio stream.
labeldefault[HTMLConstructor] interface HTMLTrackElement : HTMLElement { [CEReactions] attribute DOMString kind; @@ -31446,6 +31479,7 @@ interface HTMLTrackElement : HTMLElement { readonly attribute TextTrack track; };
HTMLTrackElement.The The The The The The The The The The The The The The The The The The The The The The The The The The This is a warning. The WHATWG DOM standard defines a The The This value may be shown to the user, but it is primarily intended for
private use. The The The If a The Uses The The The The Uses The The The To maintain compatibility with existing Web content, user agents need to enumerate
- methods defined in To maintain compatibility with existing Web content, user agents need to
+ enumerate methods defined in The Similarly, the The The A Similarly, the The global scope is the "inside" of a worker. A A A A The name can have different
semantics for each subclass of of A A A A The following are the event handlers (and their corresponding event handler event types) that must be supported, as event handler IDL attributes,
by objects implementing the The To close a worker, given a workerGlobal, run these
steps: The following are the event handlers (and their corresponding event handler event types) that must be supported, as event
handler IDL attributes, by objects implementing the A Shared workers receive message ports through track element allows authors to specify explicit external timed TrackEventInit : EventInit {
name[HTMLConstructor]
interface HTMLMapElement : HTMLElement {
[CEReactions] attribute DOMString name;
[SameObject] readonly attribute HTMLCollection areas;
};
HTMLMapElement.map element, in conjunction with an img element and any
@@ -38141,7 +38176,7 @@ interface HTMLMapElement : HTMLElement {
relreferrerpolicy[HTMLConstructor]
interface HTMLAreaElement : HTMLElement {
[CEReactions] attribute DOMString alt;
@@ -38156,6 +38191,7 @@ interface HTMLAreaElement : HTMLElement {
};
HTMLAreaElement implements HTMLHyperlinkElementUtils;
HTMLAreaElement.area element represents either a hyperlink with some text and a
@@ -38826,7 +38862,7 @@ interface HTMLAreaElement : HTMLElement {
[HTMLConstructor]
interface HTMLTableElement : HTMLElement {
[CEReactions] attribute HTMLTableCaptionElement? caption;
@@ -38849,6 +38885,7 @@ interface HTMLTableElement : HTMLElement {
[CEReactions] void deleteRow(long index);
};
HTMLTableElement.table element represents data with more than one dimension, in
@@ -39506,10 +39543,11 @@ side in the right column.</p>
[HTMLConstructor]
interface HTMLTableCaptionElement : HTMLElement {};
HTMLTableCaptionElement.caption element represents the title of the table
@@ -39593,12 +39631,13 @@ the cell that corresponds to the values of the two dice.
span[HTMLConstructor]
interface HTMLTableColElement : HTMLElement {
[CEReactions] attribute unsigned long span;
};
HTMLTableColElement.colgroup element represents a HTMLTableColElement : HTMLElement {
[HTMLConstructor]
interface HTMLTableSectionElement : HTMLElement {
[SameObject] readonly attribute HTMLCollection rows;
@@ -39692,6 +39731,7 @@ interface HTMLTableSectionElement : HTMLElement {
HTMLTableSectionElement interface is also
used for thead and tfoot elements.HTMLTableSectionElement.tbody element represents a HTMLTableSectionElement : HTMLElement {
[HTMLConstructor]
interface HTMLTableRowElement : HTMLElement {
readonly attribute long rowIndex;
@@ -39926,6 +39966,7 @@ interface HTMLTableRowElement : HTMLElement {
[CEReactions] void deleteCell(long index);
};
HTMLTableRowElement.tr element represents a row of
@@ -40082,7 +40123,7 @@ interface HTMLTableRowElement : HTMLElement {
headers[HTMLConstructor]
interface HTMLTableCellElement : HTMLElement {
[CEReactions] attribute unsigned long colSpan;
@@ -40096,6 +40137,7 @@ interface HTMLTableCellElement : HTMLElement {
HTMLTableCellElement interface is also used for th elements.HTMLTableCellElement.td element represents a data HTMLTableCellElement : HTMLElement {
novalidatetarget[OverrideBuiltins, LegacyUnenumerableNamedProperties, HTMLConstructor]
interface HTMLFormElement : HTMLElement {
[CEReactions] attribute DOMString acceptCharset;
@@ -42325,6 +42367,7 @@ interface HTMLFormElement : HTMLElement {
boolean reportValidity();
};
HTMLFormElement.form element represents a collection of HTMLFormElement : HTMLElement {
for[HTMLConstructor]
interface HTMLLabelElement : HTMLElement {
readonly attribute HTMLFormElement? form;
@@ -42709,6 +42752,7 @@ interface HTMLLabelElement : HTMLElement {
readonly attribute HTMLElement? control;
};
HTMLLabelElement.label element represents a caption in a user interface. The
@@ -42935,7 +42979,7 @@ interface HTMLLabelElement : HTMLElement {
widthtitle attribute has special semantics on this element.[HTMLConstructor]
interface HTMLInputElement : HTMLElement {
[CEReactions] attribute DOMString accept;
@@ -42998,6 +43042,7 @@ interface HTMLInputElement : HTMLElement {
void setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction);
};
HTMLInputElement.input element represents a typed data field, usually with a form
@@ -49105,7 +49150,7 @@ You cannot submit this form when the field is incorrect.
typevalue[HTMLConstructor]
interface HTMLButtonElement : HTMLElement {
[CEReactions] attribute boolean autofocus;
@@ -49130,6 +49175,7 @@ interface HTMLButtonElement : HTMLElement {
readonly attribute NodeList labels;
};
HTMLButtonElement.button element represents a button labeled by its contents.requiredsize[HTMLConstructor]
interface HTMLSelectElement : HTMLElement {
[CEReactions] attribute DOMString autocomplete;
@@ -49334,6 +49380,7 @@ interface HTMLSelectElement : HTMLElement {
readonly attribute NodeList labels;
};
HTMLSelectElement.[HTMLConstructor]
interface HTMLOutputElement : HTMLElement {
[SameObject, PutForwards=value] readonly attribute DOMTokenList htmlFor;
@@ -50823,6 +50874,7 @@ interface HTMLOutputElement : HTMLElement {
readonly attribute NodeList labels;
};
HTMLOutputElement.output element represents the result of a calculation performed
@@ -50993,7 +51045,7 @@ interface HTMLOutputElement : HTMLElement {
valuemax[HTMLConstructor]
interface HTMLProgressElement : HTMLElement {
[CEReactions] attribute double value;
@@ -51002,6 +51054,7 @@ interface HTMLProgressElement : HTMLElement {
readonly attribute NodeList labels;
};
HTMLProgressElement.progress element represents the completion progress of a task.
@@ -51161,7 +51214,7 @@ interface HTMLProgressElement : HTMLElement {
highoptimum[HTMLConstructor]
interface HTMLMeterElement : HTMLElement {
[CEReactions] attribute double value;
@@ -51173,6 +51226,7 @@ interface HTMLMeterElement : HTMLElement {
readonly attribute NodeList labels;
};
HTMLMeterElement.meter element represents a scalar measurement within a known
@@ -51540,7 +51594,7 @@ out of 233 257 824 bytes available</meter></p>
formname [HTMLConstructor]
interface HTMLFieldSetElement : HTMLElement {
[CEReactions] attribute boolean disabled;
@@ -51559,6 +51613,7 @@ interface HTMLFieldSetElement : HTMLElement {
void setCustomValidity(DOMString error);
};
HTMLFieldSetElement.fieldset element represents a set of form controls optionally
@@ -51718,12 +51773,13 @@ interface HTMLFieldSetElement : HTMLElement {
[HTMLConstructor]
interface HTMLLegendElement : HTMLElement {
readonly attribute HTMLFormElement? form;
};
HTMLLegendElement.legend element represents a caption for the rest of the contents
@@ -56098,12 +56154,13 @@ fur
open[HTMLConstructor]
interface HTMLDetailsElement : HTMLElement {
[CEReactions] attribute boolean open;
};
HTMLDetailsElement.details element represents a disclosure widget from which the
@@ -56552,7 +56609,7 @@ interface HTMLDetailsElement : HTMLElement {
open[HTMLConstructor]
interface HTMLDialogElement : HTMLElement {
[CEReactions] attribute boolean open;
@@ -56562,6 +56619,7 @@ interface HTMLDialogElement : HTMLElement {
[CEReactions] void close(optional DOMString returnValue);
};
HTMLDialogElement.dialog element represents a part of an application that a user interacts with
@@ -56955,7 +57013,7 @@ interface HTMLDialogElement : HTMLElement {
nonceintegrity[HTMLConstructor]
interface HTMLScriptElement : HTMLElement {
[CEReactions] attribute USVString src;
@@ -56971,6 +57029,7 @@ interface HTMLScriptElement : HTMLElement {
};
HTMLScriptElement.script element allows authors to include dynamic script and data blocks in
@@ -58532,12 +58591,13 @@ not-slash = %x0000-002E / %x0030-10FFFF
[HTMLConstructor]
interface HTMLTemplateElement : HTMLElement {
readonly attribute DocumentFragment content;
};
HTMLTemplateElement.template element is used to declare fragments of HTML that can be cloned and
@@ -58816,7 +58876,7 @@ interface HTMLTemplateElement : HTMLElement {
name[HTMLConstructor]
interface HTMLSlotElement : HTMLElement {
[CEReactions] attribute DOMString name;
@@ -58827,6 +58887,7 @@ dictionary AssignedNodesOptions {
boolean flatten = false;
};
HTMLSlotElement.slot element defines a slot. It is
@@ -58902,7 +58963,7 @@ dictionary AssignedNodesOptions {
widthheighttypedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext;
[HTMLConstructor]
@@ -58919,6 +58980,7 @@ interface HTMLCanvasElement : HTMLElement {
callback BlobCallback = void (Blob? blob);
HTMLCanvasElement.canvas element provides scripts with a resolution-dependent bitmap canvas,
From 690b5faafe582570dff94e6700ef18e40b17cd86 Mon Sep 17 00:00:00 2001
From: Simon Pieters interface Example {
+
interface Example {
// this is an IDL definition
};
@@ -8935,7 +8935,7 @@ o.myself = o;The
Document objectDocument interface, which
- this specification extends significantly:enum DocumentReadyState { "loading", "interactive", "complete" };
typedef (HTMLScriptElement or SVGScriptElement) HTMLOrSVGScriptElement;
@@ -24632,7 +24632,7 @@ interface HTMLHyperlinkElementUtils {
citedatetimeHTMLModElement interface.HTMLModElement.ins element represents an addition to the document.citedatetimeHTMLModElement interface.HTMLModElement.del element represents a removal from the document.ins and del elements must implement the
+ ins and del elements must implement the
HTMLModElement interface:[HTMLConstructor]
@@ -24789,10 +24791,9 @@ interface HTMLModElement : HTMLElement {
[CEReactions] attribute DOMString dateTime;
};
- cite IDL attribute must reflect
- the element's cite content attribute. The dateTime IDL attribute must reflect the
+ the element's cite content attribute. The dateTime IDL attribute must reflect the
element's datetime content attribute.spanHTMLTableColElement, same as for
- colgroup elements. This interface defines one member,
- span.HTMLTableColElement, as defined for colgroup elements.col element has a parent and that is a colgroup element that
@@ -39721,17 +39718,17 @@ interface HTMLTableColElement : HTMLElement {
[HTMLConstructor]
interface HTMLTableSectionElement : HTMLElement {
[SameObject] readonly attribute HTMLCollection rows;
HTMLElement insertRow(optional long index = -1);
[CEReactions] void deleteRow(long index);
};
- HTMLTableSectionElement interface is also
- used for thead and tfoot elements.HTMLTableSectionElement. The
+ HTMLTableSectionElement interface is also used for thead and
+ tfoot elements.HTMLTableSectionElement.tbody element represents a HTMLTableSectionElement : HTMLElement {
HTMLTableSectionElement, as defined for
- tbody elements.HTMLTableSectionElement, as defined for tbody elements.thead element represents the HTMLTableSectionElement : HTMLElement {
HTMLTableSectionElement, as defined for
- tbody elements.HTMLTableSectionElement, as defined for tbody elements.tfoot element represents the HTMLTableRowElement : HTMLElement {
headers[HTMLConstructor]
interface HTMLTableCellElement : HTMLElement {
[CEReactions] attribute unsigned long colSpan;
@@ -40135,9 +40130,9 @@ interface HTMLTableCellElement : HTMLElement {
[CEReactions] attribute DOMString abbr; // only conforming for th elements
};
- HTMLTableCellElement interface is also used for th elements.HTMLTableCellElement. The
+ HTMLTableCellElement interface is also used for th elements.HTMLTableCellElement.td element represents a data HTMLTableCellElement : HTMLElement {
scopeabbrHTMLTableCellElement, as defined for td elements.
- HTMLTableCellElement, as defined for td elements.th element represents a header
setRangeText() method uses the
- following enumeration:enum SelectionMode {
"select",
@@ -59708,10 +59704,10 @@ interface Path2D {
methods, see https://bugzilla.mozilla.org/show_bug.cgi?id=623437
for an example, and its duplicates for more -->
- CanvasUserInterface immediately after the stroke(Path2D) method on CanvasRenderingContext2D
- objects.CanvasUserInterface immediately after the stroke() method on CanvasRenderingContext2D
+ objects.
@@ -89032,7 +89028,7 @@ dictionary PromiseRejectionEventInit : EventInit {
EventHandler callback function type represents a callback used for event
- handlers. It is represented in Web IDL as follows:[TreatNonObjectAsNull]
callback EventHandlerNonNull = any (Event event);
@@ -89075,8 +89071,12 @@ typedef EventHandlerNonNull? EventHandler;
callback OnErrorEventHandlerNonNull = any ((Event or DOMString) event, optional DOMString source, optional unsigned long lineno, optional unsigned long colno, optional any error);
typedef OnErrorEventHandlerNonNull? OnErrorEventHandler;
+ window.onerror = (message, source, lineno, colno, error) => { … };
+ onbeforeunload handler has a
- different return value:[TreatNonObjectAsNull]
callback OnBeforeUnloadEventHandlerNonNull = DOMString? (Event event);
@@ -97570,6 +97570,11 @@ interface WorkerNavigator {};
WorkerNavigator implements NavigatorOnLine;
WorkerNavigator implements NavigatorConcurrentHardware;
+ WorkerNavigator interface implements NavigatorID,
+ NavigatorLanguage, NavigatorOnLine, and
+ NavigatorConcurrentHardware.WorkerLocation interface is like the Location interface,
+ but lacks the assign(), replace(), reload(),
+ and ancestorOrigins members.WorkerLocation object has an associated WorkerGlobalScope object (a
WorkerGlobalScope object).
From c165065bbb5a215547a580b89b7793e5882b91eb Mon Sep 17 00:00:00 2001
From: Simon Pieters onbeforeunload handler has a
- different return value: it will be casted to a string.[TreatNonObjectAsNull]
callback OnBeforeUnloadEventHandlerNonNull = DOMString? (Event event);
From 3625325bb5c4f82e1eb77ca672eea455c378713e Mon Sep 17 00:00:00 2001
From: Domenic Denicola
The
+ WorkerGlobalScope common interfaceThe
WorkerGlobalScope common interface[Exposed=Worker]
interface WorkerGlobalScope : EventTarget {
@@ -96343,6 +96343,12 @@ interface WorkerGlobalScope : EventTarget {
attribute EventHandler onunhandledrejection;
};
+ WorkerGlobalScope serves as the base class for specific types of worker global
+ scope objects, including DedicatedWorkerGlobalScope,
+ SharedWorkerGlobalScope, and ServiceWorkerGlobalScope.WorkerGlobalScope object has an associated owner
set (a set of Document and WorkerGlobalScope
@@ -96358,15 +96364,15 @@ interface WorkerGlobalScope : EventTarget {
WorkerGlobalScope object has an associated type ("classic" or "module"). It is set during creation.
+ data-x="">classic" or "module"). It is set during creation.WorkerGlobalScope object has an associated url (null or a
- URL). It is initially null.
+ URL). It is initially null.WorkerGlobalScope object has an associated name (a string). It
- is set during creation.
+ is set during creation.WorkerGlobalScope. For
@@ -96379,20 +96385,22 @@ interface WorkerGlobalScope : EventTarget {
WorkerGlobalScope object has an associated HTTPS state
- (an HTTPS state value). It is initially "none".
+ (an HTTPS state value). It is initially "none".WorkerGlobalScope object has an associated referrer
- policy (a referrer policy). It is initially the empty string.
+ policy (a referrer policy). It is initially the empty string.WorkerGlobalScope object has an associated CSP list. It is
- initially an empty list.
+ initially an empty list.WorkerGlobalScope object has an associated module map.
It is a module map, initially empty.
selfWorkerGlobalScope object, this is not problematic as it cannot be observed from
script.
+
+
WorkerGlobalScope interface:Dedicated workers and the
+ DedicatedWorkerGlobalScope interfaceDedicated workers and the
DedicatedWorkerGlobalScope interface[Global=(Worker,DedicatedWorker),Exposed=DedicatedWorker]
interface DedicatedWorkerGlobalScope : WorkerGlobalScope {
@@ -96468,7 +96476,8 @@ interface DedicatedWorkerGlobalScope : WorkerGlobalScope
nameWorker constructor. Primarily useful for debugging.postMessage(message [,
@@ -96482,6 +96491,8 @@ interface DedicatedWorkerGlobalScope : WorkerGlobalScope
name attribute must
return the DedicatedWorkerGlobalScope object's name. Its value represents the name given to the
@@ -96492,8 +96503,6 @@ interface DedicatedWorkerGlobalScope : WorkerGlobalScope
immediately invoked the method of the same name
on the port, with the same arguments, and returned the same return value.DedicatedWorkerGlobalScope
object.
-
+ DedicatedWorkerGlobalScope
@@ -96532,7 +96541,7 @@ interface DedicatedWorkerGlobalScope : WorkerGlobalScope
- Shared workers and the
+ SharedWorkerGlobalScope interfaceShared workers and the
SharedWorkerGlobalScope interface[Global=(Worker,SharedWorker),Exposed=SharedWorker]
interface SharedWorkerGlobalScope : WorkerGlobalScope {
@@ -96543,13 +96552,17 @@ interface SharedWorkerGlobalScope : WorkerGlobalScope {
attribute EventHandler onconnect;
};
+ SharedWorkerGlobalScope object has an associated constructor origin, and constructor url. They are
initialized when the SharedWorkerGlobalScope object is created, in the run a
- worker algorithm.
+ worker algorithm.connect events on their SharedWorkerGlobalScope object for each
@@ -96558,7 +96571,10 @@ interface SharedWorkerGlobalScope : WorkerGlobalScope {
, i.e. the value given to the
+ nameSharedWorker constructor. Multiple SharedWorker objects can correspond
+ to the same shared worker (and SharedWorkerGlobalScope), by reusing the same
+ name.close()SharedWorkerGlobalScope
object.
The following are the event handlers (and their corresponding event handler event types) that must be supported, as event
handler IDL attributes, by objects implementing the SharedWorkerGlobalScope
@@ -96600,13 +96616,15 @@ interface SharedWorkerGlobalScope : WorkerGlobalScope {
from those used by units of related
similar-origin browsing contexts. This event loop has no associated
browsing context, and its task queues only have
- events, callbacks, and networking activity as tasks. These event loops are created by the run a worker algorithm.
Each WorkerGlobalScope object also has a closing flag, which must initially be false, but which can
- get set to true by the algorithms in the processing model section below.
Once the Workers communicate with other workers and with browsing
@@ -96954,6 +96974,7 @@ interface SharedWorkerGlobalScope : WorkerGlobalScope {
The task source for the tasks mentioned above is the DOM manipulation task
source.WorkerGlobalScope's closing flag is set to true, the event
@@ -96618,6 +96636,8 @@ interface SharedWorkerGlobalScope : WorkerGlobalScope {
+ The worker's lifetime
Runtime script errors
@@ -96968,7 +96989,11 @@ interface SharedWorkerGlobalScope : WorkerGlobalScope {
afterwards, the error may be reported to a developer console.
For dedicated workers, if the error is still not - handled afterwards, the user agent must queue a task to run these steps:
+ handled afterwards, the user agent must queue a task to run these + steps:will fire anerror event at the
+ Worker object.
+
+ Let notHandled be the result of firing an
@@ -96999,10 +97024,13 @@ interface SharedWorkerGlobalScope : WorkerGlobalScope {
The task source for the task mentioned above is the DOM manipulation task
source.
AbstractWorker abstract interfaceAbstractWorker abstract interfaceWorker and SharedWorker[NoInterfaceObject, Exposed=(Window,Worker)]
interface AbstractWorker {
@@ -97012,7 +97040,8 @@ interface AbstractWorker {
The following are the event handlers (and their
corresponding event handler
event types) that must be supported, as event handler IDL attributes, by
- objects implementing the AbstractWorker interface:
+ objects implementing the AbstractWorker interfaceWorker and SharedWorker objects:
When the user agent is required to set up a worker environment settings object, @@ -97148,9 +97178,10 @@ interface AbstractWorker {
Return settings object.
Worker interfaceWorker interface[Constructor(USVString scriptURL, optional WorkerOptions options), Exposed=(Window,Worker)] interface Worker : EventTarget { @@ -97281,7 +97312,7 @@ enum WorkerType { "classic", "module" }; -Shared workers and the
+SharedWorkerinterfaceShared workers and the
SharedWorkerinterface[Constructor(USVString scriptURL, optional (DOMString or WorkerOptions) options), Exposed=(Window,Worker)] @@ -97552,7 +97583,7 @@ interface NavigatorConcurrentHardware { -The
+WorkerNavigatorobjectThe
WorkerNavigatorinterface@@ -97570,15 +97601,21 @@ interface WorkerNavigator {}; WorkerNavigator implements NavigatorOnLine; WorkerNavigator implements NavigatorConcurrentHardware; -The
- +WorkerNavigatorinterface implements NavigatorID, - NavigatorLanguage, NavigatorOnLine, and - NavigatorConcurrentHardware.+-The
+ +WorkerNavigatorinterface implements a subset of theNavigator+ interface, consisting of the following APIs:Worker locations
+The
WorkerLocationinterface[Exposed=Worker] interface WorkerLocation { @@ -97598,6 +97635,8 @@ interface WorkerLocation { data-x="dom-Location-replace">replace(),reload(), andancestorOriginsmembers. +++ From 73c7ea66c7604678dbce9fd6a654a2cb402081af Mon Sep 17 00:00:00 2001 From: Domenic DenicolaA
WorkerLocationobject has an associatedWorkerGlobalScopeobject (aWorkerGlobalScopeobject). @@ -97713,6 +97752,8 @@ interface WorkerLocation {+ Return "
#", followed by fragment.Date: Tue, 20 Jun 2017 17:50:14 -0400 Subject: [PATCH 11/14] Tweak header --- source | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/source b/source index c4b8aae4477..af6984c6a35 100644 --- a/source +++ b/source @@ -221,21 +221,16 @@ Living Standard — Last Updated [DATE: 01 Jan 1901]
-HTML: The Living Standard
+HTML: The Living Standard
Developer's Edition — Last Updated [DATE: 01 Jan 1901]