@@ -697,17 +697,13 @@ spec: STRUCTURED-FIELDS; urlPrefix: https://www.rfc-editor.org/rfc/rfc8941.html#
697697 <h3 id=interface-reporting-observer>Interface {{ReportingObserver}}</h3>
698698
699699 <pre class="idl">
700- [Exposed=(Window,Worker)]
701- interface ReportBody {
702- [Default] object toJSON();
700+ dictionary ReportBody {
703701};
704702
705- [Exposed=(Window,Worker)]
706- interface Report {
707- [Default] object toJSON();
708- readonly attribute DOMString type;
709- readonly attribute DOMString url;
710- readonly attribute ReportBody? body;
703+ dictionary Report {
704+ DOMString type;
705+ DOMString url;
706+ ReportBody? body;
711707};
712708
713709[Exposed=(Window,Worker)]
@@ -728,11 +724,11 @@ dictionary ReportingObserverOptions {
728724typedef sequence<Report> ReportList;
729725 </pre>
730726
731- A <dfn id=dom-report interface >Report</dfn> is the application exposed
732- representation of a <a>report</a> . <dfn attribute for="Report">type</dfn>
733- returns [=report/type=] , <dfn attribute for="Report">url</dfn> returns
734- [=report/url=] , and <dfn attribute for="Report">body </dfn> returns
735- [= report/body=] .
727+ A <dfn id=dom-report dictionary >Report</dfn> is the application- exposed
728+ representation of a <a>report</a> .
729+
730+ <dfn id="reportbody" dictionary>ReportBody </dfn> is an abstract <a>dictionary</a>
731+ type from which specific report types should <a for=dictionary>inherit</a> .
736732
737733 Each {{ReportingObserver}} object has these associated concepts:
738734 - A <dfn for=ReportingObserver>callback</dfn> function set on creation.
0 commit comments