Skip to content

Commit 70cbab5

Browse files
authored
Add patch for ed/idl/webrtc-identity.idl (#1629)
Fix optional dictionary argument in callback definition
1 parent d5712c0 commit 70cbab5

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
From d45c679c2d54868448d3c67ec8d86954f667b336 Mon Sep 17 00:00:00 2001
2+
From: Francois Daoust <[email protected]>
3+
Date: Mon, 28 Jul 2025 08:36:48 +0200
4+
Subject: [PATCH] Fix optional dictionary argument in callback definition
5+
6+
See https://github.com/w3c/webrtc-identity/pull/43
7+
---
8+
ed/idl/webrtc-identity.idl | 2 +-
9+
1 file changed, 1 insertion(+), 1 deletion(-)
10+
11+
diff --git a/ed/idl/webrtc-identity.idl b/ed/idl/webrtc-identity.idl
12+
index 108c3ad9b1..69597acea6 100644
13+
--- a/ed/idl/webrtc-identity.idl
14+
+++ b/ed/idl/webrtc-identity.idl
15+
@@ -19,7 +19,7 @@ dictionary RTCIdentityProvider {
16+
};
17+
18+
callback GenerateAssertionCallback = Promise<RTCIdentityAssertionResult>
19+
-(DOMString contents, DOMString origin, RTCIdentityProviderOptions options);
20+
+(DOMString contents, DOMString origin, optional RTCIdentityProviderOptions options = {});
21+
22+
callback ValidateAssertionCallback = Promise<RTCIdentityValidationResult>
23+
(DOMString assertion, DOMString origin);
24+
--
25+
2.37.1.windows.1
26+

0 commit comments

Comments
 (0)