You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -3260,20 +3264,26 @@ declare var ClientRectList: {
3260
3264
new(): ClientRectList;
3261
3265
};
3262
3266
3267
+
interface Clipboard extends EventTarget {
3268
+
readText(): Promise<string>;
3269
+
writeText(data: string): Promise<void>;
3270
+
}
3271
+
3272
+
declare var Clipboard: {
3273
+
prototype: Clipboard;
3274
+
new(): Clipboard;
3275
+
};
3276
+
3263
3277
/** The ClipboardEvent interface represents events providing information related to modification of the clipboard, that is cut, copy, and paste events. */
/** A CloseEvent is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket object's onclose attribute. */
3279
3289
interface CloseEvent extends Event {
@@ -10494,6 +10504,7 @@ declare var NavigationPreloadManager: {
Copy file name to clipboardExpand all lines: inputfiles/idl/DOM.commentmap.json
+1-1
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@
79
79
"document-createcdatasection": "Returns a CDATASection node whose data is data.",
80
80
"document-createcomment": "Returns a Comment node whose data is data.",
81
81
"document-createprocessinginstruction": "Returns a ProcessingInstruction node whose target is target and data is data.\nIf target does not match the Name production an\n\"InvalidCharacterError\" DOMException will be thrown.\nIf data contains \"?>\" an\n\"InvalidCharacterError\" DOMException will be thrown.",
82
-
"document-importnode": "",
82
+
"document-importnode": "Returns a copy of node. If deep is true, the copy also includes the node's descendants.\nIf node is a document or a shadow root, throws a\n\"NotSupportedError\" DOMException.",
83
83
"document-adoptnode": "Moves node from another document and returns it.\nIf node is a document, throws a \"NotSupportedError\" DOMException or, if node is a shadow root, throws a\n\"HierarchyRequestError\" DOMException.",
84
84
"documentfragment-documentfragment": "Returns a new DocumentFragment node.",
"textdecoder-fatal": "Returns true if error mode is \"fatal\", and false\notherwise.",
5
-
"textdecoder-ignorebom": "Returns true if ignore BOM flag is set, and false otherwise.",
6
-
"textdecoder-decode": "Returns the result of running encoding's decoder. The\nmethod can be invoked zero or more times with options's stream set to\ntrue, and then once without options's stream (or set to false), to process\na fragmented stream. If the invocation without options's stream (or set to\nfalse) has no input, it's clearest to omit both arguments.\nvar string = \"\", decoder = new TextDecoder(encoding), buffer;\nwhile(buffer = next_chunk()) {\nstring += decoder.decode(buffer, {stream:true});\n}\nstring += decoder.decode(); // end-of-stream\nIf the error mode is \"fatal\" and encoding's decoder returns error, throws a TypeError.",
4
+
"textdecoder-fatal": "Returns true if error mode is \"fatal\", and\nfalse otherwise.",
5
+
"textdecoder-ignorebom": "Returns true if ignore BOM flag is set, and false\notherwise.",
6
+
"textdecoder-decode": "Returns the result of running encoding's decoder.\nThe method can be invoked zero or more times with options's stream set to\ntrue, and then once without options's stream (or set to false), to process\na fragmented stream. If the invocation without options's stream (or set to\nfalse) has no input, it's clearest to omit both arguments.\nvar string = \"\", decoder = new TextDecoder(encoding), buffer;\nwhile(buffer = next_chunk()) {\nstring += decoder.decode(buffer, {stream:true});\n}\nstring += decoder.decode(); // end-of-stream\nIf the error mode is \"fatal\" and encoding's decoder returns error, throws a TypeError.",
7
7
"textencoder": "Returns a new TextEncoder object.",
8
8
"textencoder-encoding": "Returns \"utf-8\".",
9
-
"textencoder-encode": "Returns the result of running UTF-8's encoder."
9
+
"textencoder-encode": "Returns the result of running UTF-8's encoder.",
10
+
"textencoder-encodeinto": "Runs the UTF-8 encoder on source, stores the result of that operation into destination, and returns the progress made as a dictionary whereby read is the number of converted code units of source and written is the number of bytes modified in destination.",
11
+
"textdecoderstream": "Returns a new TextDecoderStream object.\nIf label is either not a label or is a label for replacement, throws a RangeError.",
12
+
"generictransformstream-writable": "Returns a writable stream which accepts string chunks and runs them through UTF-8's encoder before making them available to readable.\nTypically this will be used via the pipeThrough() method on a ReadableStream source.\ntextReadable\n.pipeThrough(new TextEncoderStream())\n.pipeTo(byteWritable);",
13
+
"textencoderstream": "Returns a new TextEncoderStream object."
Copy file name to clipboardExpand all lines: inputfiles/idl/Fullscreen.commentmap.json
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
{
2
-
"element-requestfullscreen": "Displays element fullscreen and resolves promise when done.",
2
+
"element-requestfullscreen": "Displays element fullscreen and resolves promise when done.\nWhen supplied, options's navigationUI member indicates whether showing\nnavigation UI while in fullscreen is preferred or not. If set to \"show\", navigation\nsimplicity is preferred over screen space, and if set to \"hide\", more screen space\nis preferred. User agents are always free to honor user preference over the application's. The\ndefault value \"auto\" indicates no application preference.",
3
3
"document-fullscreenenabled": "Returns true if document has the ability to display elements fullscreen\nand fullscreen is supported, or false otherwise.",
4
4
"document-exitfullscreen": "Stops document's fullscreen element from being displayed fullscreen and\nresolves promise when done.",
Copy file name to clipboardExpand all lines: inputfiles/idl/HTML - Canvas.commentmap.json
+1-1
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@
14
14
"imagebitmaprenderingcontext-canvas": "Returns the canvas element that the context is bound to.",
15
15
"imagebitmaprenderingcontext-transferfromimagebitmap": "Replaces contents of the canvas element to which context\nis bound with a transparent black bitmap whose size corresponds to the width and height\ncontent attributes of the canvas element.",
16
16
"offscreencanvas": "",
17
-
"offscreencanvas-getcontext": "Returns an object that exposes an API for drawing on the OffscreenCanvas\nobject. contextId specifies the desired API: \"2d\"or \"webgl\". options is handled by that\nAPI.\nThis specification defines the \"2d\" context below,\nwhich is similar but distinct from the \"2d\"\ncontext that is created from a canvas element. There is also a specification that\ndefines a\"webgl\"context. [WEBGL]\nReturns null if the canvas has already been initialized with another context type (e.g.,\ntrying to get a \"2d\" context after getting a\n\"webgl\" context).",
17
+
"offscreencanvas-getcontext": "Returns an object that exposes an API for drawing on the OffscreenCanvas\nobject. contextId specifies the desired API: \"2d\", \"webgl\", or \"webgl2\". options is handled by that\nAPI.\nThis specification defines the \"2d\" context below,\nwhich is similar but distinct from the \"2d\"\ncontext that is created from a canvas element. The WebGL specifications define the\n\"webgl\" and\"webgl2\"contexts. [WEBGL]\nReturns null if the canvas has already been initialized with another context type (e.g.,\ntrying to get a \"2d\" context after getting a\n\"webgl\" context).",
18
18
"offscreencanvas-height": "These attributes return the dimensions of the OffscreenCanvas object's bitmap.\nThey can be set, to replace the bitmap with a\nnew, transparent black bitmap of the specified dimensions (effectively resizing\nit).",
19
19
"offscreencanvas-converttoblob": "Returns a promise that will fulfill with a new Blob object representing a file\ncontaining the image in the OffscreenCanvas object.\nThe argument, if provided, is a dictionary that controls the encoding options of the image\nfile to be created. The type\nfield specifies the file format and has a default value of \"image/png\"; that type\nis also used if the requested type isn't supported. If the image format supports variable\nquality (such as \"image/jpeg\"), then the quality field is a number in the range 0.0\nto 1.0 inclusive indicating the desired quality level for the resulting image.",
20
20
"offscreencanvas-transfertoimagebitmap": "Returns a newly created ImageBitmap object with the image in the\nOffscreenCanvas object. The image in the OffscreenCanvas object is\nreplaced with a new blank image."
Copy file name to clipboardExpand all lines: inputfiles/idl/HTML - Embedded content.commentmap.json
-1
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,6 @@
3
3
"img-naturalheight": "These attributes return the intrinsic dimensions of the image,\nor zero if the dimensions are not known.",
4
4
"img-complete": "Returns true if the image has been completely downloaded or if\nno image is specified; otherwise, returns false.",
5
5
"img-currentsrc": "Returns the image's absolute URL.",
6
-
"img-decoding": "Returns the image decoding hint set for this image.",
7
6
"img-decode": "This method causes the user agent to decode the\nimage in parallel, returning a promise that fulfills when decoding is complete.\nThe promise will be rejected with an \"EncodingError\"\nDOMException if the image cannot be decoded.",
8
7
"image": "Returns a new img element, with the width and height attributes set to the values\npassed in the relevant arguments, if applicable."
Copy file name to clipboardExpand all lines: inputfiles/idl/HTML - Form control infrastructure.commentmap.json
+2-1
Original file line number
Diff line number
Diff line change
@@ -6,5 +6,6 @@
6
6
"cva-validity": "Returns true if the element's value has no validity problems; false otherwise.",
7
7
"cva-checkvalidity": "Returns true if the element's value has no validity problems; false otherwise. Fires an invalid event at the element in the latter case.",
8
8
"cva-reportvalidity": "Returns true if the element's value has no validity problems; otherwise, returns false, fires\nan invalid event at the element, and (if the event isn't\ncanceled) reports the problem to the user.",
9
-
"cva-validationmessage": "Returns the error message that would be shown to the user if the element was to be checked\nfor validity."
9
+
"cva-validationmessage": "Returns the error message that would be shown to the user if the element was to be checked\nfor validity.",
10
+
"formdataevent-formdata": "Returns a FormData object representing names and values of elements associated\nto the target form. Operations on the FormData object will affect\nform data to be submitted."
0 commit comments