diff --git a/interfaces/intervention-reporting.idl b/interfaces/intervention-reporting.idl new file mode 100644 index 00000000000000..95905fe3b58ec9 --- /dev/null +++ b/interfaces/intervention-reporting.idl @@ -0,0 +1,14 @@ +// GENERATED CONTENT - DO NOT EDIT +// Content was automatically extracted by Reffy into reffy-reports +// (https://github.com/tidoust/reffy-reports) +// Source: Intervention Reporting (https://wicg.github.io/intervention-reporting/) + +[Exposed=(Window,Worker)] +interface InterventionReportBody : ReportBody { + [Default] object toJSON(); + readonly attribute DOMString id; + readonly attribute DOMString message; + readonly attribute DOMString? sourceFile; + readonly attribute unsigned long? lineNumber; + readonly attribute unsigned long? columnNumber; +}; diff --git a/intervention-reporting/idlharness.any.js b/intervention-reporting/idlharness.any.js new file mode 100644 index 00000000000000..c7a4d6095f867d --- /dev/null +++ b/intervention-reporting/idlharness.any.js @@ -0,0 +1,14 @@ +// META: script=/resources/WebIDLParser.js +// META: script=/resources/idlharness.js + +'use strict'; + +idl_test( + ['intervention-reporting'], + ['reporting'], + idl_array => { + idl_array.add_objects({ + // TODO: objects + }); + } +);