Skip to content
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

πŸ“¦ Release @webref/[email protected] #1240

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented May 24, 2024

⚠ NEVER add commits to this pull request.

πŸ€– This pull request was automatically created to facilitate human review of @webref/idl changes triggered by curated data at 36894e5.

🧐 Please review the diff below and version numbers. If all looks good, merge this pull request to release the changes to npm.

πŸ“¦ Latest released @webref/idl package was v3.47.4. Merging this pull request will release v3.48.0. Make sure that the bump is the right one for the changes.

✍ If any change needs to be made before release, do not add a commit to this pull request. Changes should rather be handled in a separate pull request and pushed to the main branch. You may leave this pull request open in the meantime, or close it. The pre-release job will automatically update this pull request or create a new one once the updates have made their way to the main branch.

πŸ›ˆ The actual change introduced by this pull request is a version bump in packages/idl/package.json. You do not need to review that change. The bumped version is not the version that will be released when this pull request is merged, but rather the version that will be released next time.

New repo files that are not yet in the released package:
+ saa-non-cookie-storage.idl

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/FileAPI.idl packages/idl/FileAPI.idl
--- webref/node_modules/@webref/idl/FileAPI.idl
+++ packages/idl/FileAPI.idl
@@ -20,6 +20,7 @@
   [NewObject] ReadableStream stream();
   [NewObject] Promise<USVString> text();
   [NewObject] Promise<ArrayBuffer> arrayBuffer();
+  [NewObject] Promise<Uint8Array> bytes();
 };
 
 enum EndingType { "transparent", "native" };

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/compression.idl packages/idl/compression.idl
--- webref/node_modules/@webref/idl/compression.idl
+++ packages/idl/compression.idl
@@ -1,7 +1,7 @@
 // GENERATED CONTENT - DO NOT EDIT
 // Content was automatically extracted by Reffy into webref
 // (https://github.com/w3c/webref)
-// Source: Compression Streams (https://wicg.github.io/compression/)
+// Source: Compression Standard (https://compression.spec.whatwg.org/)
 
 enum CompressionFormat {
   "deflate",

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/credential-management.idl packages/idl/credential-management.idl
--- webref/node_modules/@webref/idl/credential-management.idl
+++ packages/idl/credential-management.idl
@@ -8,6 +8,7 @@
   readonly attribute USVString id;
   readonly attribute DOMString type;
   static Promise<boolean> isConditionalMediationAvailable();
+  static Promise<undefined> willRequestConditionalCreation();
 };
 
 [SecureContext]
@@ -45,6 +46,7 @@
 };
 
 dictionary CredentialCreationOptions {
+  CredentialMediationRequirement mediation = "optional";
   AbortSignal signal;
 };
 

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/cssom-view.idl packages/idl/cssom-view.idl
--- webref/node_modules/@webref/idl/cssom-view.idl
+++ packages/idl/cssom-view.idl
@@ -84,10 +84,14 @@
 partial interface Document {
   Element? elementFromPoint(double x, double y);
   sequence<Element> elementsFromPoint(double x, double y);
-  CaretPosition? caretPositionFromPoint(double x, double y, ShadowRoot... shadowRoots);
+  CaretPosition? caretPositionFromPoint(double x, double y, optional CaretPositionFromPointOptions options = {});
   readonly attribute Element? scrollingElement;
 };
 
