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] #1434

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jan 10, 2025

⚠ 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 c5b89d0.

🧐 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.58.1. Merging this pull request will release v3.59.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:
+ css-fonts-5.idl

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/css-fonts.idl packages/idl/css-fonts.idl
--- webref/node_modules/@webref/idl/css-fonts.idl
+++ packages/idl/css-fonts.idl
@@ -3,44 +3,6 @@
 // (https://github.com/w3c/webref)
 // Source: CSS Fonts Module Level 4 (https://drafts.csswg.org/css-fonts-4/)
 
-[Exposed=Window]
-interface CSSFontFaceDescriptors : CSSStyleDeclaration {
-  attribute [LegacyNullToEmptyString] CSSOMString src;
-  attribute [LegacyNullToEmptyString] CSSOMString fontFamily;
-  attribute [LegacyNullToEmptyString] CSSOMString font-family;
-  attribute [LegacyNullToEmptyString] CSSOMString fontStyle;
-  attribute [LegacyNullToEmptyString] CSSOMString font-style;
-  attribute [LegacyNullToEmptyString] CSSOMString fontWeight;
-  attribute [LegacyNullToEmptyString] CSSOMString font-weight;
-  attribute [LegacyNullToEmptyString] CSSOMString fontStretch;
-  attribute [LegacyNullToEmptyString] CSSOMString font-stretch;
-  attribute [LegacyNullToEmptyString] CSSOMString fontWidth;
-  attribute [LegacyNullToEmptyString] CSSOMString font-width;
-  attribute [LegacyNullToEmptyString] CSSOMString unicodeRange;
-  attribute [LegacyNullToEmptyString] CSSOMString unicode-range;
-  attribute [LegacyNullToEmptyString] CSSOMString fontFeatureSettings;
-  attribute [LegacyNullToEmptyString] CSSOMString font-feature-settings;
-  attribute [LegacyNullToEmptyString] CSSOMString fontVariationSettings;
-  attribute [LegacyNullToEmptyString] CSSOMString font-variation-settings;
-  attribute [LegacyNullToEmptyString] CSSOMString fontNamedInstance;
-  attribute [LegacyNullToEmptyString] CSSOMString font-named-instance;
-  attribute [LegacyNullToEmptyString] CSSOMString fontDisplay;
-  attribute [LegacyNullToEmptyString] CSSOMString font-display;
-  attribute [LegacyNullToEmptyString] CSSOMString fontLanguageOverride;
-  attribute [LegacyNullToEmptyString] CSSOMString font-language-override;
-  attribute [LegacyNullToEmptyString] CSSOMString ascentOverride;
-  attribute [LegacyNullToEmptyString] CSSOMString ascent-override;
-  attribute [LegacyNullToEmptyString] CSSOMString descentOverride;
-  attribute [LegacyNullToEmptyString] CSSOMString descent-override;
-  attribute [LegacyNullToEmptyString] CSSOMString lineGapOverride;
-  attribute [LegacyNullToEmptyString] CSSOMString line-gap-override;
-};
-
-[Exposed=Window]
-interface CSSFontFaceRule : CSSRule {
-  [SameObject, PutForwards=cssText] readonly attribute CSSFontFaceDescriptors style;
-};
-
 partial interface CSSRule {  const unsigned short FONT_FEATURE_VALUES_RULE = 14;
 };
 [Exposed=Window]

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/css-mixins.idl packages/idl/css-mixins.idl
--- webref/node_modules/@webref/idl/css-mixins.idl
+++ packages/idl/css-mixins.idl
@@ -5,3 +5,13 @@
 
 [Exposed=Window]
 interface CSSFunctionRule : CSSGroupingRule { };
+
+[Exposed=Window]
+interface CSSFunctionDescriptors : CSSStyleDeclaration {
+  attribute [LegacyNullToEmptyString] CSSOMString result;
+};
+
+[Exposed=Window]
+interface CSSFunctionDeclarations : CSSRule {
+  [SameObject, PutForwards=cssText] readonly attribute CSSFunctionDescriptors style;
+};

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/digital-credentials.idl packages/idl/digital-credentials.idl
--- webref/node_modules/@webref/idl/digital-credentials.idl
+++ packages/idl/digital-credentials.idl
@@ -19,5 +19,5 @@
 [Exposed=Window, SecureContext]
 interface DigitalCredential : Credential {
   readonly attribute DOMString protocol;
-  readonly attribute object data;
+  [SameObject] readonly attribute object data;
 };

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/fedcm.idl packages/idl/fedcm.idl
--- webref/node_modules/@webref/idl/fedcm.idl
+++ packages/idl/fedcm.idl
@@ -49,6 +49,7 @@
   USVString nonce;
   DOMString loginHint;
   DOMString domainHint;
+  sequence<USVString> fields;
   any params;
 };
 

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
@@ -1222,9 +1222,11 @@
 
   [CEReactions] attribute boolean open;
   attribute DOMString returnValue;
+  [CEReactions] attribute DOMString closedBy;
   [CEReactions] undefined show();
   [CEReactions] undefined showModal();
   [CEReactions] undefined close(optional DOMString returnValue);
