Skip to content

Commit

Permalink
Sync interfaces/ with @webref/idl 3.45.1 (web-platform-tests#44974)
Browse files Browse the repository at this point in the history
Co-authored-by: wpt-pr-bot <[email protected]>
  • Loading branch information
github-actions[bot] and wpt-pr-bot authored Mar 15, 2024
1 parent 7b41322 commit cea69e3
Show file tree
Hide file tree
Showing 13 changed files with 143 additions and 107 deletions.
4 changes: 4 additions & 0 deletions interfaces/css-view-transitions-2.idl
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ interface CSSViewTransitionRule : CSSRule {
attribute ViewTransitionNavigation navigation;
attribute DOMTokenList typeList;
};

partial interface ViewTransition {
readonly attribute DOMTokenList typeList;
};
1 change: 1 addition & 0 deletions interfaces/document-picture-in-picture.idl
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ interface DocumentPictureInPicture : EventTarget {
dictionary DocumentPictureInPictureOptions {
[EnforceRange] unsigned long long width = 0;
[EnforceRange] unsigned long long height = 0;
boolean allowReturnToOpener = true;
};

[Exposed=Window, SecureContext]
Expand Down
1 change: 1 addition & 0 deletions interfaces/html.idl
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ interface HTMLElement : Element {
readonly attribute DOMString accessKeyLabel;
[CEReactions] attribute boolean draggable;
[CEReactions] attribute boolean spellcheck;
[CEReactions] attribute DOMString writingSuggestions;
[CEReactions] attribute DOMString autocapitalize;

[CEReactions] attribute [LegacyNullToEmptyString] DOMString innerText;
Expand Down
54 changes: 54 additions & 0 deletions interfaces/long-animation-frames.idl
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
// Source: Long Animation Frames API (https://w3c.github.io/long-animation-frames/)

[Exposed=Window]
interface PerformanceLongAnimationFrameTiming : PerformanceEntry {
/* Overloading PerformanceEntry */
readonly attribute DOMHighResTimeStamp startTime;
readonly attribute DOMHighResTimeStamp duration;
readonly attribute DOMString name;
readonly attribute DOMString entryType;

readonly attribute DOMHighResTimeStamp renderStart;
readonly attribute DOMHighResTimeStamp styleAndLayoutStart;
readonly attribute DOMHighResTimeStamp blockingDuration;
readonly attribute DOMHighResTimeStamp firstUIEventTimestamp;
[SameObject] readonly attribute FrozenArray<PerformanceScriptTiming> scripts;
[Default] object toJSON();
};

enum ScriptInvokerType {
"classic-script",
"module-script",
"event-listener",
"user-callback",
"resolve-promise",
"reject-promise"
};

enum ScriptWindowAttribution {
"self", "descendant", "ancestor", "same-page", "other"
};

[Exposed=Window]
interface PerformanceScriptTiming : PerformanceEntry {
/* Overloading PerformanceEntry */
readonly attribute DOMHighResTimeStamp startTime;
readonly attribute DOMHighResTimeStamp duration;
readonly attribute DOMString name;
readonly attribute DOMString entryType;

readonly attribute ScriptInvokerType invokerType;
readonly attribute DOMString invoker;
readonly attribute DOMHighResTimeStamp executionStart;
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;
readonly attribute ScriptWindowAttribution windowAttribution;
[Default] object toJSON();
};
50 changes: 0 additions & 50 deletions interfaces/longtasks.idl
Original file line number Diff line number Diff line change
Expand Up @@ -29,53 +29,3 @@ interface TaskAttributionTiming : PerformanceEntry {
readonly attribute DOMString containerName;
[Default] object toJSON();
};

[Exposed=Window]
interface PerformanceLongAnimationFrameTiming : PerformanceEntry {
/* Overloading PerformanceEntry */
readonly attribute DOMHighResTimeStamp startTime;
readonly attribute DOMHighResTimeStamp duration;
readonly attribute DOMString name;
readonly attribute DOMString entryType;

readonly attribute DOMHighResTimeStamp renderStart;
readonly attribute DOMHighResTimeStamp styleAndLayoutStart;
readonly attribute DOMHighResTimeStamp blockingDuration;
readonly attribute DOMHighResTimeStamp firstUIEventTimestamp;
[SameObject] readonly attribute FrozenArray<PerformanceScriptTiming> scripts;
[Default] object toJSON();
};

enum ScriptInvokerType {
"classic-script",
"module-script",
"event-listener",
"user-callback",
"resolve-promise",
"reject-promise"
};

enum ScriptWindowAttribution {
"self", "descendant", "ancestor", "same-page", "other"
};

[Exposed=Window]
interface PerformanceScriptTiming : PerformanceEntry {
/* Overloading PerformanceEntry */
readonly attribute DOMHighResTimeStamp startTime;
readonly attribute DOMHighResTimeStamp duration;
readonly attribute DOMString name;
readonly attribute DOMString entryType;

readonly attribute ScriptInvokerType invokerType;
readonly attribute DOMString invoker;
readonly attribute DOMHighResTimeStamp executionStart;
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;
readonly attribute ScriptWindowAttribution windowAttribution;
[Default] object toJSON();
};
10 changes: 0 additions & 10 deletions interfaces/mediacapture-streams.idl
Original file line number Diff line number Diff line change
Expand Up @@ -189,16 +189,6 @@ dictionary MediaStreamConstraints {
(boolean or MediaTrackConstraints) audio = false;
};

partial interface Navigator {
[SecureContext] undefined getUserMedia(MediaStreamConstraints constraints,
NavigatorUserMediaSuccessCallback successCallback,
NavigatorUserMediaErrorCallback errorCallback);
};

callback NavigatorUserMediaSuccessCallback = undefined (MediaStream stream);

callback NavigatorUserMediaErrorCallback = undefined (DOMException error);

dictionary DoubleRange {
double max;
double min;
Expand Down
1 change: 1 addition & 0 deletions interfaces/navigation-timing.idl
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ interface PerformanceNavigationTiming : PerformanceResourceTiming {
readonly attribute NavigationTimingType type;
readonly attribute unsigned short redirectCount;
readonly attribute DOMHighResTimeStamp criticalCHRestart;
readonly attribute NotRestoredReasons? notRestoredReasons;
[Default] object toJSON();
};

Expand Down
2 changes: 1 addition & 1 deletion interfaces/permissions.idl
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ enum PermissionState {
};

dictionary PermissionSetParameters {
required PermissionDescriptor descriptor;
required object descriptor;
required PermissionState state;
};
3 changes: 3 additions & 0 deletions interfaces/turtledove.idl
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ dictionary GenerateBidInterestGroup {
USVString trustedBiddingSignalsURL;
sequence<USVString> trustedBiddingSignalsKeys;
DOMString trustedBiddingSignalsSlotSizeMode = "none";
long maxTrustedBiddingSignalsURLLength;
any userBiddingSignals;
sequence<AuctionAd> ads;
sequence<AuctionAd> adComponents;
Expand Down Expand Up @@ -68,12 +69,14 @@ dictionary AuctionAdConfig {
required USVString seller;
required USVString decisionLogicURL;
USVString trustedScoringSignalsURL;
long maxTrustedScoringSignalsURLLength;
sequence<USVString> interestGroupBuyers;
Promise<any> auctionSignals;
record<DOMString, DOMString> requestedSize;
sequence<record<DOMString, DOMString>> allSlotsRequestedSizes;
Promise<any> sellerSignals;
Promise<DOMString> directFromSellerSignalsHeaderAdSlot;
Promise<record<USVString, USVString>> deprecatedRenderURLReplacements;
unsigned long long sellerTimeout;
unsigned short sellerExperimentGroupId;
USVString sellerCurrency;
Expand Down
2 changes: 1 addition & 1 deletion interfaces/ua-client-hints.idl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dictionary UADataValues {
DOMString architecture;
DOMString bitness;
sequence<NavigatorUABrandVersion> brands;
sequence<DOMString> formFactor;
sequence<DOMString> formFactors;
sequence<NavigatorUABrandVersion> fullVersionList;
DOMString model;
boolean mobile;
Expand Down
1 change: 1 addition & 0 deletions interfaces/web-animations-2.idl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ partial interface AnimationTimeline {
partial interface Animation {
attribute CSSNumberish? startTime;
attribute CSSNumberish? currentTime;
readonly attribute double? progress;
};

[Exposed=Window]
Expand Down
24 changes: 20 additions & 4 deletions interfaces/webcodecs.idl
Original file line number Diff line number Diff line change
Expand Up @@ -390,21 +390,37 @@ dictionary PlaneLayout {
enum VideoPixelFormat {
// 4:2:0 Y, U, V
"I420",
"I420P10",
"I420P12",
// 4:2:0 Y, U, V, A
"I420A",
"I420AP10",
"I420AP12",
// 4:2:2 Y, U, V
"I422",
"I422P10",
"I422P12",
// 4:2:2 Y, U, V, A
"I422A",
"I422AP10",
"I422AP12",
// 4:4:4 Y, U, V
"I444",
"I444P10",
"I444P12",
// 4:4:4 Y, U, V, A
"I444A",
"I444AP10",
"I444AP12",
// 4:2:0 Y, UV
"NV12",
// 32bpp RGBA
// 4:4:4 RGBA
"RGBA",
// 32bpp RGBX (opaque)
// 4:4:4 RGBX (opaque)
"RGBX",
// 32bpp BGRA
// 4:4:4 BGRA
"BGRA",
// 32bpp BGRX (opaque)
// 4:4:4 BGRX (opaque)
"BGRX",
};

Expand Down
Loading

0 comments on commit cea69e3

Please sign in to comment.