Skip to content

Commit 7bf872a

Browse files
authored
Sync interfaces/ with @webref/idl 3.12.1
1 parent 6690f23 commit 7bf872a

20 files changed

+155
-267
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// GENERATED CONTENT - DO NOT EDIT
2+
// Content was automatically extracted by Reffy into webref
3+
// (https://github.com/w3c/webref)
4+
// Source: Attribution Reporting (https://wicg.github.io/attribution-reporting-api/)
5+
6+
interface mixin HTMLAttributionSrcElementUtils {
7+
[CEReactions] attribute USVString attributionSrc;
8+
};
9+
10+
HTMLAnchorElement includes HTMLAttributionSrcElementUtils;
11+
HTMLImageElement includes HTMLAttributionSrcElementUtils;
12+
HTMLScriptElement includes HTMLAttributionSrcElementUtils;

interfaces/mediacapture-handle-identity.idl renamed to interfaces/capture-handle-identity.idl

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,6 @@ partial interface MediaStreamTrack {
2222
CaptureHandle? getCaptureHandle();
2323
};
2424

25-
[Exposed=Window]
26-
interface CaptureHandleChangeEvent : Event {
27-
constructor(optional CaptureHandleChangeEventInit init = {});
28-
[SameObject] CaptureHandle captureHandle();
29-
};
30-
31-
dictionary CaptureHandleChangeEventInit : EventInit {
32-
CaptureHandle captureHandle;
33-
};
34-
3525
partial interface MediaStreamTrack {
3626
attribute EventHandler oncapturehandlechange;
3727
};

interfaces/compute-pressure.idl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ dictionary PressureRecord {
3636
};
3737

3838
dictionary PressureObserverOptions {
39-
double frequency;
39+
double samplerate;
4040
};

interfaces/conversion-measurement-api.idl

Lines changed: 0 additions & 31 deletions
This file was deleted.

interfaces/cssom-view.idl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ dictionary ScrollIntoViewOptions : ScrollOptions {
101101
};
102102

103103
dictionary IsVisibleOptions {
104-
boolean checkAriaHidden = false;
105104
boolean checkInert = false;
106105
boolean checkOpacity = false;
107106
boolean checkVisibilityCSS = false;

interfaces/event-timing.idl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// GENERATED CONTENT - DO NOT EDIT
22
// Content was automatically extracted by Reffy into webref
33
// (https://github.com/w3c/webref)
4-
// Source: Event Timing API (https://w3c.github.io/event-timing/)
4+
// Source: Event Timing API (https://w3c.github.io/event-timing)
55

66
[Exposed=Window]
77
interface PerformanceEventTiming : PerformanceEntry {

interfaces/fetch.idl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ enum RequestRedirect { "follow", "error", "manual" };
8383

8484
[NewObject] static Response error();
8585
[NewObject] static Response redirect(USVString url, optional unsigned short status = 302);
86+
[NewObject] static Response json(any data, optional ResponseInit init = {});
8687

8788
readonly attribute ResponseType type;
8889

interfaces/html.idl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ interface HTMLLinkElement : HTMLElement {
192192
[CEReactions] attribute USVString href;
193193
[CEReactions] attribute DOMString? crossOrigin;
194194
[CEReactions] attribute DOMString rel;
195-
[CEReactions] attribute DOMString as; // (default "")
195+
[CEReactions] attribute DOMString as;
196196
[SameObject, PutForwards=value] readonly attribute DOMTokenList relList;
197197
[CEReactions] attribute DOMString media;
198198
[CEReactions] attribute DOMString integrity;
@@ -1858,7 +1858,7 @@ dictionary ErrorEventInit : EventInit {
18581858
USVString filename = "";
18591859
unsigned long lineno = 0;
18601860
unsigned long colno = 0;
1861-
any error = null;
1861+
any error;
18621862
};
18631863

18641864
[Exposed=*]
@@ -1889,6 +1889,7 @@ typedef OnBeforeUnloadEventHandlerNonNull? OnBeforeUnloadEventHandler;
18891889
interface mixin GlobalEventHandlers {
18901890
attribute EventHandler onabort;
18911891
attribute EventHandler onauxclick;
1892+
attribute EventHandler onbeforeinput;
18921893
attribute EventHandler onbeforematch;
18931894
attribute EventHandler onblur;
18941895
attribute EventHandler oncancel;

interfaces/media-source.idl

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,18 @@ interface MediaSource : EventTarget {
2525
attribute EventHandler onsourceended;
2626
attribute EventHandler onsourceclose;
2727
static readonly attribute boolean canConstructInDedicatedWorker;
28-
SourceBuffer addSourceBuffer (DOMString type);
29-
undefined removeSourceBuffer (SourceBuffer sourceBuffer);
30-
undefined endOfStream (optional EndOfStreamError error);
31-
undefined setLiveSeekableRange (double start, double end);
32-
undefined clearLiveSeekableRange ();
33-
static boolean isTypeSupported (DOMString type);
28+
SourceBuffer addSourceBuffer (DOMString type);
29+
undefined removeSourceBuffer (SourceBuffer sourceBuffer);
30+
undefined endOfStream (optional EndOfStreamError error);
31+
undefined setLiveSeekableRange (double start, double end);
32+
undefined clearLiveSeekableRange ();
33+
MediaSourceHandle getHandle ();
34+
static boolean isTypeSupported (DOMString type);
3435
};
3536

37+
[Exposed=(Window,DedicatedWorker)]
38+
interface MediaSourceHandle {};
39+
3640
enum AppendMode {
3741
"segments",
3842
"sequence"

interfaces/mediacapture-region.idl

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,7 @@
55

66
[Exposed=(Window,Worker), Serializable]
77
interface CropTarget {
8-
// Intentionally empty; just an opaque identifier.
9-
};
10-
11-
partial interface MediaDevices {
12-
Promise<CropTarget>
13-
produceCropTarget(Element element);
8+
[SecureContext] static Promise<CropTarget> fromElement(Element element);
149
};
1510

1611
[Exposed = Window]

0 commit comments

Comments
 (0)