@webref/idl 3.78.0 → 3.79.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/SVG.idl CHANGED
@@ -324,12 +324,10 @@ interface mixin GetSVGDocument {
324
324
 
325
325
  [Exposed=Window]
326
326
  interface SVGStyleElement : SVGElement {
327
- attribute DOMString media;
328
- attribute DOMString title;
327
+ [Reflect] attribute DOMString type;
328
+ [Reflect] attribute DOMString media;
329
+ [Reflect] attribute DOMString title;
329
330
  attribute boolean disabled;
330
-
331
- // obsolete members
332
- attribute DOMString type;
333
331
  };
334
332
 
335
333
  SVGStyleElement includes LinkStyle;
@@ -644,7 +642,7 @@ SVGPatternElement includes SVGURIReference;
644
642
 
645
643
  [Exposed=Window]
646
644
  interface SVGScriptElement : SVGElement {
647
- attribute DOMString type;
645
+ [Reflect] attribute DOMString type;
648
646
  attribute DOMString? crossOrigin;
649
647
  };
650
648
 
@@ -652,13 +650,13 @@ SVGScriptElement includes SVGURIReference;
652
650
 
653
651
  [Exposed=Window]
654
652
  interface SVGAElement : SVGGraphicsElement {
655
- [SameObject] readonly attribute SVGAnimatedString target;
656
- attribute DOMString download;
657
- attribute USVString ping;
658
- attribute DOMString rel;
659
- [SameObject, PutForwards=value] readonly attribute DOMTokenList relList;
660
- attribute DOMString hreflang;
661
- attribute DOMString type;
653
+ [Reflect, SameObject] readonly attribute SVGAnimatedString target;
654
+ [Reflect] attribute DOMString download;
655
+ [Reflect] attribute USVString ping;
656
+ [Reflect] attribute DOMString rel;
657
+ [Reflect="rel", SameObject, PutForwards=value] readonly attribute DOMTokenList relList;
658
+ [Reflect] attribute DOMString hreflang;
659
+ [Reflect] attribute DOMString type;
662
660
 
663
661
  attribute DOMString referrerPolicy;
664
662
  };
package/attribution.idl CHANGED
@@ -7,7 +7,7 @@ partial interface Navigator {
7
7
  [SecureContext, SameObject] readonly attribute Attribution attribution;
8
8
  };
9
9
 
10
- enum AttributionAggregationProtocol { "dap-15-histogram" };
10
+ enum AttributionAggregationProtocol { "dap-18-histogram" };
11
11
 
12
12
  dictionary AttributionAggregationService {
13
13
  required AttributionAggregationProtocol protocol;
@@ -0,0 +1,13 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Connection Allowlists (https://wicg.github.io/connection-allowlists/)
5
+
6
+ enum ConnectionAllowlistDisposition { "enforce", "report" };
7
+
8
+ dictionary ConnectionAllowlistViolationReport : ReportBody {
9
+ USVString url;
10
+ USVString connection;
11
+ sequence<DOMString> allowlist;
12
+ ConnectionAllowlistDisposition disposition;
13
+ };
@@ -21,7 +21,7 @@ partial dictionary CredentialCreationOptions {
21
21
  };
22
22
 
23
23
  dictionary DigitalCredentialCreationOptions {
24
- sequence<DigitalCredentialCreateRequest> requests;
24
+ required sequence<DigitalCredentialCreateRequest> requests;
25
25
  };
26
26
 
27
27
  dictionary DigitalCredentialCreateRequest {
@@ -29,10 +29,23 @@ dictionary DigitalCredentialCreateRequest {
29
29
  required object data;
30
30
  };
31
31
 
32
+ typedef (DigitalCredentialPresentationProtocol or DigitalCredentialIssuanceProtocol) DigitalCredentialProtocol;
33
+
32
34
  [Exposed=Window, SecureContext]
33
35
  interface DigitalCredential : Credential {
34
36
  [Default] object toJSON();
35
- readonly attribute DOMString protocol;
37
+ readonly attribute DigitalCredentialProtocol protocol;
36
38
  [SameObject] readonly attribute object data;
37
39
  static boolean userAgentAllowsProtocol(DOMString protocol);
38
40
  };
41
+
42
+ enum DigitalCredentialPresentationProtocol {
43
+ "openid4vp-v1-unsigned",
44
+ "openid4vp-v1-signed",
45
+ "openid4vp-v1-multisigned",
46
+ "org-iso-mdoc"
47
+ };
48
+
49
+ enum DigitalCredentialIssuanceProtocol {
50
+ "openid4vci-v1",
51
+ };
package/html.idl CHANGED
@@ -349,13 +349,10 @@ interface HTMLDivElement : HTMLElement {
349
349
  interface HTMLAnchorElement : HTMLElement {
350
350
  [HTMLConstructor] constructor();
351
351
 
352
- [CEReactions, Reflect] attribute DOMString target;
353
352
  [CEReactions, Reflect] attribute DOMString download;
354
353
  [CEReactions, Reflect] attribute USVString ping;
355
354
  [CEReactions, Reflect] attribute DOMString rel;
356
355
  [SameObject, PutForwards=value, Reflect="rel"] readonly attribute DOMTokenList relList;
357
- [CEReactions, Reflect] attribute DOMString hreflang;
358
- [CEReactions, Reflect] attribute DOMString type;
359
356
 
360
357
  [CEReactions] attribute DOMString text;
361
358
 
@@ -403,10 +400,14 @@ interface mixin HyperlinkElementUtils {
403
400
  [CEReactions] attribute USVString pathname;
404
401
  [CEReactions] attribute USVString search;
405
402
  [CEReactions] attribute USVString hash;
403
+
404
+ [CEReactions, Reflect] attribute DOMString hreflang;
405
+ [CEReactions, Reflect] attribute DOMString type;
406
406
  };
407
407
 
408
408
  interface mixin HTMLHyperlinkElementUtils {
409
409
  [CEReactions, ReflectSetter] stringifier attribute USVString href;
410
+ [CEReactions, Reflect] attribute DOMString target;
410
411
  };
411
412
 
412
413
  [Exposed=Window]
@@ -763,7 +764,6 @@ interface HTMLAreaElement : HTMLElement {
763
764
  [CEReactions, Reflect] attribute DOMString alt;
764
765
  [CEReactions, Reflect] attribute DOMString coords;
765
766
  [CEReactions, Reflect] attribute DOMString shape;
766
- [CEReactions, Reflect] attribute DOMString target;
767
767
  [CEReactions, Reflect] attribute DOMString download;
768
768
  [CEReactions, Reflect] attribute USVString ping;
769
769
  [CEReactions, Reflect] attribute DOMString rel;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webref/idl",
3
3
  "description": "Web IDL definitions of the web platform",
4
- "version": "3.78.0",
4
+ "version": "3.79.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
package/pointerevents.idl CHANGED
@@ -87,6 +87,7 @@ interface WheelEvent : MouseEvent {
87
87
  readonly attribute double deltaY;
88
88
  readonly attribute double deltaZ;
89
89
  readonly attribute unsigned long deltaMode;
90
+ readonly attribute boolean momentum;
90
91
  };
91
92
 
92
93
  dictionary WheelEventInit : MouseEventInit {
package/speech-api.idl CHANGED
@@ -12,6 +12,7 @@ interface SpeechRecognition : EventTarget {
12
12
  attribute DOMString lang;
13
13
  attribute boolean continuous;
14
14
  attribute boolean interimResults;
15
+ attribute boolean unspokenPunctuation;
15
16
  attribute unsigned long maxAlternatives;
16
17
  attribute boolean processLocally;
17
18
  attribute ObservableArray<SpeechRecognitionPhrase> phrases;
@@ -59,7 +59,7 @@ dictionary EncapsulatedBits {
59
59
  };
60
60
 
61
61
  partial dictionary JsonWebKey {
62
- // The following fields are defined in draft-ietf-cose-dilithium-08
62
+ // The following fields are defined in RFC 9964
63
63
  DOMString pub;
64
64
  DOMString priv;
65
65
  };
package/webmcp.idl CHANGED
@@ -4,12 +4,14 @@
4
4
  // Source: WebMCP (https://webmachinelearning.github.io/webmcp/)
5
5
 
6
6
  partial interface Navigator {
7
- [SecureContext, SameObject] readonly attribute ModelContext modelContext;
7
+ [SecureContext] readonly attribute ModelContext modelContext;
8
8
  };
9
9
 
10
10
  [Exposed=Window, SecureContext]
11
- interface ModelContext {
11
+ interface ModelContext : EventTarget {
12
12
  undefined registerTool(ModelContextTool tool, optional ModelContextRegisterToolOptions options = {});
13
+
14
+ attribute EventHandler ontoolchange;
13
15
  };
14
16
 
15
17
  dictionary ModelContextTool {
@@ -32,6 +34,7 @@ callback ToolExecuteCallback = Promise<any> (object input, ModelContextClient cl
32
34
 
33
35
  dictionary ModelContextRegisterToolOptions {
34
36
  AbortSignal signal;
37
+ sequence<USVString> exposedTo;
35
38
  };
36
39
 
37
40
  [Exposed=Window, SecureContext]
@@ -3,8 +3,8 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: WebRTC Encoded Transform (https://w3c.github.io/webrtc-encoded-transform/)
5
5
 
6
- typedef (RTCSFrameSenderTransform or RTCRtpScriptTransform) RTCRtpSenderTransform;
7
- typedef (RTCSFrameReceiverTransform or RTCRtpScriptTransform) RTCRtpReceiverTransform;
6
+ typedef (RTCRtpSFrameEncrypter or RTCRtpScriptTransform) RTCRtpSenderTransform;
7
+ typedef (RTCRtpSFrameDecrypter or RTCRtpScriptTransform) RTCRtpReceiverTransform;
8
8
 
9
9
  // New methods for RTCRtpSender and RTCRtpReceiver
10
10
  partial interface RTCRtpSender {
@@ -36,7 +36,7 @@ enum SFrameType {
36
36
  "per-packet"
37
37
  };
38
38
 
39
- dictionary RTCSFrameSenderTransformOptions : SFrameTransformOptions {
39
+ dictionary RTCRtpSFrameEncrypterOptions : SFrameTransformOptions {
40
40
  SFrameType type = "per-frame";
41
41
  };
42
42
 
@@ -54,19 +54,19 @@ interface mixin SFrameDecrypterManager {
54
54
  };
55
55
 
56
56
  [Exposed=Window]
57
- interface RTCSFrameSenderTransform {
58
- constructor(RTCSFrameSenderTransformOptions options);
57
+ interface RTCRtpSFrameEncrypter {
58
+ constructor(RTCRtpSFrameEncrypterOptions options);
59
59
  };
60
- RTCSFrameSenderTransform includes SFrameEncrypterManager;
60
+ RTCRtpSFrameEncrypter includes SFrameEncrypterManager;
61
61
 
62
62
  [Exposed=Window]
63
- interface RTCSFrameReceiverTransform : EventTarget {
63
+ interface RTCRtpSFrameDecrypter : EventTarget {
64
64
  constructor(SFrameTransformOptions options);
65
65
  };
66
- RTCSFrameReceiverTransform includes SFrameDecrypterManager;
66
+ RTCRtpSFrameDecrypter includes SFrameDecrypterManager;
67
67
 
68
68
  [Exposed=(Window,DedicatedWorker)]
69
- interface SFrameEncrypterStream : EventTarget {
69
+ interface SFrameEncrypterStream {
70
70
  constructor(SFrameTransformOptions options);
71
71
  };
72
72
  SFrameEncrypterStream includes GenericTransformStream;