+dictionary CaretPositionFromPointOptions {
+  sequence<ShadowRoot> shadowRoots = [];
+};
+
 [Exposed=Window]
 interface CaretPosition {
   readonly attribute Node offsetNode;

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/fenced-frame.idl packages/idl/fenced-frame.idl
--- webref/node_modules/@webref/idl/fenced-frame.idl
+++ packages/idl/fenced-frame.idl
@@ -35,6 +35,7 @@
 partial interface Navigator {
   Promise<undefined> deprecatedReplaceInURN(
     UrnOrConfig urnOrConfig, record<USVString, USVString> replacements);
+  sequence<USVString> adAuctionComponents(unsigned short numAdComponents);
 };
 
 enum FenceReportingDestination {

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/html.idl packages/idl/html.idl
--- webref/node_modules/@webref/idl/html.idl
+++ packages/idl/html.idl
@@ -77,8 +77,8 @@
   [CEReactions] Document open(optional DOMString unused1, optional DOMString unused2); // both arguments are ignored
   WindowProxy? open(USVString url, DOMString name, DOMString features);
   [CEReactions] undefined close();
-  [CEReactions] undefined write(HTMLString... text);
-  [CEReactions] undefined writeln(HTMLString... text);
+  [CEReactions] undefined write((TrustedHTML or DOMString)... text);
+  [CEReactions] undefined writeln((TrustedHTML or DOMString)... text);
 
   // user interaction
   readonly attribute WindowProxy? defaultView;
@@ -2260,7 +2260,7 @@
   attribute EventHandler onunload;
 };
 
-typedef (DOMString or Function) TimerHandler;
+typedef (DOMString or Function or TrustedScript) TimerHandler;
 
 interface mixin WindowOrWorkerGlobalScope {
   [Replaceable] readonly attribute USVString origin;

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/mediacapture-transform.idl packages/idl/mediacapture-transform.idl
--- webref/node_modules/@webref/idl/mediacapture-transform.idl
+++ packages/idl/mediacapture-transform.idl
@@ -6,7 +6,7 @@
 [Exposed=DedicatedWorker]
 interface MediaStreamTrackProcessor {
     constructor(MediaStreamTrackProcessorInit init);
-    attribute ReadableStream readable;
+    readonly attribute ReadableStream readable;
 };
 
 dictionary MediaStreamTrackProcessorInit {

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/mediasession.idl packages/idl/mediasession.idl
--- webref/node_modules/@webref/idl/mediasession.idl
+++ packages/idl/mediasession.idl
@@ -26,6 +26,7 @@
   "seekto",
   "togglemicrophone",
   "togglecamera",
+  "togglescreenshare",
   "hangup",
   "previousslide",
   "nextslide",
@@ -47,6 +48,8 @@
   Promise<undefined> setMicrophoneActive(boolean active);
 
   Promise<undefined> setCameraActive(boolean active);
+
+  Promise<undefined> setScreenshareActive(boolean active);
 };
 
 [Exposed=Window]

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/push-api.idl packages/idl/push-api.idl
--- webref/node_modules/@webref/idl/push-api.idl
+++ packages/idl/push-api.idl
@@ -58,6 +58,7 @@
 interface PushMessageData {
   ArrayBuffer arrayBuffer();
   Blob blob();
+  Uint8Array bytes();
   any json();
   USVString text();
 };

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/scheduling-apis.idl packages/idl/scheduling-apis.idl
--- webref/node_modules/@webref/idl/scheduling-apis.idl
+++ packages/idl/scheduling-apis.idl
@@ -9,18 +9,35 @@
   "background"
 };
 
+enum ContinuationPriority {
+  "user-blocking",
+  "user-visible",
+  "background",
+  "inherit"
+};
+
 dictionary SchedulerPostTaskOptions {
   AbortSignal signal;
   TaskPriority priority;
   [EnforceRange] unsigned long long delay = 0;
 };
 
+enum SchedulerSignalInherit {
+  "inherit"
+};
+
+dictionary SchedulerYieldOptions {
+  (AbortSignal or SchedulerSignalInherit) signal;
+  ContinuationPriority priority;
+};
+
 callback SchedulerPostTaskCallback = any ();
 
 [Exposed=(Window, Worker)]
 interface Scheduler {
   Promise<any> postTask(SchedulerPostTaskCallback callback,
                         optional SchedulerPostTaskOptions options = {});
+  Promise<undefined> yield(optional SchedulerYieldOptions options = {});
 };
 
 [Exposed=(Window, Worker)]

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/turtledove.idl packages/idl/turtledove.idl
--- webref/node_modules/@webref/idl/turtledove.idl
+++ packages/idl/turtledove.idl
@@ -204,6 +204,7 @@
   required long adComponentsLimit;
   required unsigned short multiBidLimit;
 
+  record<DOMString, DOMString> requestedSize;
   USVString topLevelSeller;
   sequence<PreviousWin> prevWinsMs;
   object wasmHelper;
@@ -218,6 +219,7 @@
   required unsigned long biddingDurationMsec;
   required DOMString bidCurrency;
 
+  record<DOMString, DOMString> renderSize;
   unsigned long dataVersion;
   sequence<USVString> adComponents;
   boolean forDebuggingOnlyInCooldownOrLockout = false;

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/webgpu.idl packages/idl/webgpu.idl
--- webref/node_modules/@webref/idl/webgpu.idl
+++ packages/idl/webgpu.idl
@@ -92,10 +92,10 @@
 interface GPUAdapter {
     [SameObject] readonly attribute GPUSupportedFeatures features;
     [SameObject] readonly attribute GPUSupportedLimits limits;
+    [SameObject] readonly attribute GPUAdapterInfo info;
     readonly attribute boolean isFallbackAdapter;
 
     Promise<GPUDevice> requestDevice(optional GPUDeviceDescriptor descriptor = {});
-    Promise<GPUAdapterInfo> requestAdapterInfo();
 };
 
 dictionary GPUDeviceDescriptor
@@ -117,6 +117,7 @@
     "rg11b10ufloat-renderable",
     "bgra8unorm-storage",
     "float32-filterable",
+    "clip-distances",
 };
 
 [Exposed=(Window, Worker), SecureContext]

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/webnn.idl packages/idl/webnn.idl
--- webref/node_modules/@webref/idl/webnn.idl
+++ packages/idl/webnn.idl
@@ -90,8 +90,8 @@
   // Create an operand for a graph constant.
   MLOperand constant(MLOperandDescriptor descriptor, ArrayBufferView bufferView);
 
-  // Create a single-value operand from the specified number of the specified type.
-  MLOperand constant(double value, optional MLOperandDataType type = "float32");
+  // Create a scalar operand from the specified number of the specified type.
+  MLOperand constant(MLOperandDataType type, double value);
 
   // Compile the graph up to the specified output operands asynchronously.
   Promise<MLGraph> build(MLNamedOperands outputs);
@@ -200,7 +200,7 @@
   MLOperand greaterOrEqual(MLOperand a, MLOperand b);
   MLOperand lesser(MLOperand a, MLOperand b);
   MLOperand lesserOrEqual(MLOperand a, MLOperand b);
-  MLOperand not(MLOperand a);
+  MLOperand logicalNot(MLOperand a);
 };
 
 partial interface MLGraphBuilder {

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/webrtc.idl packages/idl/webrtc.idl
--- webref/node_modules/@webref/idl/webrtc.idl
+++ packages/idl/webrtc.idl
@@ -434,9 +434,10 @@
   DOMString password;
 };
 
-dictionary RTCIceCandidatePair {
-  required RTCIceCandidate local;
-  required RTCIceCandidate remote;
+[Exposed=Window]
+interface RTCIceCandidatePair {
+  [SameObject] readonly attribute RTCIceCandidate local;
+  [SameObject] readonly attribute RTCIceCandidate remote;
 };
 
 enum RTCIceGathererState {

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/webxr-depth-sensing.idl packages/idl/webxr-depth-sensing.idl
--- webref/node_modules/@webref/idl/webxr-depth-sensing.idl
+++ packages/idl/webxr-depth-sensing.idl
@@ -10,7 +10,8 @@
 
 enum XRDepthDataFormat {
   "luminance-alpha",
-  "float32"
+  "float32",
+  "unsigned-short",
 };
 
 dictionary XRDepthStateInit {
@@ -50,6 +51,9 @@
 [Exposed=Window]
 interface XRWebGLDepthInformation : XRDepthInformation {
   [SameObject] readonly attribute WebGLTexture texture;
+
+  readonly attribute XRTextureType textureType;
+  readonly attribute unsigned long? imageIndex;
 };
 
 partial interface XRWebGLBinding {

@github-actions github-actions bot force-pushed the release-idl-20240524183716637 branch 13 times, most recently from e2dd9d3 to 19b7416 Compare May 28, 2024 00:50
@github-actions github-actions bot force-pushed the release-idl-20240524183716637 branch from 19b7416 to f265785 Compare June 6, 2024 09:44
@github-actions github-actions bot changed the title πŸ“¦ Release @webref/[email protected] πŸ“¦ Release @webref/[email protected] Jun 6, 2024
@dontcallmedom dontcallmedom merged commit 77ac356 into main Jun 6, 2024
@dontcallmedom dontcallmedom deleted the release-idl-20240524183716637 branch June 6, 2024 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant