96 Commits

Author SHA1 Message Date
Thomas Wisniewski
10c77a8f7a Bug 1963764 - make sure Report Broken Site is still hidden appropriately when enterprise DisableFeedbackCommands policy is active (regressed by bug 1952334); r=Gijs, a=dsmith DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D258785
2025-07-31 17:21:57 +00:00
Beth Rennie
de0a132550 Bug 1956080 - Use async experiment cleanup in browser/components/reportbrokensite r=webcompat-reviewers,twisniewski
ExperimentManager.unenroll() is now effectively async when running in a
browser test (because we are now executing SQL queries during
unenrollment) so all cleanup functions that trigger unenrollment are
async as well.

Differential Revision: https://phabricator.services.mozilla.com/D250553
2025-05-22 21:45:53 +00:00
Jeff Muizelaar
b677328343 Bug 1967506. Change the broken site reporter reasons r=android-reviewers,webcompat-reviewers,android-l10n-reviewers,fluent-reviewers,twisniewski,flod,calu
This makes things less ambiguous and more specific.

This also makes a change to lowercase the reason name that
ends up in the report on Android to match desktop.

Differential Revision: https://phabricator.services.mozilla.com/D250264
2025-05-22 13:48:04 +00:00
Sandor Molnar
d92d197c9a Revert "Bug 1967506. Change the broken site reporter reasons r=android-reviewers,webcompat-reviewers,android-l10n-reviewers,fluent-reviewers,twisniewski,flod,calu" for causing fenix ui test failures
This reverts commit 329c1aaa59.
2025-05-22 10:29:23 +00:00
Jeff Muizelaar
329c1aaa59 Bug 1967506. Change the broken site reporter reasons r=android-reviewers,webcompat-reviewers,android-l10n-reviewers,fluent-reviewers,twisniewski,flod,calu
This makes things less ambiguous and more specific.

This also makes a change to lowercase the reason name that
ends up in the report on Android to match desktop.

Differential Revision: https://phabricator.services.mozilla.com/D250264
2025-05-22 03:11:28 +00:00
Tim Huang
0a7f12580c Bug 1963608 - Add a etpCategory to the AntiTracking info of the reportBrokenSite. r=twisniewski,anti-tracking-reviewers,android-reviewers,webcompat-reviewers,emz,npoon
Differential Revision: https://phabricator.services.mozilla.com/D247569
2025-05-16 09:20:26 +00:00
Beth Rennie
1473c1c375 Bug 1965386 - Skip enrollment for nonexistant features r=nimbus-reviewers,relud,search-reviewers,jteow,webcompat-reviewers,twisniewski
We already reject recipes in the RemoteSettingsExperimentLoader if they
have reference features not found in the feature manifest. However,
there are several tests that reference bogus features which should
really be failing. We now refuse to enroll silently in these recipes.

Tests will now fail loudly if they use the `NimbusTestUtils.enroll()` or
`NimbusTestUtils.enrollWithFeatureConfig()` APIs.

