Skip to content

Manually update to @webref/[email protected] #1285

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
336 changes: 336 additions & 0 deletions baselines/audioworklet.generated.d.ts

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions baselines/audioworklet.iterable.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,13 @@ interface MessageEvent<T = any> {
/** @deprecated */
initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable<MessagePort>): void;
}

interface URLSearchParams {
[Symbol.iterator](): IterableIterator<[string, string]>;
/** Returns an array of key, value pairs for every entry in the search params. */
entries(): IterableIterator<[string, string]>;
/** Returns a list of keys in the search params. */
keys(): IterableIterator<string>;
/** Returns a list of values in the search params. */
values(): IterableIterator<string>;
}
22 changes: 22 additions & 0 deletions inputfiles/addedTypes.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,28 @@
"color",
"luminosity"
]
},
"PermissionName": {
"name": "PermissionName",
// This is a subset of the permissions defined in the spec:
// https://w3c.github.io/powerful-features-registry/#registry-table-of-powerful-features
// Please add a feature only when it's supported by multiple engines.
"value": [
// https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API#browser_compatibility
"geolocation",
// https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API#browser_compatibility
"notifications",
// https://developer.mozilla.org/en-US/docs/Web/API/Storage_API#browser_compatibility
"persistent-storage",
// https://developer.mozilla.org/en-US/docs/Web/API/Push_API#browser_compatibility
"push",
// Wake Lock is actually Blink-only, but for now let's keep it here for backward compatibility.
// https://developer.mozilla.org/en-US/docs/Web/API/Screen_Wake_Lock_API#browser_compatibility
"screen-wake-lock",
// WebXR is also actually Blink-only
// https://developer.mozilla.org/en-US/docs/Web/API/WebXR_Device_API#browser_compatibility
"xr-spatial-tracking"
]
}
}
},
Expand Down
9 changes: 9 additions & 0 deletions inputfiles/overridingTypes.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -2952,6 +2952,15 @@
"[property: string]: string | number | null | undefined"
]
},
"PermissionDescriptor": {
"members": {
"member": {
"name": {
"type": "PermissionName"
}
}
}
},
"PublicKeyCredentialCreationOptions": {
"members": {
"member": {
Expand Down
51 changes: 18 additions & 33 deletions inputfiles/removedTypes.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,6 @@
"CredentialMediationRequirement": {
"value": ["conditional"] // tied to Credential#isConditionalMediationAvailable
},
"PermissionName": {
"value": [
"midi",
"camera",
"microphone",
"speaker-selection",
"device-info",
"background-fetch",
"background-sync",
"bluetooth",
"ambient-light-sensor",
"accelerometer",
"gyroscope",
"magnetometer",
"clipboard-read",
"clipboard-write",
"display-capture",
"nfc"
]
},
"ReadableStreamReaderMode": null,
"ReadableStreamType": null,
"RTCStatsType": {
Expand Down Expand Up @@ -104,11 +84,6 @@
]
},
"NetworkInformation": {
"properties": {
"property": {
"effectiveType": null
}
},
"implements": ["NetworkInformationSaveData"]
},
"ReadableStream": {
Expand Down Expand Up @@ -303,8 +278,7 @@
"pan": null,
"tilt": null,
"zoom": null,
"torch": null,
"videoKind": null
"torch": null
}
}
},
Expand Down Expand Up @@ -332,8 +306,7 @@
"pan": null,
"tilt": null,
"zoom": null,
"torch": null,
"videoKind": null
"torch": null
}
}
},
Expand Down Expand Up @@ -362,8 +335,7 @@
"pan": null,
"tilt": null,
"zoom": null,
"torch": null,
"videoKind": null
"torch": null
}
}
},
Expand Down Expand Up @@ -393,8 +365,7 @@
"pan": null,
"tilt": null,
"zoom": null,
"torch": null,
"videoKind": null
"torch": null
}
}
},
Expand Down Expand Up @@ -424,6 +395,20 @@
}
}
},
"RTCEncodedAudioFrameMetadata": {
"members": {
"member": {
"payloadType": null
}
}
},
"RTCEncodedVideoFrameMetadata": {
"members": {
"member": {
"payloadType": null
}
}
},
"RTCConfiguration": {
"members": {
"member": {
Expand Down
Loading