|
347 | 347 | "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>" |
348 | 348 | }, |
349 | 349 | { |
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>" |
351 | 351 | }, |
352 | 352 | { |
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>" |
354 | 354 | } |
355 | 355 | ] |
356 | 356 | }, |
357 | 357 | { |
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>.", |
359 | 359 | "rationale": "if", |
360 | 360 | "steps": [ |
361 | 361 | { |
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>" |
363 | 363 | }, |
364 | 364 | { |
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>" |
366 | 366 | }, |
367 | 367 | { |
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>" |
369 | 369 | } |
370 | 370 | ] |
371 | 371 | }, |
372 | 372 | { |
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>.", |
374 | 374 | "rationale": "append", |
375 | 375 | "steps": [ |
376 | 376 | { |
|
0 commit comments