diff --git a/source b/source index 8432b48587a..22c931161fc 100755 --- a/source +++ b/source @@ -1959,7 +1959,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
If nameList contains name,
- reject p with a TypeError
and abort these steps.
TypeError
and return.
Do some potentially lengthy work.
If nameList contains name,
- reject p with a TypeError
and abort these steps.
TypeError
and return.
Do some potentially lengthy work.
Let new candidate section be the section that contains candidate section in @@ -18458,7 +18458,7 @@ interface HTMLLIElement : HTMLElement { numbering be 1.
Loop: If i is greater than the number of list items that owner owns, then abort this algorithm; all + data-x="list owner">list items that owner owns, then return; all of owner's owned list items have been assigned ordinal values.
If the image has a title
attribute whose value is not
- the empty string, then the value of that attribute is the caption information; abort these
- steps.
If the image is a descendant of a figure
element that has a child
@@ -27398,7 +27397,7 @@ was an English <a href="/wiki/Music_hall">music hall</a> singer, ...
at the img
element.
⌛ Abort this algorithm.
⌛ return.
error
at the img
element, fire an event named loadend
at the img
element, and abort these
- steps.
+ data-x="event-loadend">loadend at the img
element.
error
at the img
element,
fire an event named loadend
at the img
element, and abort these
- steps.
+ data-x="event-loadend">loadend at the img
element.
Let el's source set be source set.
Abort this algorithm.
Return.
Let el's source set be source set.
Abort this algorithm.
Return.
⌛ If the img
element does not use srcset
or
picture
, its node document is not the active
document, has image data whose resource type is multipart/x-mixed-replace
, or
- the pending request is not null, then abort this algorithm.
If there exists an ancestor browsing context whose active document's URL, ignoring fragments, is equal to url, then abort these - steps.
If another task has since been queued to run
- the embed
element setup steps for this element, then abort these
- steps.
embed
element setup steps for this element, then return.
If the poster
attribute's value is the empty string
- or if the attribute is absent, then there is no poster frame; abort these
- steps.
Parse the poster
attribute's value relative to the element's node
- document. If this fails, then there is no poster frame; abort these
- steps.
Let request be a new request whose url is the resulting URL record, @@ -35274,8 +35267,7 @@ interface MediaError { remaining steps of this algorithm. (Steps in the synchronous section are marked with ⌛.)
⌛ If the media element is in a document, abort these - steps.
⌛ If the media element is in a document, return.
⌛ Run the internal pause steps for the media element.
@@ -43085,8 +43077,7 @@ interface HTMLFormElement : HTMLElement {If the form
element is marked as locked for reset, then abort these
- steps.
If the form
element is marked as locked for reset, then return.
Mark the form
element as locked for reset.
The activation behavior for input
elements are these steps:
If this element is not mutable, then abort these - steps.
If this element is not mutable, then return.
Run this element's input activation behavior, if any, and do nothing otherwise.
If this element is not mutable, then abort these - steps.
If this element is not mutable, then return.
If this element's type
attribute is in the Checkbox state, then set this element's HTMLInputElement : HTMLElement {
steps:
If the element is not mutable, then abort these - steps.
If the element is not mutable, then return.
If the element's If start is greater than end, then throw an
- "type
attribute is in the Checkbox state, then set the element's
IndexSizeError
" DOMException
and abort these
- steps.IndexSizeError
" DOMException
.
If start is greater than the length of the value of the text control, then set it to the length of the value of the text control.
invalid
at the form element and then abort these
- steps.invalid
at the form element and then return.If the submitted from submit()
method flag
@@ -55648,8 +55634,7 @@ fur
Parse the URL action, relative - to the submitter element's node document. If this fails, abort these - steps.
Let parsed action be the resulting URL record.
InvalidStateError
" DOMException
.
If subject is not connected, then throw an
- "InvalidStateError
" DOMException
and abort these
- steps.
InvalidStateError
" DOMException
.
Add an open
attribute to subject, whose value is the empty string.
If this returns null, set the script's - script to null and abort these substeps; the script is ready.
Fetch the
descendants of and instantiate script, given the destination " If this BlobCallback = void (Blob? blob);
canvas
element's context
mode is not set to none, throw an
- "InvalidStateError
" DOMException
and abort these
- steps.InvalidStateError
" DOMException
.
Let offscreenCanvas be a new OffscreenCanvas
object with its
width and height equal to the values of the width
@@ -63852,8 +63835,7 @@ v6DVT (also check for '- -' bits in the part above) -->
Let length be the number of bytes in source.
If length is not a nonzero integral multiple of four, then throw an
- "InvalidStateError
" DOMException
and abort these
- steps.
InvalidStateError
" DOMException
.
Let length be length divided by four.
@@ -64018,8 +64000,7 @@ v6DVT (also check for '- -' bits in the part above) -->If imagedata's data
attribute value's
[[Detached]] internal slot value is true, then throw an
- "InvalidStateError
" DOMException
and abort these
- steps.
InvalidStateError
" DOMException
.
If the value of this OffscreenCanvas
object's [[Detached]]
internal slot is set to true, then return a promise rejected with an
- "InvalidStateError
" DOMException
and abort these
- steps.
InvalidStateError
" DOMException
.If this If this OffscreenCanvas
object's context mode is OffscreenCanvas : EventTarget {
OffscreenCanvas
object's bitmap has no pixels (i.e. either its
horizontal dimension or its vertical dimension is zero) then return a promise rejected with an
- "IndexSizeError
" DOMException
and abort these
- steps.IndexSizeError
" DOMException
.
Let result be a new promise object.
If this OffscreenCanvas
object's context mode is set to none, then throw an
- "InvalidStateError
" DOMException
and abort these
- steps.
InvalidStateError
" DOMException
.
Let image be a newly created If element is custom, abort these
- steps. If element is custom, return. This can occur due to reentrant invocation of this algorithm, as in the following
@@ -66820,8 +66797,8 @@ customElements.define("x-foo", class extends HTMLElement {
Add element to the backup element queue. If the processing the backup element queue flag is set, abort this
- algorithm. If the processing the backup element queue flag is set, return.
+ Set the processing the backup element queue flag. If there are no properties named subname in subitem, then abort these substeps, returning the empty string. If there are no properties named subname in subitem, then return the empty string. If the value of the first property named subname in subitem is an item, then abort these substeps, returning the empty string. Return the result of escaping the vCard text string given by the value of the first property named subname in subitem. If this element is a form control that is disabled, then return. If this element's click in progress flag is set, then abort these
- steps. If this element's click in progress flag is set, then return. Set this element's click in progress flag. If old focus target is inert, then abort these
- steps. If old focus target is inert, then return. If the drag data store's mode is
- the protected mode, return the empty string and abort these
- steps. Let format be the first argument, converted to ASCII
lowercase. Remove the ith item from the drag data store. If the drag data item kind is not Plain Unicode string, abort these
- steps. The callback is never invoked. If the drag data item kind is not Plain Unicode string, then return. The callback is never invoked. Otherwise, queue a task to invoke callback, passing the
actual data of the item represented by the If urls is still empty, abort these substeps. If urls is still empty, then return. Let url string be the result of concatenating the strings in urls,
in the order they were added, separated by a U+000D CARRIAGE RETURN U+000A LINE FEED character
@@ -76221,8 +76193,7 @@ dictionary DragEventInit : MouseEventInit {
Fire a DND event named If the event is canceled, then the drag-and-drop operation should not occur; abort these
- steps. Since events with no event listeners registered are, almost by definition, never
@@ -77527,8 +77498,7 @@ console.assert(iframeWindow.frameElement === null);
If this algorithm is triggered by user activation and A's
active document's active sandboxing flag set has its sandboxed
- top-level navigation with user activation browsing context flag set, then abort these
- steps negatively. Otherwise, If this algorithm is not triggered by user activation and
A's active document's active sandboxing flag set has its
@@ -81939,8 +81909,7 @@ interface Location { // but see also navigation algorithm gets canceled
while this step is running, the prompt to unload algorithm must nonetheless be run
@@ -82371,7 +82340,7 @@ interface Location { // but see also HTML document section,
- and then, once they have completed, abort this navigate algorithm.
+ and then, once they have completed, return.
Non-document content: If, given type, the new
resource is to be handled by displaying some sort of inline content, e.g., a native rendering of
the content or an error message because the specified type is not supported, then display the inline content, and then abort these
- steps. Otherwise, the document's type is such that the resource will not affect
browsingContext, e.g., because the resource is to be handed to an external application
@@ -83235,8 +83203,8 @@ interface Location { // but see also position to the
- next character after those. Otherwise, this isn't a cache manifest; abort this algorithm with a
+ next character after those. Otherwise, this isn't a cache manifest; return with a
failure while checking for the magic signature. If the character at position is neither a U+0020 SPACE character, a
U+0009 CHARACTER TABULATION (tab) character, U+000A LINE FEED (LF) character, nor a U+000D
- CARRIAGE RETURN (CR) character, then this isn't a cache manifest; abort this algorithm with a
+ CARRIAGE RETURN (CR) character, then this isn't a cache manifest; return with a
failure while checking for the magic signature. This is a cache manifest. The algorithm cannot fail beyond
@@ -85338,7 +85306,7 @@ NETWORK:
If these steps are being run in parallel for any other URLs in file
- list, then abort these steps for those other URLs. Run the cache failure
+ list, then abort this algorithm for those other URLs. Run the cache failure
steps. Redirects are fatal because they are either indicative of a network problem
@@ -86168,8 +86136,7 @@ interface ApplicationCache : EventTarget {
Check that Let cache be the application cache with which the
If response's type is " If response's Content Type metadata, if
any, specifies a character encoding, and the user agent supports that encoding, then set
@@ -86825,7 +86792,7 @@ interface NavigatorOnLine {
If response's type is " Let source text be the result of UTF-8
decoding response's body. If moduleMap[url] exists,
- asynchronously complete this algorithm with moduleMap[url], and abort these
- steps. Set moduleMap[url] to " If any of the following conditions are met, set
moduleMap[url] to null, asynchronously complete this algorithm with null,
- and abort these steps: response's type is " If module script's record is null,
- then asynchronously complete this algorithm with module script and abort these
- steps. Let record be module script's record. If target is in error reporting mode, then abort these
- steps; the error is not handled. If target is in error reporting mode, then return; the error is not handled. Let target be in error reporting mode. Insert an explicit "EOF" character at the end of the parser's input
stream. If there is a pending parsing-blocking script, then abort these
- steps. If there is a pending parsing-blocking script, then return. Run the tokenizer, processing resulting tokens as they are emitted, and stopping when the
tokenizer reaches the explicit "EOF" character or task's substeps. The second argument must be preprocessed as follows: If the string does not contain the substring " If the string does not contain the substring " Parse the string relative to the relevant settings
object of this If the If the Create a new If the Create a new Read the Apply the image sniffing rules to
determine the file format of the image data, with MIME type of the If the image object's Create a new If workerIsSecureContext is not callerIsSecureContext, then
queue a task to fire an event named
- Associate worker with worker global scope. If parent document's origin is not the same
- origin as new document's origin, then abort these
- substeps. If parent document's character encoding is not an ASCII-compatible encoding, then
- abort these substeps. Return parent document's character encoding, with the StorageEventInit : EventInit {
Otherwise, if the user agent has information on the likely encoding for this page, e.g.
based on the encoding of the page when it was last visited, then return that encoding, with the
- confidence tentative, and abort these
- steps. Otherwise, navigate to the document again, with
replacement enabled, and using the same source browsing context, but
@@ -101935,8 +101889,7 @@ dictionary StorageEventInit : EventInit {
data-x="insertion mode: in cell">in cell" and return. If node is a If node is a If node is a If last table has a parent node, then let adjusted insertion location be inside last table's parent
- node, immediately before last table, and abort these
- substeps. If the Set the ImageBitmap
object that references
the same underlying bitmap data as this OffscreenCanvas
object's
-
InvalidStateError
" DOMException
and abort these
- steps.
+ "InvalidStateError
" DOMException
.
DataTransferItem
object as the
@@ -76178,7 +76150,7 @@ dictionary DragEventInit : MouseEventInit {
dragstart
at the
source node.
text/vtt
"multipart/x-mixed-replace
"ApplicationCache
object's cache host is associated
with an application cache. If it is not, then throw an
- "InvalidStateError
" DOMException
and abort these
- steps.InvalidStateError
" DOMException
and return.ApplicationCache
object's cache host is associated. (By definition,
@@ -86764,7 +86731,7 @@ interface NavigatorOnLine {
error
", or response's status is not an ok status, asynchronously
- complete this algorithm with null, and abort these steps.error
", or response's status is not an ok status, asynchronously
- complete this algorithm with null, and abort these steps.fetching
".
NavigatorOnLine {
-
-
%s
", abort these
- steps. There's no matching handler.%s
", return. There's no matching handler.NavigatorContentUtils
object. If this fails, then throw a
@@ -93077,15 +93039,13 @@ dictionary ImageBitmapOptions {
video
element's networkState
attribute is NETWORK_EMPTY
, then return a promise rejected with an
- "InvalidStateError
" DOMException
and abort these
- steps.InvalidStateError
" DOMException
.video
element's readyState
attribute is either HAVE_NOTHING
or HAVE_METADATA
, then return a promise rejected with an
- "InvalidStateError
" DOMException
and abort these
- steps.InvalidStateError
" DOMException
.
ImageBitmap
object.canvas
element's bitmap has either a horizontal dimension or a
vertical dimension equal to zero, then return a promise rejected with an
- "InvalidStateError
" DOMException
and abort these
- steps.InvalidStateError
" DOMException
.
ImageBitmap
object.Blob
object's data. If an error
occurs during reading of the object, then reject the promise with an
- "InvalidStateError
" DOMException
, and abort these
- steps.InvalidStateError
" DOMException
, and return.
Blob
(as given
@@ -93205,8 +93163,7 @@ dictionary ImageBitmapOptions {
data
attribute
value's [[Detached]] internal slot value is true, return a promise rejected with
- an "InvalidStateError
" DOMException
and abort these
- steps.InvalidStateError
" DOMException
.
ImageBitmap
object.error
at worker and abort these subsubsteps.
+ error
at worker abort these subsubsteps.
tr
element, then switch the insertion
- mode to "in row" and abort these
- steps.tbody
, thead
, or
tfoot
element, then switch the insertion mode to "StorageEventInit : EventInit {
insertion mode to "in table" and return.template
element, then switch the
- insertion mode to the current template insertion mode and abort these
- steps.
-
Document
's page showing flag is true, then abort this
- task (i.e. don't fire the event below).Document
's page showing flag to true.