webref
webref copied to clipboard
📦 Release @webref/[email protected]
⚠ 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 45b854e38b285a9727c377447d5b478fafbf8c19.
🧐 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.43.2. Merging this pull request will release v3.44.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:
+ digital-identities.idl
diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/CSP.idl packages/idl/CSP.idl
--- webref/node_modules/@webref/idl/CSP.idl
+++ packages/idl/CSP.idl
@@ -41,16 +41,16 @@
};
dictionary SecurityPolicyViolationEventInit : EventInit {
- required USVString documentURI;
- USVString referrer = "";
- USVString blockedURI = "";
- required DOMString violatedDirective;
- required DOMString effectiveDirective;
- required DOMString originalPolicy;
- USVString sourceFile = "";
- DOMString sample = "";
- required SecurityPolicyViolationEventDisposition disposition;
- required unsigned short statusCode;
- unsigned long lineNumber = 0;
- unsigned long columnNumber = 0;
+ USVString documentURI = "";
+ USVString referrer = "";
+ USVString blockedURI = "";
+ DOMString violatedDirective = "";
+ DOMString effectiveDirective = "";
+ DOMString originalPolicy = "";
+ USVString sourceFile = "";
+ DOMString sample = "";
+ SecurityPolicyViolationEventDisposition disposition = "enforce";
+ unsigned short statusCode = 0;
+ unsigned long lineNumber = 0;
+ unsigned long columnNumber = 0;
};
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
@@ -2087,6 +2087,23 @@
attribute DOMString returnValue;
};
+[Exposed=Window]
+interface NotRestoredReasonDetails {
+ readonly attribute DOMString reason;
+ [Default] object toJSON();
+};
+
+[Exposed=Window]
+interface NotRestoredReasons {
+ readonly attribute DOMString? src;
+ readonly attribute DOMString? id;
+ readonly attribute DOMString? name;
+ readonly attribute DOMString? url;
+ readonly attribute FrozenArray<NotRestoredReasonDetails>? reasons;
+ readonly attribute FrozenArray<NotRestoredReasons>? children;
+ [Default] object toJSON();
+};
+
[Exposed=*]
interface ErrorEvent : Event {
constructor(DOMString type, optional ErrorEventInit eventInitDict = {});
diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/longtasks.idl packages/idl/longtasks.idl
--- webref/node_modules/@webref/idl/longtasks.idl
+++ packages/idl/longtasks.idl
@@ -70,7 +70,9 @@
readonly attribute ScriptInvokerType invokerType;
readonly attribute DOMString invoker;
readonly attribute DOMHighResTimeStamp executionStart;
- readonly attribute DOMString sourceLocation;
+ readonly attribute DOMString sourceURL;
+ readonly attribute DOMString sourceFunctionName;
+ readonly attribute long long sourceCharPosition;
readonly attribute DOMHighResTimeStamp pauseDuration;
readonly attribute DOMHighResTimeStamp forcedStyleAndLayoutDuration;
readonly attribute Window? window;
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
@@ -44,9 +44,9 @@
undefined setPositionState(optional MediaPositionState state = {});
- undefined setMicrophoneActive(boolean active);
+ Promise<undefined> setMicrophoneActive(boolean active);
- undefined setCameraActive(boolean active);
+ Promise<undefined> setCameraActive(boolean active);
};
[Exposed=Window]
@@ -79,7 +79,17 @@
dictionary MediaSessionActionDetails {
required MediaSessionAction action;
+};
+
+dictionary MediaSessionSeekActionDetails : MediaSessionActionDetails {
double seekOffset;
- double seekTime;
+};
+
+dictionary MediaSessionSeekToActionDetails : MediaSessionActionDetails {
+ required double seekTime;
boolean fastSeek;
};
+
+dictionary MediaSessionCaptureActionDetails : MediaSessionActionDetails {
+ boolean isActivating;
+};
diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/service-workers.idl packages/idl/service-workers.idl
--- webref/node_modules/@webref/idl/service-workers.idl
+++ packages/idl/service-workers.idl
@@ -92,7 +92,7 @@
ByteString headerValue;
};
-[Global=(Worker,ServiceWorker), Exposed=ServiceWorker]
+[Global=(Worker,ServiceWorker), Exposed=ServiceWorker, SecureContext]
interface ServiceWorkerGlobalScope : WorkerGlobalScope {
[SameObject] readonly attribute Clients clients;
[SameObject] readonly attribute ServiceWorkerRegistration registration;
diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/trusted-types.idl packages/idl/trusted-types.idl
--- webref/node_modules/@webref/idl/trusted-types.idl
+++ packages/idl/trusted-types.idl
@@ -7,21 +7,18 @@
interface TrustedHTML {
stringifier;
DOMString toJSON();
- static TrustedHTML fromLiteral(object templateStringsArray);
};
[Exposed=(Window,Worker)]
interface TrustedScript {
stringifier;
DOMString toJSON();
- static TrustedScript fromLiteral(object templateStringsArray);
};
[Exposed=(Window,Worker)]
interface TrustedScriptURL {
stringifier;
USVString toJSON();
- static TrustedScriptURL fromLiteral(object templateStringsArray);
};
[Exposed=(Window,Worker)] interface TrustedTypePolicyFactory {
diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/wai-aria.idl packages/idl/wai-aria.idl
--- webref/node_modules/@webref/idl/wai-aria.idl
+++ packages/idl/wai-aria.idl
@@ -57,5 +57,4 @@
[CEReactions] attribute DOMString? ariaValueNow;
[CEReactions] attribute DOMString? ariaValueText;
};
-
Element includes ARIAMixin;
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
@@ -29,11 +29,6 @@
interface ML {
Promise<MLContext> createContext(optional MLContextOptions options = {});
Promise<MLContext> createContext(GPUDevice gpuDevice);
-
- [Exposed=(DedicatedWorker)]
- MLContext createContextSync(optional MLContextOptions options = {});
- [Exposed=(DedicatedWorker)]
- MLContext createContextSync(GPUDevice gpuDevice);
};
[SecureContext, Exposed=(Window, DedicatedWorker)]
@@ -45,12 +40,6 @@
[SecureContext, Exposed=(Window, DedicatedWorker)]
interface MLContext {};
-partial interface MLContext {
- [Exposed=(DedicatedWorker)]
- undefined computeSync(
- MLGraph graph, MLNamedArrayBufferViews inputs, MLNamedArrayBufferViews outputs);
-};
-
dictionary MLComputeResult {
MLNamedArrayBufferViews inputs;
MLNamedArrayBufferViews outputs;
@@ -66,13 +55,7 @@
typedef record<DOMString, MLOperand> MLNamedOperands;
-dictionary MLBufferResourceView {
- required GPUBuffer resource;
- unsigned long long offset = 0;
- unsigned long long size;
-};
-
-typedef (ArrayBufferView or MLBufferResourceView) MLBufferView;
+typedef ArrayBufferView MLBufferView;
[SecureContext, Exposed=(Window, DedicatedWorker)]
interface MLGraphBuilder {
@@ -90,10 +73,6 @@
// Compile the graph up to the specified output operands asynchronously.
Promise<MLGraph> build(MLNamedOperands outputs);
-
- // Compile the graph up to the specified output operands synchronously.
- [Exposed=(DedicatedWorker)]
- MLGraph buildSync(MLNamedOperands outputs);
};
dictionary MLArgMinMaxOptions {