gecko-dev/testing/web-platform/tests/interfaces/reporting.idl
autofoolip 734f240c18 Bug 1510170 [wpt PR 14250] - Update interfaces/reporting.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/reporting.idl (#14250)

Source: https://github.com/tidoust/reffy-reports/blob/6f56f1e/whatwg/idl/reporting.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/460112731
--

wpt-commits: abae65b52862490e80c8cc6ff563fe735535ee0c
wpt-pr: 14250
2018-12-11 15:49:54 +00:00

55 lines
1.5 KiB
Text

// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into reffy-reports
// (https://github.com/tidoust/reffy-reports)
// Source: Reporting API 1 (https://w3c.github.io/reporting/)
interface ReportBody {
};
interface Report {
readonly attribute DOMString type;
readonly attribute DOMString url;
readonly attribute ReportBody? body;
};
[Constructor(ReportingObserverCallback callback, optional ReportingObserverOptions options)]
interface ReportingObserver {
void observe();
void disconnect();
ReportList takeRecords();
};
callback ReportingObserverCallback = void (sequence<Report> reports, ReportingObserver observer);
dictionary ReportingObserverOptions {
sequence<DOMString> types;
boolean buffered = false;
};
typedef sequence<Report> ReportList;
interface DeprecationReportBody : ReportBody {
readonly attribute DOMString id;
readonly attribute Date? anticipatedRemoval;
readonly attribute DOMString message;
readonly attribute DOMString? sourceFile;
readonly attribute unsigned long? lineNumber;
readonly attribute unsigned long? columnNumber;
};
interface InterventionReportBody : ReportBody {
readonly attribute DOMString id;
readonly attribute DOMString message;
readonly attribute DOMString? sourceFile;
readonly attribute unsigned long? lineNumber;
readonly attribute unsigned long? columnNumber;
};
interface CrashReportBody : ReportBody {
readonly attribute DOMString? reason;
};
dictionary GenerateTestReportParameters {
required DOMString message;
DOMString group = "default";
};