+  [CEReactions] undefined requestClose(optional DOMString returnValue);
 };
 
 [Exposed=Window]

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/mediacapture-surface-control.idl packages/idl/mediacapture-surface-control.idl
--- webref/node_modules/@webref/idl/mediacapture-surface-control.idl
+++ packages/idl/mediacapture-surface-control.idl
@@ -12,5 +12,5 @@
 
 partial interface CaptureController {
   constructor();
-  Promise<undefined> forwardWheel(HTMLElement element);
+  Promise<undefined> forwardWheel(HTMLElement? element);
 };

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/permissions-policy.idl packages/idl/permissions-policy.idl
--- webref/node_modules/@webref/idl/permissions-policy.idl
+++ packages/idl/permissions-policy.idl
@@ -27,4 +27,5 @@
   readonly attribute long? lineNumber;
   readonly attribute long? columnNumber;
   readonly attribute DOMString disposition;
+  readonly attribute DOMString? allowAttribute;
 };

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/shared-storage.idl packages/idl/shared-storage.idl
--- webref/node_modules/@webref/idl/shared-storage.idl
+++ packages/idl/shared-storage.idl
@@ -39,14 +39,48 @@
 };
 
 [Exposed=(Window,SharedStorageWorklet)]
+interface SharedStorageModifierMethod {};
+
+[Exposed=(Window, SharedStorageWorklet)]
+interface SharedStorageSetMethod : SharedStorageModifierMethod {
+  constructor(DOMString key, DOMString value, optional SharedStorageSetMethodOptions options = {});
+};
+
+[Exposed=(Window, SharedStorageWorklet)]
+interface SharedStorageAppendMethod : SharedStorageModifierMethod {
+  constructor(DOMString key, DOMString value, optional SharedStorageModifierMethodOptions options = {});
+};
+
+[Exposed=(Window, SharedStorageWorklet)]
+interface SharedStorageDeleteMethod : SharedStorageModifierMethod {
+  constructor(DOMString key, optional SharedStorageModifierMethodOptions options = {});
+};
+
+[Exposed=(Window, SharedStorageWorklet)]
+interface SharedStorageClearMethod : SharedStorageModifierMethod {
+  constructor(optional SharedStorageModifierMethodOptions options = {});
+};
+
+dictionary SharedStorageModifierMethodOptions {
+  DOMString withLock;
+};
+
+dictionary SharedStorageSetMethodOptions : SharedStorageModifierMethodOptions {
+  boolean ignoreIfPresent;
+};
+
+[Exposed=(Window,SharedStorageWorklet)]
 interface SharedStorage {
   Promise<any> set(DOMString key,
                    DOMString value,
                    optional SharedStorageSetMethodOptions options = {});
   Promise<any> append(DOMString key,
-                      DOMString value);
-  Promise<any> delete(DOMString key);
-  Promise<any> clear();
+                      DOMString value,
+                      optional SharedStorageModifierMethodOptions options = {});
+  Promise<any> delete(DOMString key, optional SharedStorageModifierMethodOptions options = {});
+  Promise<any> clear(optional SharedStorageModifierMethodOptions options = {});
+  Promise<any> batchUpdate(sequence<SharedStorageModifierMethod> methods,
+                           optional SharedStorageModifierMethodOptions options = {});
 
   [Exposed=Window]
   Promise<SharedStorageResponse> selectURL(DOMString name,
@@ -76,10 +110,6 @@
   async iterable<DOMString, DOMString>;
 };
 
-dictionary SharedStorageSetMethodOptions {
-  boolean ignoreIfPresent = false;
-};
-
 dictionary SharedStoragePrivateAggregationConfig {
   USVString aggregationCoordinatorOrigin;
   USVString contextId;

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
@@ -34,6 +34,10 @@
 
 typedef record<USVString, MLTensor> MLNamedTensors;
 
+dictionary MLContextLostInfo {
+  DOMString message;
+};
+
 [SecureContext, Exposed=(Window, DedicatedWorker)]
 interface MLContext {
   undefined dispatch(MLGraph graph, MLNamedTensors inputs, MLNamedTensors outputs);
@@ -46,6 +50,10 @@
   undefined writeTensor(MLTensor tensor, AllowSharedBufferSource inputData);
 
   MLOpSupportLimits opSupportLimits();
+
+  undefined destroy();
+
+  readonly attribute Promise<MLContextLostInfo> lost;
 };
 
 dictionary MLOpSupportLimits {
@@ -71,7 +79,9 @@
 };
 
 [SecureContext, Exposed=(Window, DedicatedWorker)]
-interface MLGraph {};
+interface MLGraph {
+  undefined destroy();
+};
 
 enum MLInputOperandLayout {
   "nchw",

@github-actions github-actions bot force-pushed the release-idl-20250110005942956 branch 16 times, most recently from 3e347ef to b8b9705 Compare January 14, 2025 15:53
@github-actions github-actions bot changed the title πŸ“¦ Release @webref/[email protected] πŸ“¦ Release @webref/[email protected] Jan 14, 2025
@github-actions github-actions bot force-pushed the release-idl-20250110005942956 branch 6 times, most recently from aca8aaa to e80f19b Compare January 16, 2025 00:54
@github-actions github-actions bot force-pushed the release-idl-20250110005942956 branch from e80f19b to fb4fdbd Compare January 16, 2025 06:43
@tidoust tidoust merged commit fc1b3da into main Jan 16, 2025
@tidoust tidoust deleted the release-idl-20250110005942956 branch January 16, 2025 10:45
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