From 3067b3d56869196f0084ff5e10dd8ecb30904f8b Mon Sep 17 00:00:00 2001 From: Francois Daoust Date: Fri, 13 Jun 2025 16:52:10 +0200 Subject: [PATCH] Add patch for ed/idl/reporting.idl Rollback interface definition of `ReportBody` --- ed/idlpatches/reporting.idl.patch | 33 +++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 ed/idlpatches/reporting.idl.patch diff --git a/ed/idlpatches/reporting.idl.patch b/ed/idlpatches/reporting.idl.patch new file mode 100644 index 000000000000..22560a2a9cfe --- /dev/null +++ b/ed/idlpatches/reporting.idl.patch @@ -0,0 +1,33 @@ +From 4d6dbe215a4f5369f322d71c7ddd1b1425f52981 Mon Sep 17 00:00:00 2001 +From: Francois Daoust +Date: Fri, 13 Jun 2025 16:51:15 +0200 +Subject: [PATCH] Rollback interface definition of `ReportBody` + +Pending complete resolution of +https://github.com/w3c/reporting/issues/216 + +... and in particular updates of the 6 specs that currently inherit from +`ReportBody`. The hope is that all 6 specs will be updated at about the same +time to avoid having to create individual patches. +--- + ed/idl/reporting.idl | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/ed/idl/reporting.idl b/ed/idl/reporting.idl +index 4511e4dca6..fd6b1375ce 100644 +--- a/ed/idl/reporting.idl ++++ b/ed/idl/reporting.idl +@@ -3,7 +3,9 @@ + // (https://github.com/w3c/webref) + // Source: Reporting API (https://w3c.github.io/reporting/) + +-dictionary ReportBody { ++[Exposed=(Window,Worker)] ++interface ReportBody { ++ [Default] object toJSON(); + }; + + dictionary Report { +-- +2.37.1.windows.1 +