Differential Revision: https://phabricator.services.mozilla.com/D248561
2025-05-14 21:13:26 +00:00
Beth Rennie
e66b17993a Bug 1959209 - Use GleanPing::TestSubmission in browser/components/reportbrokensite r=webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D247507
2025-05-10 02:25:12 +00:00
Daniel Thorn
833d4088c4 Bug 1959483 - Port tests from ExperimentFakes and ExperimentTestUtils to NimbusTestUtils in browser/components/reportbrokensite r=nimbus-reviewers,webcompat-reviewers,beth,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D247019
2025-05-01 22:42:18 +00:00
Thomas Wisniewski
fa66860cf8 Bug 1952334 - Remove the old Report Site Issue fallback and its system addon, and have Report Broken Site perform its function; r=Gijs,mossop,webcompat-reviewers,zeid,frontend-codestyle-reviewers,denschub
Differential Revision: https://phabricator.services.mozilla.com/D240671
2025-03-24 11:55:09 +00:00
Sandor Molnar
b9feeb9be6 Backed out changeset 12fe213a5acf (bug 1952334) for causing bc failures @ browser_webcompat.com_fallback.js CLOSED TREE 2025-03-23 11:50:49 +02:00
Thomas Wisniewski
7d89ae3c11 Bug 1952334 - Remove the old Report Site Issue fallback and its system addon, and have Report Broken Site perform its function; r=Gijs,mossop,webcompat-reviewers,zeid,frontend-codestyle-reviewers,denschub
Differential Revision: https://phabricator.services.mozilla.com/D240671
2025-03-23 03:38:50 +00:00
Thomas Wisniewski
b35a83f180 Bug 1955086 - better-handle various broken site report information-gathering exception cases, to make automated tests more reliable; r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D242263
2025-03-22 01:36:04 +00:00
Thomas Wisniewski
4f77a2ac81 Bug 1952996 - add active experiments, active addons, and the h1-in-section-ua-styles pref to the broken site reports; r=Gijs,android-reviewers,calu,beth,npoon
Differential Revision: https://phabricator.services.mozilla.com/D242042
2025-03-22 01:36:04 +00:00
Cosmin Sabou
834872dfb3 Backed out changeset 5113567c1ced (bug 1952334) for bc failures on browser_webcompat.com_fallback.js. CLOSED TREE 2025-03-21 22:14:18 +02:00
Thomas Wisniewski
702cd76018 Bug 1952334 - Remove the old Report Site Issue fallback and its system addon, and have Report Broken Site perform its function; r=Gijs,mossop,webcompat-reviewers,zeid,frontend-codestyle-reviewers,denschub
Differential Revision: https://phabricator.services.mozilla.com/D240671
2025-03-21 13:00:34 +00:00
Butkovits Atila
08e9289902 Backed out 2 changesets (bug 1952996, bug 1955086) for causing gv failures complaining about WebCompat. CLOSED TREE
Backed out changeset 02ec15aaf59d (bug 1955086)
Backed out changeset ade63438179c (bug 1952996)
2025-03-21 09:27:15 +02:00
Thomas Wisniewski
6d08f0ae81 Bug 1955086 - better-handle various broken site report information-gathering exception cases, to make automated tests more reliable; r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D242263
2025-03-20 20:38:14 +00:00
Thomas Wisniewski
0057932f02 Bug 1952996 - add active experiments, active addons, and the h1-in-section-ua-styles pref to the broken site reports; r=Gijs,android-reviewers,calu,beth,npoon
Differential Revision: https://phabricator.services.mozilla.com/D242042
2025-03-20 20:38:14 +00:00
Sandor Molnar
0fb14f0eb0 Backed out changeset aff0571a4a46 (bug 1952334) for causing build bustages. CLOSED TREE 2025-03-20 03:12:29 +02:00
Thomas Wisniewski
6ac129706e Bug 1952334 - Remove the old Report Site Issue fallback and its system addon, and have Report Broken Site perform its function; r=Gijs,mossop,webcompat-reviewers,zeid,frontend-codestyle-reviewers,denschub
Differential Revision: https://phabricator.services.mozilla.com/D240671
2025-03-20 00:14:00 +00:00
Goloman Adrian
2297602064 Backed out changeset 0f21091f77ec (bug 1952334) for causing bc failures @browser_all_files_referenced.js. CLOSED TREE 2025-03-14 08:05:34 +02:00
Thomas Wisniewski
0c35bb4f68 Bug 1952334 - Remove the old Report Site Issue fallback and its system addon, and have Report Broken Site perform its function; r=Gijs,mossop,webcompat-reviewers,zeid,frontend-codestyle-reviewers,denschub
Differential Revision: https://phabricator.services.mozilla.com/D240671
2025-03-13 20:37:14 +00:00
Benjamin VanderSloot
986aa04113 Bug 1937102 - Fix protections UI tests that rely on unpartitioning storage - r=anti-tracking-reviewers,cookie-reviewers,webcompat-reviewers,timhuang,twisniewski
This is where I found and addressed a bug with surplus console messages when we enabled APS

