diff --git a/index.src.html b/index.src.html index f0fc84b..8b6b887 100644 --- a/index.src.html +++ b/index.src.html @@ -679,17 +679,13 @@
-[Exposed=(Window,Worker)] -interface ReportBody { - [Default] object toJSON(); +dictionary ReportBody { }; -[Exposed=(Window,Worker)] -interface Report { - [Default] object toJSON(); - readonly attribute DOMString type; - readonly attribute DOMString url; - readonly attribute ReportBody? body; +dictionary Report { + DOMString type; + DOMString url; + ReportBody? body; }; [Exposed=(Window,Worker)] @@ -710,11 +706,11 @@- A Report is the application exposed - representation of a report. type - returns [=report/type=], url returns - [=report/url=], and body returns - [=report/body=]. + A Report is the application-exposed + representation of a report. + + ReportBody is an abstract dictionary + type from which specific report types should inherit. Each {{ReportingObserver}} object has these associated concepts: - A callback function set on creation.Interface {{ReportingObserver}}
typedef sequence<Report> ReportList;