fune/browser/base/content/test/protectionsUI
Anna Yeddi 49495502bb Bug 1872954 - [Protections Panel] Ensure blocker tracker milestones subviewbutton is labeled. r=anti-tracking-reviewers,pbz
The Protections doorhanger UI includes [a subview button with id `protections-popup-milestones-content`](https://searchfox.org/mozilla-central/rev/762f24e00a9548d80ebba1b985c871ba6d9b829d/browser/components/controlcenter/content/protectionsPanel.inc.xhtml#160-167) that does not provide an accessible name,

It appears to happen because this `<toolbarbutton>` XUL control is marked up with [`<description>` as its child containing the on-screen text](https://searchfox.org/mozilla-central/rev/762f24e00a9548d80ebba1b985c871ba6d9b829d/browser/components/controlcenter/content/protectionsPanel.inc.xhtml#164-165), while `<label>` does provide an expected output for the Accessibility API preserving its visual appearance at the same time.

Since this control would become labeled and would start passing a11y_checks, we are also removing [the `fail-if` notation](https://searchfox.org/mozilla-central/rev/762f24e00a9548d80ebba1b985c871ba6d9b829d/browser/base/content/test/protectionsUI/browser.toml#57) from the `browser/base/content/test/protectionsUI/browser_protectionsUI_milestones.js` test manifest.

Note: the following prefs are needed:
```
      // Hide protections cards so as not to trigger more async messaging
      // when landing on the page.
      ["browser.contentblocking.report.monitor.enabled", false],
      ["browser.contentblocking.report.lockwise.enabled", false],
      ["browser.contentblocking.report.proxy.enabled", false],
      ["browser.contentblocking.cfr-milestone.update-interval", 0],
```

Differential Revision: https://phabricator.services.mozilla.com/D197634
2024-01-04 17:18:28 +00:00
..
benignPage.html
browser.toml Bug 1872954 - [Protections Panel] Ensure blocker tracker milestones subviewbutton is labeled. r=anti-tracking-reviewers,pbz 2024-01-04 17:18:28 +00:00
browser_protectionsUI.js Bug 1864226 - SetEnv to skip one click on a static toaster in a Desktop UI test and re-enable a11y-checks. r=mconley 2023-11-13 17:09:54 +00:00
browser_protectionsUI_3.js
browser_protectionsUI_background_tabs.js
browser_protectionsUI_categories.js Bug 1863280 - Part 4: Add tests. r=pbz 2023-11-16 00:22:47 +00:00
browser_protectionsUI_cookie_banner.js
browser_protectionsUI_cookies_subview.js
browser_protectionsUI_cryptominers.js
browser_protectionsUI_email_trackers_subview.js
browser_protectionsUI_fetch.js
browser_protectionsUI_fingerprinters.js
browser_protectionsUI_icon_state.js
browser_protectionsUI_milestones.js
browser_protectionsUI_open_preferences.js
browser_protectionsUI_pbmode_exceptions.js
browser_protectionsUI_report_breakage.js Bug 1868527 - hide 'Site not working?' from the protections panel when the 'Report Broken Site' feature is active; r=pbz 2023-12-13 15:57:10 +00:00
browser_protectionsUI_shield_visibility.js
browser_protectionsUI_socialtracking.js
browser_protectionsUI_state.js
browser_protectionsUI_state_reset.js
browser_protectionsUI_subview_shim.js Backed out changeset c95302b3df05 (bug 1863773) for not being needed anymore. CLOSED TREE 2023-11-21 09:16:41 +02:00
browser_protectionsUI_suspicious_fingerprinters_subview.js Bug 1863280 - Part 4: Add tests. r=pbz 2023-11-16 00:22:47 +00:00
browser_protectionsUI_telemetry.js
browser_protectionsUI_trackers_subview.js Bug 1858858 - Handle data-l10n-id updates for <panelview> title. r=anti-tracking-reviewers,bvandersloot 2023-11-14 10:38:56 +00:00
canvas-fingerprinter.html Bug 1863280 - Part 4: Add tests. r=pbz 2023-11-16 00:22:47 +00:00
containerPage.html
cookiePage.html
cookieServer.sjs
cookieSetterPage.html
emailTrackingPage.html
embeddedPage.html
file_protectionsUI_fetch.html
file_protectionsUI_fetch.js
file_protectionsUI_fetch.js^headers^
font-fingerprinter.html Bug 1863280 - Part 4: Add tests. r=pbz 2023-11-16 00:22:47 +00:00
head.js Bug 1852963 - Rename BrowserTestUtils.loadURIString() to .startLoadingURIString(). r=dao 2023-09-15 09:16:34 +00:00
sandboxed.html
sandboxed.html^headers^
trackingAPI.js Backed out changeset db935375566a (bug 1840902) for bc failure on browser_storageAccessThirdPartyChecks. CLOSED TREE 2023-08-15 17:27:16 +03:00
trackingPage.html Backed out changeset a8267c9267da (bug 1840902) for causing mochitest failures in automation.py CLOSED TREE 2023-08-08 19:40:55 -04:00