Differential Revision: https://phabricator.services.mozilla.com/D233915
2025-01-16 15:39:24 +00:00
Paul Zuehlcke
41b865c1c2 Bug 1932148 - Include flag if BTP recently purged site in ReportBrokenSite reporter. r=webcompat-reviewers,anti-tracking-reviewers,twisniewski,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D229615
2024-11-28 11:17:24 +00:00
Mark Banner
aabcf18c26 Bug 1917530 - Fix some ESLint no-shadow issues in misc code. r=frontend-codestyle-reviewers,perftest-reviewers,translations-reviewers,omc-reviewers,migration-reviewers,webcompat-reviewers,urlbar-reviewers,dao,twisniewski,sparky,mconley,emcminn,mossop
Differential Revision: https://phabricator.services.mozilla.com/D221443
2024-09-12 21:08:44 +00:00
Sandor Molnar
b59809ee6a Backed out 8 changesets (bug 1917532, bug 1575506, bug 1917530) for causing node newtab failures CLOSED TREE
Backed out changeset 8d6f7bc74d08 (bug 1917532)
Backed out changeset 7c963e72cf06 (bug 1575506)
Backed out changeset d5e110187781 (bug 1917530)
Backed out changeset 1d2325ffded6 (bug 1917530)
Backed out changeset 8a361e37e32c (bug 1917530)
Backed out changeset c4011d92c7f7 (bug 1917530)
Backed out changeset 1a45047dfb3c (bug 1917530)
Backed out changeset ed6b35444c45 (bug 1917530)
2024-09-12 20:45:28 +03:00
Mark Banner
e3981e1099 Bug 1917530 - Fix some ESLint no-shadow issues in misc code. r=frontend-codestyle-reviewers,perftest-reviewers,translations-reviewers,omc-reviewers,migration-reviewers,webcompat-reviewers,urlbar-reviewers,dao,twisniewski,sparky,mconley,emcminn,mossop
Differential Revision: https://phabricator.services.mozilla.com/D221443
2024-09-12 16:41:58 +00:00
Emilio Cobos Álvarez
ade306990d Bug 1917034 - Remove some related always-on prefs. r=firefox-style-system-reviewers,zrhoffman
Differential Revision: https://phabricator.services.mozilla.com/D221769
2024-09-12 11:25:35 +00:00
Tim Huang
3d7983f1be Bug 1917791 - Reporting prefs for third-party cookie blocking in the broken site reports. r=twisniewski,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D221616
2024-09-10 17:09:53 +00:00
Sandor Molnar
cda163461b Backed out changeset 8b03e80669a3 (bug 1917791) for causing bc failures @ browser_antitracking_data_sent.js 2024-09-10 18:36:02 +03:00
Tim Huang
5fe554c1b5 Bug 1917791 - Reporting prefs for third-party cookie blocking in the broken site reports. r=twisniewski,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D221616
2024-09-10 13:24:16 +00:00
Gijs Kruitbosch
628fafe237 Bug 1896783 - don't rely on the ReportBrokenSite object existing as a window property, r=twisniewski,pbz,webcompat-reviewers
Unfortunately the addition in browser-siteProtections.js still makes this a
variable on the browser window, but refactoring the contents of that file to
be module-based is a separate effort.

Differential Revision: https://phabricator.services.mozilla.com/D210434
2024-08-14 13:10:41 +00:00
Gijs Kruitbosch
a6f6ff1c9a Bug 1896783 - start using the category manager for browser delayed startup, r=mossop,webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D210433
2024-08-14 13:10:41 +00:00
Stanca Serban
fac2471600 Bug 1910698 - Fix browser_antitracking_data_sent.js. CLOSED TREE
Columns are one-indexed, it was a bug that it showed up as 0:0.
2024-08-01 23:41:57 +03:00
Andrew McCreight
732e8e800f Bug 1898042 - Sort extra_labels in reportbrokensite for consistency. r=twisniewski,webcompat-reviewers
Not sorting this code means that tests are sensitive to the order of properties
in an object, or the order various test code sticks it into the array. It doesn't
look like the order actually matters, so sort extra_labels in the two places
that create these arrays.

Differential Revision: https://phabricator.services.mozilla.com/D211088
2024-05-21 20:18:41 +00:00
Jules Simplicio
00bd9923d0 Bug 1881821 - Clean up tokens files ahead of JSON source of truth setup r=desktop-theme-reviewers,reusable-components-reviewers,hjones,dao,mstriemer,devtools-reviewers
Changed
* `--color-background-*` are now part of the group of `--background-color` tokens
* `--box-background-color` is now part of the group of `--background-color` tokens as `--background-color-box`
* `--color-canvas` is now part of the group of `--background-color` tokens as `--background-color-canvas`
* `--border-interactive-*` are now part of the group of `--border-color` tokens and consequently now start with `--border-color`
* `--color-error-outline` is now an outline-specific token as `--outline-color-error`
* Comment headings were cleaned up as to follow the existing standard
* Better documentation behind the difference of "Base", "Application", and "Component" tiers in the design tokens documentation
* Tokens files are alphabetized

Removed
* `--outline-color-error` had duplicates in both high contrast mode media queries, so its value under `forced-colors` was removed
* "Base" and "Application" headings in tokens files were removed in order to lean in on the alphabetical order organization of token groups and promote a cleaner file and less confusion
* Documentation was edited down to not incude any guidance that we don't adhere to
* Remove duplicate interactive border color high contrast mode tokens in `tokens-brand.css` in favor of `tokens-shared.css`
* Remove `--button-border-color-primary` duplicate in `tokens-brand.css`
* Remove duplicate `--button-text-color` in `tokens-shared.css`

Differential Revision: https://phabricator.services.mozilla.com/D202767
2024-03-26 13:50:00 +00:00
Cristian Tuns
ff99f2334a Backed out changeset a695fb3d1edd (bug 1881821) for causing dt failures in browser_markup_screenshot_node_about_page.js CLOSED TREE 2024-03-25 21:23:57 -04:00
Jules Simplicio
37e13bc4c4 Bug 1881821 - Clean up tokens files ahead of JSON source of truth setup r=desktop-theme-reviewers,reusable-components-reviewers,hjones,dao,mstriemer
Changed
* `--color-background-*` are now part of the group of `--background-color` tokens
* `--box-background-color` is now part of the group of `--background-color` tokens as `--background-color-box`
* `--color-canvas` is now part of the group of `--background-color` tokens as `--background-color-canvas`
* `--border-interactive-*` are now part of the group of `--border-color` tokens and consequently now start with `--border-color`
* `--color-error-outline` is now an outline-specific token as `--outline-color-error`
* Comment headings were cleaned up as to follow the existing standard
* Better documentation behind the difference of "Base", "Application", and "Component" tiers in the design tokens documentation
* Tokens files are alphabetized

Removed
* `--outline-color-error` had duplicates in both high contrast mode media queries, so its value under `forced-colors` was removed
* "Base" and "Application" headings in tokens files were removed in order to lean in on the alphabetical order organization of token groups and promote a cleaner file and less confusion
* Documentation was edited down to not incude any guidance that we don't adhere to
* Remove duplicate interactive border color high contrast mode tokens in `tokens-brand.css` in favor of `tokens-shared.css`
* Remove `--button-border-color-primary` duplicate in `tokens-brand.css`
* Remove duplicate `--button-text-color` in `tokens-shared.css`

