Skip to content

Commit

Permalink
Add interfaces/intervention-reporting.idl and test (#24202)
Browse files Browse the repository at this point in the history
Closes #24193
  • Loading branch information
stephenmcgruer authored Jul 10, 2020
1 parent 2b4422b commit cce6211
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions interfaces/intervention-reporting.idl
Original file line number Diff line number Diff line change
@@ -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;
};
14 changes: 14 additions & 0 deletions intervention-reporting/idlharness.any.js
Original file line number Diff line number Diff line change
@@ -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
});
}
);

0 comments on commit cce6211

Please sign in to comment.