Skip to content

Commit

Permalink
Update core dependencies (#1407)
Browse files Browse the repository at this point in the history
Co-authored-by: saschanaz <saschanaz@users.noreply.github.com>
  • Loading branch information
saschanaz and saschanaz committed Sep 21, 2022
1 parent 5712b44 commit cef584b
Show file tree
Hide file tree
Showing 12 changed files with 225 additions and 129 deletions.
38 changes: 37 additions & 1 deletion baselines/dom.generated.d.ts
Expand Up @@ -2182,7 +2182,7 @@ declare var AnimationPlaybackEvent: {
};

interface AnimationTimeline {
readonly currentTime: number | null;
readonly currentTime: CSSNumberish | null;
}

declare var AnimationTimeline: {
Expand Down Expand Up @@ -2435,6 +2435,8 @@ declare var AuthenticatorAssertionResponse: {
interface AuthenticatorAttestationResponse extends AuthenticatorResponse {
readonly attestationObject: ArrayBuffer;
getAuthenticatorData(): ArrayBuffer;
getPublicKey(): ArrayBuffer | null;
getPublicKeyAlgorithm(): COSEAlgorithmIdentifier;
getTransports(): string[];
}

Expand Down Expand Up @@ -2634,6 +2636,14 @@ declare var CSSConditionRule: {
new(): CSSConditionRule;
};

interface CSSContainerRule extends CSSConditionRule {
}

declare var CSSContainerRule: {
prototype: CSSContainerRule;
new(): CSSContainerRule;
};

interface CSSCounterStyleRule extends CSSRule {
additiveSymbols: string;
fallback: string;
Expand Down Expand Up @@ -2943,6 +2953,9 @@ interface CSSStyleDeclaration {
columnWidth: string;
columns: string;
contain: string;
container: string;
containerName: string;
containerType: string;
content: string;
counterIncrement: string;
counterReset: string;
Expand Down Expand Up @@ -3011,6 +3024,7 @@ interface CSSStyleDeclaration {
gridTemplateColumns: string;
gridTemplateRows: string;
height: string;
hyphenateCharacter: string;
hyphens: string;
/** @deprecated */
imageOrientation: string;
Expand Down Expand Up @@ -3544,6 +3558,7 @@ interface CanvasPath {
moveTo(x: number, y: number): void;
quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void;
rect(x: number, y: number, w: number, h: number): void;
roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | (number | DOMPointInit)[]): void;
}

interface CanvasPathDrawingStyles {
Expand Down Expand Up @@ -4950,6 +4965,17 @@ interface EXT_texture_filter_anisotropic {
readonly TEXTURE_MAX_ANISOTROPY_EXT: GLenum;
}

interface EXT_texture_norm16 {
readonly R16_EXT: GLenum;
readonly R16_SNORM_EXT: GLenum;
readonly RG16_EXT: GLenum;
readonly RG16_SNORM_EXT: GLenum;
readonly RGB16_EXT: GLenum;
readonly RGB16_SNORM_EXT: GLenum;
readonly RGBA16_EXT: GLenum;
readonly RGBA16_SNORM_EXT: GLenum;
}

interface ElementEventMap {
"fullscreenchange": Event;
"fullscreenerror": Event;
Expand Down Expand Up @@ -10239,6 +10265,16 @@ declare var Notification: {
requestPermission(deprecatedCallback?: NotificationPermissionCallback): Promise<NotificationPermission>;
};

interface OES_draw_buffers_indexed {
blendEquationSeparateiOES(buf: GLuint, modeRGB: GLenum, modeAlpha: GLenum): void;
blendEquationiOES(buf: GLuint, mode: GLenum): void;
blendFuncSeparateiOES(buf: GLuint, srcRGB: GLenum, dstRGB: GLenum, srcAlpha: GLenum, dstAlpha: GLenum): void;
blendFunciOES(buf: GLuint, src: GLenum, dst: GLenum): void;
colorMaskiOES(buf: GLuint, r: GLboolean, g: GLboolean, b: GLboolean, a: GLboolean): void;
disableiOES(target: GLenum, index: GLuint): void;
enableiOES(target: GLenum, index: GLuint): void;
}

/** The OES_element_index_uint extension is part of the WebGL API and adds support for gl.UNSIGNED_INT types to WebGLRenderingContext.drawElements(). */
interface OES_element_index_uint {
}
Expand Down
4 changes: 4 additions & 0 deletions baselines/dom.iterable.generated.d.ts
Expand Up @@ -26,6 +26,10 @@ interface Cache {
addAll(requests: Iterable<RequestInfo>): Promise<void>;
}

interface CanvasPath {
roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | Iterable<number | DOMPointInit>): void;
}

interface CanvasPathDrawingStyles {
setLineDash(segments: Iterable<number>): void;
}
Expand Down
22 changes: 22 additions & 0 deletions baselines/serviceworker.generated.d.ts
Expand Up @@ -869,6 +869,7 @@ interface CanvasPath {
moveTo(x: number, y: number): void;
quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void;
rect(x: number, y: number, w: number, h: number): void;
roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | (number | DOMPointInit)[]): void;
}

/** An opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method. */
Expand Down Expand Up @@ -1281,6 +1282,17 @@ interface EXT_texture_filter_anisotropic {
readonly TEXTURE_MAX_ANISOTROPY_EXT: GLenum;
}

interface EXT_texture_norm16 {
readonly R16_EXT: GLenum;
readonly R16_SNORM_EXT: GLenum;
readonly RG16_EXT: GLenum;
readonly RG16_SNORM_EXT: GLenum;
readonly RGB16_EXT: GLenum;
readonly RGB16_SNORM_EXT: GLenum;
readonly RGBA16_EXT: GLenum;
readonly RGBA16_SNORM_EXT: GLenum;
}

/** Events providing information related to errors in scripts or in files. */
interface ErrorEvent extends Event {
readonly colno: number;
Expand Down Expand Up @@ -2301,6 +2313,16 @@ declare var NotificationEvent: {
new(type: string, eventInitDict: NotificationEventInit): NotificationEvent;
};

interface OES_draw_buffers_indexed {
blendEquationSeparateiOES(buf: GLuint, modeRGB: GLenum, modeAlpha: GLenum): void;
blendEquationiOES(buf: GLuint, mode: GLenum): void;
blendFuncSeparateiOES(buf: GLuint, srcRGB: GLenum, dstRGB: GLenum, srcAlpha: GLenum, dstAlpha: GLenum): void;
blendFunciOES(buf: GLuint, src: GLenum, dst: GLenum): void;
colorMaskiOES(buf: GLuint, r: GLboolean, g: GLboolean, b: GLboolean, a: GLboolean): void;
disableiOES(target: GLenum, index: GLuint): void;
enableiOES(target: GLenum, index: GLuint): void;
}

/** The OES_element_index_uint extension is part of the WebGL API and adds support for gl.UNSIGNED_INT types to WebGLRenderingContext.drawElements(). */
interface OES_element_index_uint {
}
Expand Down
4 changes: 4 additions & 0 deletions baselines/serviceworker.iterable.generated.d.ts
Expand Up @@ -6,6 +6,10 @@ interface Cache {
addAll(requests: Iterable<RequestInfo>): Promise<void>;
}

interface CanvasPath {
roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | Iterable<number | DOMPointInit>): void;
}

interface DOMStringList {
[Symbol.iterator](): IterableIterator<string>;
}
Expand Down
22 changes: 22 additions & 0 deletions baselines/sharedworker.generated.d.ts
Expand Up @@ -841,6 +841,7 @@ interface CanvasPath {
moveTo(x: number, y: number): void;
quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void;
rect(x: number, y: number, w: number, h: number): void;
roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | (number | DOMPointInit)[]): void;
}

/** An opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method. */
Expand Down Expand Up @@ -1225,6 +1226,17 @@ interface EXT_texture_filter_anisotropic {
readonly TEXTURE_MAX_ANISOTROPY_EXT: GLenum;
}

interface EXT_texture_norm16 {
readonly R16_EXT: GLenum;
readonly R16_SNORM_EXT: GLenum;
readonly RG16_EXT: GLenum;
readonly RG16_SNORM_EXT: GLenum;
readonly RGB16_EXT: GLenum;
readonly RGB16_SNORM_EXT: GLenum;
readonly RGBA16_EXT: GLenum;
readonly RGBA16_SNORM_EXT: GLenum;
}

/** Events providing information related to errors in scripts or in files. */
interface ErrorEvent extends Event {
readonly colno: number;
Expand Down Expand Up @@ -2209,6 +2221,16 @@ declare var Notification: {
readonly permission: NotificationPermission;
};

interface OES_draw_buffers_indexed {
blendEquationSeparateiOES(buf: GLuint, modeRGB: GLenum, modeAlpha: GLenum): void;
blendEquationiOES(buf: GLuint, mode: GLenum): void;
blendFuncSeparateiOES(buf: GLuint, srcRGB: GLenum, dstRGB: GLenum, srcAlpha: GLenum, dstAlpha: GLenum): void;
blendFunciOES(buf: GLuint, src: GLenum, dst: GLenum): void;
colorMaskiOES(buf: GLuint, r: GLboolean, g: GLboolean, b: GLboolean, a: GLboolean): void;
disableiOES(target: GLenum, index: GLuint): void;
enableiOES(target: GLenum, index: GLuint): void;
}

/** The OES_element_index_uint extension is part of the WebGL API and adds support for gl.UNSIGNED_INT types to WebGLRenderingContext.drawElements(). */
interface OES_element_index_uint {
}
Expand Down
4 changes: 4 additions & 0 deletions baselines/sharedworker.iterable.generated.d.ts
Expand Up @@ -6,6 +6,10 @@ interface Cache {
addAll(requests: Iterable<RequestInfo>): Promise<void>;
}

interface CanvasPath {
roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | Iterable<number | DOMPointInit>): void;
}

interface DOMStringList {
[Symbol.iterator](): IterableIterator<string>;
}
Expand Down
22 changes: 22 additions & 0 deletions baselines/webworker.generated.d.ts
Expand Up @@ -903,6 +903,7 @@ interface CanvasPath {
moveTo(x: number, y: number): void;
quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void;
rect(x: number, y: number, w: number, h: number): void;
roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | (number | DOMPointInit)[]): void;
}

/** An opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method. */
Expand Down Expand Up @@ -1342,6 +1343,17 @@ interface EXT_texture_filter_anisotropic {
readonly TEXTURE_MAX_ANISOTROPY_EXT: GLenum;
}

interface EXT_texture_norm16 {
readonly R16_EXT: GLenum;
readonly R16_SNORM_EXT: GLenum;
readonly RG16_EXT: GLenum;
readonly RG16_SNORM_EXT: GLenum;
readonly RGB16_EXT: GLenum;
readonly RGB16_SNORM_EXT: GLenum;
readonly RGBA16_EXT: GLenum;
readonly RGBA16_SNORM_EXT: GLenum;
}

/** Events providing information related to errors in scripts or in files. */
interface ErrorEvent extends Event {
readonly colno: number;
Expand Down Expand Up @@ -2376,6 +2388,16 @@ declare var NotificationEvent: {
new(type: string, eventInitDict: NotificationEventInit): NotificationEvent;
};

interface OES_draw_buffers_indexed {
blendEquationSeparateiOES(buf: GLuint, modeRGB: GLenum, modeAlpha: GLenum): void;
blendEquationiOES(buf: GLuint, mode: GLenum): void;
blendFuncSeparateiOES(buf: GLuint, srcRGB: GLenum, dstRGB: GLenum, srcAlpha: GLenum, dstAlpha: GLenum): void;
blendFunciOES(buf: GLuint, src: GLenum, dst: GLenum): void;
colorMaskiOES(buf: GLuint, r: GLboolean, g: GLboolean, b: GLboolean, a: GLboolean): void;
disableiOES(target: GLenum, index: GLuint): void;
enableiOES(target: GLenum, index: GLuint): void;
}

/** The OES_element_index_uint extension is part of the WebGL API and adds support for gl.UNSIGNED_INT types to WebGLRenderingContext.drawElements(). */
interface OES_element_index_uint {
}
Expand Down
4 changes: 4 additions & 0 deletions baselines/webworker.iterable.generated.d.ts
Expand Up @@ -6,6 +6,10 @@ interface Cache {
addAll(requests: Iterable<RequestInfo>): Promise<void>;
}

interface CanvasPath {
roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | Iterable<number | DOMPointInit>): void;
}

interface DOMStringList {
[Symbol.iterator](): IterableIterator<string>;
}
Expand Down
4 changes: 0 additions & 4 deletions inputfiles/overridingTypes.jsonc
Expand Up @@ -2236,10 +2236,6 @@
}
}
},
"Performance": {
// See https://github.com/w3c/hr-time/pull/138
"exposed": "Window Worker"
},
"ScriptProcessorNode": {
"events": {
"event": [
Expand Down
14 changes: 8 additions & 6 deletions inputfiles/removedTypes.jsonc
Expand Up @@ -30,12 +30,13 @@
},
"RTCStatsType": {
"value": [
"stream",
"transceiver",
"sender",
"receiver",
"sctp-transport",
"ice-server"
"ice-server", // Blink only as of 2022-09
"media-playout", // No implementation as of 2022-09
"receiver", // Blink only as of 2022-09
"sctp-transport", // No implementation as of 2022-09
"sender", // Blink only as of 2022-09
"stream", // Blink only as of 2022-09
"transceiver" // Blink only as of 2022-09
]
}
}
Expand Down Expand Up @@ -429,6 +430,7 @@
"jitterBufferMinimumDelay": null, // No implementation as of 2022-09
"jitterBufferTargetDelay": null, // No implementation as of 2022-09
"mid": null, // No implementation as of 2022-09
"playoutId": null, // No implementation as of 2022-09
"totalProcessingDelay": null, // Gecko only as of 2022-09
"trackIdentifier": null // No implementation as of 2022-09
}
Expand Down

0 comments on commit cef584b

Please sign in to comment.