Differential Revision: https://phabricator.services.mozilla.com/D202767
2024-03-26 00:04:25 +00:00
Cristian Tuns
a9153f0427 Backed out changeset 6461d8999f47 (bug 1881821) for causing bc failures in /browser_parsable_css.js CLOSED TREE 2024-03-25 17:00:45 -04:00
Jules Simplicio
a12cd48132 Bug 1881821 - Clean up tokens files ahead of JSON source of truth setup r=desktop-theme-reviewers,reusable-components-reviewers,hjones,dao,mstriemer
Changed
* `--color-background-*` are now part of the group of `--background-color` tokens
* `--box-background-color` is now part of the group of `--background-color` tokens as `--background-color-box`
* `--color-canvas` is now part of the group of `--background-color` tokens as `--background-color-canvas`
* `--border-interactive-*` are now part of the group of `--border-color` tokens and consequently now start with `--border-color`
* `--color-error-outline` is now an outline-specific token as `--outline-color-error`
* Comment headings were cleaned up as to follow the existing standard
* Better documentation behind the difference of "Base", "Application", and "Component" tiers in the design tokens documentation
* Tokens files are alphabetized

Removed
* `--outline-color-error` had duplicates in both high contrast mode media queries, so its value under `forced-colors` was removed
* "Base" and "Application" headings in tokens files were removed in order to lean in on the alphabetical order organization of token groups and promote a cleaner file and less confusion
* Documentation was edited down to not incude any guidance that we don't adhere to
* Remove duplicate interactive border color high contrast mode tokens in `tokens-brand.css` in favor of `tokens-shared.css`
* Remove `--button-border-color-primary` duplicate in `tokens-brand.css`
* Remove duplicate `--button-text-color` in `tokens-shared.css`

Differential Revision: https://phabricator.services.mozilla.com/D202767
2024-03-25 20:12:21 +00:00
Dave Townsend
a0c83bc943 Bug 1864896: Autofix unused function arguments (browser). r=webcompat-reviewers,mconley,fxview-reviewers,desktop-theme-reviewers,omc-reviewers,migration-reviewers,twisniewski,aminomancer,dao,sclements,firefox-desktop-core-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D203005
2024-03-19 09:36:35 +00:00
Thomas Wisniewski
37957b7306 Bug 1881798 - remove the legacy ETP webcompat reporter; r=pbz,desktop-theme-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D203022
2024-03-03 01:39:42 +00:00
Thomas Wisniewski
060c440195 Bug 1870494 - request longer timeout for browser_tab_key_order.js; r=ksenia
Differential Revision: https://phabricator.services.mozilla.com/D202730
2024-02-26 16:56:01 +00:00
Mark Banner
aefd647018 Bug 1881265 - Enable ESLint recommended rule getter-return. r=mossop,extension-reviewers,devtools-reviewers,omc-reviewers,nchevobbe,aminomancer,robwu
Differential Revision: https://phabricator.services.mozilla.com/D202318
2024-02-26 11:35:40 +00:00
Thomas Wisniewski
c09d878e90 Bug 1875494 - Use troubleshoot.sys.mjs more in Report Broken Site to gather data for reports; r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D199448
2024-02-22 21:17:25 +00:00
Sebastian Hengst
0b1347e05c Backed out changeset fb3f7154ff00 (bug 1875494) for failures of mochitest-browser-chrome browser_antitracking_data_sent.js. CLOSED TREE 2024-02-19 19:14:11 +01:00
Thomas Wisniewski
c4af61cab7 Bug 1875494 - Use troubleshoot.sys.mjs more in Report Broken Site to gather data for reports; r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D199448
2024-02-19 16:14:50 +00:00
Thomas Wisniewski
fcecd3de0f Bug 1879130 - enable Report Broken Site by default, with 'reason' drop-down required; r=ksenia
Differential Revision: https://phabricator.services.mozilla.com/D200959
2024-02-07 21:56:10 +00:00
Thomas Wisniewski
d99719816a Bug 1869823 - replace Report Broken Site's <menulist> with an <html:select> to simplify some code; r=emilio,Gijs,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D196677
2024-02-06 00:02:54 +00:00