Skip to content

Commit aea1888

Browse files
author
reffy-bot
committed
Update of ED report from new reffy run
Using reffy commit 18.8.2.
1 parent 1b87a34 commit aea1888

File tree

6 files changed

+89
-146
lines changed

6 files changed

+89
-146
lines changed

ed/algorithms/reporting-1.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -347,30 +347,30 @@
347347
"html": "<p>Append <var>report</var> to <var>scope</var>’s <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#windoworworkerglobalscope-report-buffer\" id=\"ref-for-windoworworkerglobalscope-report-buffer②\">report buffer</a>.</p>"
348348
},
349349
{
350-
"html": "<p>Let <var>type</var> be <var>report</var>’s <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#report-reporttype\" id=\"ref-for-report-reporttype\">type</a>.</p>"
350+
"html": "<p>Let <var>type</var> be <var>report</var>’s <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#report-reporttype\" id=\"ref-for-report-reporttype\">type</a>.</p>"
351351
},
352352
{
353-
"html": "<p>If <var>scope</var>’s <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#windoworworkerglobalscope-report-buffer\" id=\"ref-for-windoworworkerglobalscope-report-buffer③\">report buffer</a> now contains more than 100 reports with <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#report-reporttype\" id=\"ref-for-report-reporttype\">type</a> equal to <var>type</var>, remove the earliest item with <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#report-reporttype\" id=\"ref-for-report-reporttype\">type</a> equal to <var>type</var> in the <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#windoworworkerglobalscope-report-buffer\" id=\"ref-for-windoworworkerglobalscope-report-buffer④\">report buffer</a>.</p>"
353+
"html": "<p>If <var>scope</var>’s <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#windoworworkerglobalscope-report-buffer\" id=\"ref-for-windoworworkerglobalscope-report-buffer③\">report buffer</a> now contains more than 100 reports with <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#report-reporttype\" id=\"ref-for-report-reporttype\">type</a> equal to <var>type</var>, remove the earliest item with <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#report-reporttype\" id=\"ref-for-report-reporttype\">type</a> equal to <var>type</var> in the <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#windoworworkerglobalscope-report-buffer\" id=\"ref-for-windoworworkerglobalscope-report-buffer④\">report buffer</a>.</p>"
354354
}
355355
]
356356
},
357357
{
358-
"html": "Given a <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#report\" id=\"ref-for-report①⑧\">report</a> <var>report</var> and a <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c.github.io/reporting/#reportingobserver\" id=\"ref-for-reportingobserver⑥\">ReportingObserver</a></code> <var>observer</var>, this\n algorithm adds <var>report</var> to <var>observer</var>’s <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#reportingobserver-report-queue\" id=\"ref-for-reportingobserver-report-queue②\">report queue</a>, so long as <var>report</var>’s <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#report-reporttype\" id=\"ref-for-report-reporttype\">type</a> is observable by <var>observer</var>.",
358+
"html": "Given a <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#report\" id=\"ref-for-report①⑧\">report</a> <var>report</var> and a <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c.github.io/reporting/#reportingobserver\" id=\"ref-for-reportingobserver⑥\">ReportingObserver</a></code> <var>observer</var>, this\n algorithm adds <var>report</var> to <var>observer</var>’s <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#reportingobserver-report-queue\" id=\"ref-for-reportingobserver-report-queue②\">report queue</a>, so long as <var>report</var>’s <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#report-reporttype\" id=\"ref-for-report-reporttype\">type</a> is observable by <var>observer</var>.",
359359
"rationale": "if",
360360
"steps": [
361361
{
362-
"html": "<p>If <var>report</var>’s <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#report-reporttype\" id=\"ref-for-report-reporttype\">type</a> is not <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#visible-to-reportingobservers\" id=\"ref-for-visible-to-reportingobservers①\">visible to <code>ReportingObserver</code>s</a>, return.</p>"
362+
"html": "<p>If <var>report</var>’s <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#report-reporttype\" id=\"ref-for-report-reporttype\">type</a> is not <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#visible-to-reportingobservers\" id=\"ref-for-visible-to-reportingobservers①\">visible to <code>ReportingObserver</code>s</a>, return.</p>"
363363
},
364364
{
365-
"html": "<p>If <var>observer</var>’s <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#reportingobserver-options\" id=\"ref-for-reportingobserver-options③\">options</a> has a non-empty <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c.github.io/reporting/#dom-reportingobserveroptions-types\" id=\"ref-for-dom-reportingobserveroptions-types\">types</a></code> member which does not contain <var>report</var>’s <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#report-reporttype\" id=\"ref-for-report-reporttype\">type</a>, return.</p>"
365+
"html": "<p>If <var>observer</var>’s <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#reportingobserver-options\" id=\"ref-for-reportingobserver-options③\">options</a> has a non-empty <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c.github.io/reporting/#dom-reportingobserveroptions-types\" id=\"ref-for-dom-reportingobserveroptions-types\">types</a></code> member which does not contain <var>report</var>’s <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#report-reporttype\" id=\"ref-for-report-reporttype\">type</a>, return.</p>"
366366
},
367367
{
368-
"html": "<p>Create a new <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c.github.io/reporting/#dom-report\" id=\"ref-for-dom-report⑤\">Report</a></code> <var>r</var> with <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c.github.io/reporting/#dom-report-type\" id=\"ref-for-dom-report-type①\">type</a></code> initialized to <var>report</var>’s <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#report-reporttype\" id=\"ref-for-report-reporttype①⓪\">type</a>, <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c.github.io/reporting/#dom-report-url\" id=\"ref-for-dom-report-url①\">url</a></code> initialized to <var>report</var>’s <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#report-url\" id=\"ref-for-report-url④\">url</a>,\n and <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c.github.io/reporting/#dom-report-body\" id=\"ref-for-dom-report-body①\">body</a></code> initialized to <var>report</var>’s <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#report-body\" id=\"ref-for-report-body⑤\">body</a>.</p>"
368+
"html": "<p>Create a new <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c.github.io/reporting/#dom-report\" id=\"ref-for-dom-report⑤\">Report</a></code> <var>r</var> with <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c.github.io/reporting/#dom-report-type\" id=\"ref-for-dom-report-type\">type</a></code> initialized to <var>report</var>’s <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#report-reporttype\" id=\"ref-for-report-reporttype⑨\">type</a>, <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c.github.io/reporting/#dom-report-url\" id=\"ref-for-dom-report-url\">url</a></code> initialized to <var>report</var>’s <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#report-url\" id=\"ref-for-report-url③\">url</a>,\n and <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c.github.io/reporting/#dom-report-body\" id=\"ref-for-dom-report-body\">body</a></code> initialized to <var>report</var>’s <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#report-body\" id=\"ref-for-report-body④\">body</a>.</p>"
369369
}
370370
]
371371
},
372372
{
373-
"html": "Given a <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#report\" id=\"ref-for-report①⑧\">report</a> <var>report</var> and a <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c.github.io/reporting/#reportingobserver\" id=\"ref-for-reportingobserver⑥\">ReportingObserver</a></code> <var>observer</var>, this\n algorithm adds <var>report</var> to <var>observer</var>’s <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#reportingobserver-report-queue\" id=\"ref-for-reportingobserver-report-queue②\">report queue</a>, so long as <var>report</var>’s <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#report-reporttype\" id=\"ref-for-report-reporttype\">type</a> is observable by <var>observer</var>.",
373+
"html": "Given a <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#report\" id=\"ref-for-report①⑧\">report</a> <var>report</var> and a <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c.github.io/reporting/#reportingobserver\" id=\"ref-for-reportingobserver⑥\">ReportingObserver</a></code> <var>observer</var>, this\n algorithm adds <var>report</var> to <var>observer</var>’s <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#reportingobserver-report-queue\" id=\"ref-for-reportingobserver-report-queue②\">report queue</a>, so long as <var>report</var>’s <a data-link-type=\"dfn\" href=\"https://w3c.github.io/reporting/#report-reporttype\" id=\"ref-for-report-reporttype\">type</a> is observable by <var>observer</var>.",
374374
"rationale": "append",
375375
"steps": [
376376
{

ed/dfns/reporting-1.json

Lines changed: 22 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -630,14 +630,16 @@
630630
"definedIn": "prose"
631631
},
632632
{
633-
"id": "reportbody",
634-
"href": "https://w3c.github.io/reporting/#reportbody",
633+
"id": "dom-report-type",
634+
"href": "https://w3c.github.io/reporting/#dom-report-type",
635635
"linkingText": [
636-
"ReportBody"
636+
"type"
637637
],
638638
"localLinkingText": [],
639-
"type": "interface",
640-
"for": [],
639+
"type": "dict-member",
640+
"for": [
641+
"Report"
642+
],
641643
"access": "public",
642644
"informative": false,
643645
"heading": {
@@ -649,15 +651,15 @@
649651
"definedIn": "pre"
650652
},
651653
{
652-
"id": "dom-reportbody-tojson",
653-
"href": "https://w3c.github.io/reporting/#dom-reportbody-tojson",
654+
"id": "dom-report-url",
655+
"href": "https://w3c.github.io/reporting/#dom-report-url",
654656
"linkingText": [
655-
"toJSON()"
657+
"url"
656658
],
657659
"localLinkingText": [],
658-
"type": "method",
660+
"type": "dict-member",
659661
"for": [
660-
"ReportBody"
662+
"Report"
661663
],
662664
"access": "public",
663665
"informative": false,
@@ -670,13 +672,13 @@
670672
"definedIn": "pre"
671673
},
672674
{
673-
"id": "dom-report-tojson",
674-
"href": "https://w3c.github.io/reporting/#dom-report-tojson",
675+
"id": "dom-report-body",
676+
"href": "https://w3c.github.io/reporting/#dom-report-body",
675677
"linkingText": [
676-
"toJSON()"
678+
"body"
677679
],
678680
"localLinkingText": [],
679-
"type": "method",
681+
"type": "dict-member",
680682
"for": [
681683
"Report"
682684
],
@@ -905,7 +907,7 @@
905907
"Report"
906908
],
907909
"localLinkingText": [],
908-
"type": "interface",
910+
"type": "dictionary",
909911
"for": [],
910912
"access": "public",
911913
"informative": false,
@@ -918,58 +920,14 @@
918920
"definedIn": "prose"
919921
},
920922
{
921-
"id": "dom-report-type",
922-
"href": "https://w3c.github.io/reporting/#dom-report-type",
923-
"linkingText": [
924-
"type"
925-
],
926-
"localLinkingText": [],
927-
"type": "attribute",
928-
"for": [
929-
"Report"
930-
],
931-
"access": "public",
932-
"informative": false,
933-
"heading": {
934-
"id": "interface-reporting-observer",
935-
"href": "https://w3c.github.io/reporting/#interface-reporting-observer",
936-
"title": "Interface ReportingObserver",
937-
"number": "4.1"
938-
},
939-
"definedIn": "prose"
940-
},
941-
{
942-
"id": "dom-report-url",
943-
"href": "https://w3c.github.io/reporting/#dom-report-url",
944-
"linkingText": [
945-
"url"
946-
],
947-
"localLinkingText": [],
948-
"type": "attribute",
949-
"for": [
950-
"Report"
951-
],
952-
"access": "public",
953-
"informative": false,
954-
"heading": {
955-
"id": "interface-reporting-observer",
956-
"href": "https://w3c.github.io/reporting/#interface-reporting-observer",
957-
"title": "Interface ReportingObserver",
958-
"number": "4.1"
959-
},
960-
"definedIn": "prose"
961-
},
962-
{
963-
"id": "dom-report-body",
964-
"href": "https://w3c.github.io/reporting/#dom-report-body",
923+
"id": "reportbody",
924+
"href": "https://w3c.github.io/reporting/#reportbody",
965925
"linkingText": [
966-
"body"
926+
"ReportBody"
967927
],
968928
"localLinkingText": [],
969-
"type": "attribute",
970-
"for": [
971-
"Report"
972-
],
929+
"type": "dictionary",
930+
"for": [],
973931
"access": "public",
974932
"informative": false,
975933
"heading": {

ed/idl/reporting.idl

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,13 @@
33
// (https://github.com/w3c/webref)
44
// Source: Reporting API (https://w3c.github.io/reporting/)
55

6-
[Exposed=(Window,Worker)]
7-
interface ReportBody {
8-
[Default] object toJSON();
6+
dictionary ReportBody {
97
};
108

11-
[Exposed=(Window,Worker)]
12-
interface Report {
13-
[Default] object toJSON();
14-
readonly attribute DOMString type;
15-
readonly attribute DOMString url;
16-
readonly attribute ReportBody? body;
9+
dictionary Report {
10+
DOMString type;
11+
DOMString url;
12+
ReportBody? body;
1713
};
1814

1915
[Exposed=(Window,Worker)]

0 commit comments

Comments
 (0)