Replace/remove mochitests that does not need mock service
Categories
(Core :: DOM: Notifications, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox129 | --- | fixed |
People
(Reporter: saschanaz, Assigned: saschanaz)
References
Details
Attachments
(2 files)
dom/notification/test/mochitest/MockServices.js mocks nsIAlertsService but only on the content process, and thus it stops working with the change in bug 1891807. I think at least part of those tests are already covered by WPT and can go, and for others that require click events can go web-platform/mozilla with some test-only clicking function. Doing so will break the tests on GeckoView for now, but it doesn't make much sense there either when the actual nsIAlertsService backend is broken.
| Assignee | ||
Comment 1•1 year ago
|
||
Bug 1901282 will do the migration, while it seems some tests doesn't need mock at all. This bug is about potential migration to WPT (or removal if already covered).
| Assignee | ||
Comment 2•1 year ago
|
||
Nobody uses it outside dom/notification.
Updated•1 year ago
|
| Assignee | ||
Comment 3•1 year ago
|
||
Some dom/workers tests depending on event handlers of Notification interface are broken on Android because of no support. This patch disables them for now as there's no point to hide the breakage by using the mock.
Comment 5•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/04a1568edf68
https://hg.mozilla.org/mozilla-central/rev/112724a7654c
Description
•