Skip to content

Commit b6bbcc7

Browse files
authored
Add patch for ed/idl/json-ld-api.idl (#1631)
Fix optional dictionary argument in callback definition
1 parent 882733c commit b6bbcc7

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

ed/idlpatches/json-ld-api.idl.patch

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
From 426298ab2d9e9c1adc7acb3163c536c37c886d45 Mon Sep 17 00:00:00 2001
2+
From: Francois Daoust <[email protected]>
3+
Date: Mon, 28 Jul 2025 08:51:59 +0200
4+
Subject: [PATCH] Fix optional dictionary argument in callback definition
5+
6+
Pending https://github.com/w3c/json-ld-api/pull/664
7+
---
8+
ed/idl/json-ld-api.idl | 2 +-
9+
1 file changed, 1 insertion(+), 1 deletion(-)
10+
11+
diff --git a/ed/idl/json-ld-api.idl b/ed/idl/json-ld-api.idl
12+
index 2090fde1d6..6b137f1cc4 100644
13+
--- a/ed/idl/json-ld-api.idl
14+
+++ b/ed/idl/json-ld-api.idl
15+
@@ -86,7 +86,7 @@ dictionary JsonLdOptions {
16+
17+
callback LoadDocumentCallback = Promise<RemoteDocument> (
18+
USVString url,
19+
- optional LoadDocumentOptions? options
20+
+ optional LoadDocumentOptions options = {}
21+
);
22+
23+
dictionary LoadDocumentOptions {
24+
--
25+
2.37.1.windows.1
26+

0 commit comments

Comments
 (0)