-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add interfaces/intervention-reporting.idl and test (#24202)
Closes #24193
- Loading branch information
1 parent
2b4422b
commit cce6211
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
}); | ||
} | ||
); |