Skip to content

Conversation

@moz-wptsync-bot
Copy link
Collaborator

When the spec wants to evict reports due to a maxmimum amount having
been exceeded, it does so by report type.

This adds the ability to store max of N reports per type.

Also added a web platform test to test for ReportingObserver returning
test in the correct order as they were added.

See step 4 of 4.2:
https://www.w3.org/TR/reporting-1/#notify-observers

Differential Revision: https://phabricator.services.mozilla.com/D276831

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=2003729
gecko-commit: fd6a6f3de14b5e9b131ac58266bb3cd9fa726534
gecko-reviewers: smaug

When the spec wants to evict reports due to a maxmimum amount having
been exceeded, it does so by report type.

This adds the ability to store max of N reports per type.

Also added a web platform test to test for ReportingObserver returning
test in the correct order as they were added.

See step 4 of 4.2:
https://www.w3.org/TR/reporting-1/#notify-observers

Differential Revision: https://phabricator.services.mozilla.com/D276831

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=2003729
gecko-commit: fd6a6f3de14b5e9b131ac58266bb3cd9fa726534
gecko-reviewers: smaug
Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Firefox project.

Sandor Molnar and others added 2 commits January 7, 2026 10:34
… assertion failures

This reverts commit 8f2a3fac38ddb47db9216164a710c092b278720d.

gecko-commit: 0bba2e7eae4781aa38f4e6e97569051cbace5669
gecko-reviewers: smaug
When the spec wants to evict reports due to a maxmimum amount having
been exceeded, it does so by report type.

This adds the ability to store max of N reports per type.

Also added a web platform test to test for ReportingObserver returning
test in the correct order as they were added.

See step 4 of 4.2:
https://www.w3.org/TR/reporting-1/#notify-observers

Differential Revision: https://phabricator.services.mozilla.com/D276831

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=2003729
gecko-commit: 3b1bce30df11977ee4024a6edabfeae49f2d8cd5
gecko-reviewers: smaug
@moz-wptsync-bot moz-wptsync-bot merged commit fbd3a0f into master Jan 9, 2026
25 checks passed
@moz-wptsync-bot moz-wptsync-bot deleted the gecko/2003729 branch January 9, 2026 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants