Skip to content

Commit 98a884e

Browse files
authored
Manually update to idl@3.75.2 (#2472)
Co-authored-by: saschanaz <saschanaz@users.noreply.github.com>
1 parent ff29de5 commit 98a884e

22 files changed

Lines changed: 126 additions & 126 deletions

baselines/audioworklet.generated.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1668,7 +1668,7 @@ declare namespace WebAssembly {
16681668

16691669
var Module: {
16701670
prototype: Module;
1671-
new(bytes: BufferSource, options?: WebAssemblyCompileOptions): Module;
1671+
new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module;
16721672
/**
16731673
* The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name.
16741674
*
@@ -1819,12 +1819,12 @@ declare namespace WebAssembly {
18191819
type ValueType = keyof ValueTypeMap;
18201820
var JSTag: Tag;
18211821
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */
1822-
function compile(bytes: BufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
1822+
function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
18231823
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */
1824-
function instantiate(bytes: BufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
1824+
function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
18251825
function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;
18261826
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */
1827-
function validate(bytes: BufferSource, options?: WebAssemblyCompileOptions): boolean;
1827+
function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean;
18281828
}
18291829

18301830
/** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */
@@ -2035,7 +2035,7 @@ type ReadableStreamController<T> = ReadableStreamDefaultController<T> | Readable
20352035
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
20362036
type ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBYOBReader;
20372037
type Transferable = MessagePort | ReadableStream | WritableStream | TransformStream | ArrayBuffer;
2038-
type CompressionFormat = "deflate" | "deflate-raw" | "gzip";
2038+
type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip";
20392039
type ReadableStreamReaderMode = "byob";
20402040
type ReadableStreamType = "bytes";
20412041

baselines/dom.generated.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42846,7 +42846,7 @@ declare namespace WebAssembly {
4284642846

4284742847
var Module: {
4284842848
prototype: Module;
42849-
new(bytes: BufferSource, options?: WebAssemblyCompileOptions): Module;
42849+
new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module;
4285042850
/**
4285142851
* The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name.
4285242852
*
@@ -42997,16 +42997,16 @@ declare namespace WebAssembly {
4299742997
type ValueType = keyof ValueTypeMap;
4299842998
var JSTag: Tag;
4299942999
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */
43000-
function compile(bytes: BufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
43000+
function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
4300143001
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */
4300243002
function compileStreaming(source: Response | PromiseLike<Response>, options?: WebAssemblyCompileOptions): Promise<Module>;
4300343003
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */
43004-
function instantiate(bytes: BufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
43004+
function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
4300543005
function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;
4300643006
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) */
4300743007
function instantiateStreaming(source: Response | PromiseLike<Response>, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
4300843008
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */
43009-
function validate(bytes: BufferSource, options?: WebAssemblyCompileOptions): boolean;
43009+
function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean;
4301043010
}
4301143011

4301243012
/** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */
@@ -44514,7 +44514,7 @@ type ColorGamut = "p3" | "rec2020" | "srgb";
4451444514
type ColorSpaceConversion = "default" | "none";
4451544515
type CompositeOperation = "accumulate" | "add" | "replace";
4451644516
type CompositeOperationOrAuto = "accumulate" | "add" | "auto" | "replace";
44517-
type CompressionFormat = "deflate" | "deflate-raw" | "gzip";
44517+
type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip";
4451844518
type CookieSameSite = "lax" | "none" | "strict";
4451944519
type CredentialMediationRequirement = "conditional" | "optional" | "required" | "silent";
4452044520
type DOMParserSupportedType = "application/xhtml+xml" | "application/xml" | "image/svg+xml" | "text/html" | "text/xml";
@@ -44665,7 +44665,7 @@ type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origi
4466544665
type RemotePlaybackState = "connected" | "connecting" | "disconnected";
4466644666
type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload";
4466744667
type RequestCredentials = "include" | "omit" | "same-origin";
44668-
type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
44668+
type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "json" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
4466944669
type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin";
4467044670
type RequestPriority = "auto" | "high" | "low";
4467144671
type RequestRedirect = "error" | "follow" | "manual";

baselines/serviceworker.generated.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12897,7 +12897,7 @@ declare namespace WebAssembly {
1289712897

1289812898
var Module: {
1289912899
prototype: Module;
12900-
new(bytes: BufferSource, options?: WebAssemblyCompileOptions): Module;
12900+
new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module;
1290112901
/**
1290212902
* The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name.
1290312903
*
@@ -13048,16 +13048,16 @@ declare namespace WebAssembly {
1304813048
type ValueType = keyof ValueTypeMap;
1304913049
var JSTag: Tag;
1305013050
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */
13051-
function compile(bytes: BufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
13051+
function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
1305213052
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */
1305313053
function compileStreaming(source: Response | PromiseLike<Response>, options?: WebAssemblyCompileOptions): Promise<Module>;
1305413054
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */
13055-
function instantiate(bytes: BufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
13055+
function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
1305613056
function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;
1305713057
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) */
1305813058
function instantiateStreaming(source: Response | PromiseLike<Response>, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
1305913059
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */
13060-
function validate(bytes: BufferSource, options?: WebAssemblyCompileOptions): boolean;
13060+
function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean;
1306113061
}
1306213062

1306313063
/** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */
@@ -13496,7 +13496,7 @@ type CanvasTextRendering = "auto" | "geometricPrecision" | "optimizeLegibility"
1349613496
type ClientTypes = "all" | "sharedworker" | "window" | "worker";
1349713497
type ColorGamut = "p3" | "rec2020" | "srgb";
1349813498
type ColorSpaceConversion = "default" | "none";
13499-
type CompressionFormat = "deflate" | "deflate-raw" | "gzip";
13499+
type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip";
1350013500
type CookieSameSite = "lax" | "none" | "strict";
1350113501
type DocumentVisibilityState = "hidden" | "visible";
1350213502
type EndingType = "native" | "transparent";
@@ -13568,7 +13568,7 @@ type ReadableStreamType = "bytes";
1356813568
type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url";
1356913569
type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload";
1357013570
type RequestCredentials = "include" | "omit" | "same-origin";
13571-
type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
13571+
type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "json" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
1357213572
type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin";
1357313573
type RequestPriority = "auto" | "high" | "low";
1357413574
type RequestRedirect = "error" | "follow" | "manual";

baselines/sharedworker.generated.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12623,7 +12623,7 @@ declare namespace WebAssembly {
1262312623

1262412624
var Module: {
1262512625
prototype: Module;
12626-
new(bytes: BufferSource, options?: WebAssemblyCompileOptions): Module;
12626+
new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module;
1262712627
/**
1262812628
* The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name.
1262912629
*
@@ -12774,16 +12774,16 @@ declare namespace WebAssembly {
1277412774
type ValueType = keyof ValueTypeMap;
1277512775
var JSTag: Tag;
1277612776
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */
12777-
function compile(bytes: BufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
12777+
function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
1277812778
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */
1277912779
function compileStreaming(source: Response | PromiseLike<Response>, options?: WebAssemblyCompileOptions): Promise<Module>;
1278012780
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */
12781-
function instantiate(bytes: BufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
12781+
function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
1278212782
function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;
1278312783
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) */
1278412784
function instantiateStreaming(source: Response | PromiseLike<Response>, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
1278512785
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */
12786-
function validate(bytes: BufferSource, options?: WebAssemblyCompileOptions): boolean;
12786+
function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean;
1278712787
}
1278812788

1278912789
/** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */
@@ -13184,7 +13184,7 @@ type CanvasTextRendering = "auto" | "geometricPrecision" | "optimizeLegibility"
1318413184
type ClientTypes = "all" | "sharedworker" | "window" | "worker";
1318513185
type ColorGamut = "p3" | "rec2020" | "srgb";
1318613186
type ColorSpaceConversion = "default" | "none";
13187-
type CompressionFormat = "deflate" | "deflate-raw" | "gzip";
13187+
type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip";
1318813188
type EndingType = "native" | "transparent";
1318913189
type FileSystemHandleKind = "directory" | "file";
1319013190
type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
@@ -13253,7 +13253,7 @@ type ReadableStreamType = "bytes";
1325313253
type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url";
1325413254
type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload";
1325513255
type RequestCredentials = "include" | "omit" | "same-origin";
13256-
type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
13256+
type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "json" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
1325713257
type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin";
1325813258
type RequestPriority = "auto" | "high" | "low";
1325913259
type RequestRedirect = "error" | "follow" | "manual";

baselines/ts5.5/audioworklet.generated.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1665,7 +1665,7 @@ declare namespace WebAssembly {
16651665

16661666
var Module: {
16671667
prototype: Module;
1668-
new(bytes: BufferSource, options?: WebAssemblyCompileOptions): Module;
1668+
new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module;
16691669
/**
16701670
* The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name.
16711671
*
@@ -1816,12 +1816,12 @@ declare namespace WebAssembly {
18161816
type ValueType = keyof ValueTypeMap;
18171817
var JSTag: Tag;
18181818
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */
1819-
function compile(bytes: BufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
1819+
function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
18201820
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */
1821-
function instantiate(bytes: BufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
1821+
function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
18221822
function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;
18231823
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */
1824-
function validate(bytes: BufferSource, options?: WebAssemblyCompileOptions): boolean;
1824+
function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean;
18251825
}
18261826

18271827
/** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */
@@ -2032,6 +2032,6 @@ type ReadableStreamController<T> = ReadableStreamDefaultController<T> | Readable
20322032
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
20332033
type ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBYOBReader;
20342034
type Transferable = MessagePort | ReadableStream | WritableStream | TransformStream | ArrayBuffer;
2035-
type CompressionFormat = "deflate" | "deflate-raw" | "gzip";
2035+
type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip";
20362036
type ReadableStreamReaderMode = "byob";
20372037
type ReadableStreamType = "bytes";

0 commit comments

Comments
 (0)