Commit Graph

10810 Commits

Author SHA1 Message Date
Hannah Peuckmann
4cf44c29d9 Bug 1567443 - Added flag for indicating secure Chrome UI in nsIAboutModule. r=pbz,webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D128188
2021-10-26 13:32:31 +00:00
OnuohaOluebube
29e91627c4 Bug 1737301 - Replaced OS.File with IOUtils in browser/base/content/test/performance/ r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D129338
2021-10-25 16:40:14 +00:00
Cristian Tuns
fbc196ed69 Backed out changeset 177e6f28d348 (bug 1567443) for causing mochitest failures on browser_check_identity_state.js. CLOSED TREE 2021-10-25 06:45:43 -04:00
Hannah Peuckmann
5808169fa1 Bug 1567443 - Using nsIAboutModule flag instead of regex to indicate secure about page. r=pbz,webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D128188
2021-10-25 09:34:06 +00:00
Johann Hofmann
b8c1266431 Bug 1737134 - Allow for updating privacy.restrict3rdpartystorage.rollout.enabledByDefault without browser restart. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D129192
2021-10-22 10:07:30 +00:00
Geoff Lankow
f044ee051e Bug 1698112 - Stop referencing browser files from toolkit, and prevent it happening again with a test. r=preferences-reviewers,mossop
Differential Revision: https://phabricator.services.mozilla.com/D128974
2021-10-21 21:54:52 +00:00
William Durand
35e814819e Bug 1735721 - Move addons-search-detection in tree. r=rpl,florian
This patch moves the addons-search-detection system add-on in tree and
adjusts the build configuration to make it a built-in add-on (which
requires changes in the `BrowserGlue.jsm` file).

Summary of the changes made to the different files:

- `api.js`: added license header, reformatted with Prettier, then fixed
  ESLint errors: use of `Services.eTLD` instead of
  `XPCOMUtils.defineLazyServiceGetter(...)` and defined
  `"searchInitialized"` on `this` instead of `global` which was unknown
- `background.js`: added license header, reformatted with Prettier,
  removed debug logs because they were off by default anyway, fixed
  ESLint error: id => addonId because addonId was already defined in a
  parent scope
- `manifest.json`: version number changed + `hidden: true`
- `schema.json`: no change await addon.enable();

Depends on D129019

Differential Revision: https://phabricator.services.mozilla.com/D128908
2021-10-21 11:51:06 +00:00
Luca Greco
fd499e3b22 Bug 1736825 - Improve manifest.json files parsing in browser_all_files_referenced.js. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D129019
2021-10-21 11:51:05 +00:00
Emilio Cobos Álvarez
d37eb95bc7 Bug 1736518 - Make browser.tabs.drawInTitlebar a tri-state. r=stransky,Gijs
To more properly support Linux having a different default at runtime.

Expose the resolved value in appinfo for convenience, and use it in the
front-end as needed.

Differential Revision: https://phabricator.services.mozilla.com/D129004
2021-10-21 09:07:12 +00:00
Iulian Moraru
00e4364a54 Backed out 2 changesets (bug 1735721, bug 1736825) for causing mochitests browser chrome failures on browser_startup_syncIPC.js, CLOSED TREE
Backed out changeset 80d2e27ea03f (bug 1735721)
Backed out changeset b265817ccc60 (bug 1736825)
2021-10-20 21:19:14 +03:00
Luca Greco
bc07ed9ca0 Bug 1736825 - Improve manifest.json files parsing in browser_all_files_referenced.js. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D129019
2021-10-20 14:07:25 +00:00
Joel Maher
f72bcee13e Bug 1727943 - turn on mochitest* tests that were skipped on win10-ccov and now pass. r=MasterWayZ
Differential Revision: https://phabricator.services.mozilla.com/D128817
2021-10-19 20:01:29 +00:00
Evgenia Kotovich
685e68c48b Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D128482
2021-10-18 09:26:33 +00:00
Noemi Erli
b1ebbba564 Backed out changeset 2ab6bb03dcc1 (bug 1576768) for causing failures in test_double_submit.html CLOSED TREE 2021-10-18 02:05:57 +03:00
Evgenia Kotovich
59d14912a7 Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D128482
2021-10-17 14:59:14 +00:00
Alexandru Michis
fdd29e992c Backed out changeset 7c08aa027893 (bug 1576768) for causing multiple failures.
CLOSED TREE
2021-10-15 16:52:43 +03:00
Evgenia Kotovich
8d5d1cda5f Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D128482
2021-10-15 12:58:11 +00:00
Mark Banner
f5f5e0511d Bug 1378173 - Remove Promise.jsm. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D128098
2021-10-14 08:28:28 +00:00
Michael Kohler
87790d1825 Bug 1672486 - Remove browser.toolbars.bookmarks.2h2020 pref from browser/customizableui/places r=mak
Differential Revision: https://phabricator.services.mozilla.com/D127588
2021-10-14 07:51:14 +00:00
Claudia
b76124608e Bug 1733425 - Change SessionStore.getClosedTabData to always return an object insteaf of a string. r=Standard8,extension-reviewers,zombie
Differential Revision: https://phabricator.services.mozilla.com/D128272
2021-10-14 07:01:30 +00:00
Christoph Kerschbaumer
4366e7bd3e Bug 1733924: Update tests within browser/base/content/test/webrtc/ to work with https-first enabled r=florian
Differential Revision: https://phabricator.services.mozilla.com/D127427
2021-10-11 11:25:53 +00:00
Dana Keeler
79424fae76 Bug 1705360 - "hide" NSS DBs from meddling third party software r=jschanck,bbeurdouche,perftest-reviewers,sparky
Some crash reports appear to be indicating that initializing NSS' certificate
and key databases is taking on the order of minutes in some cases, which is
unexpected. One hypothesis is that third-party software is opening these DBs at
the same time that NSS is operating on them, causing contention and thus
slowness. This patch experimentally (in Nightly only) renames these DBs in the
hopes that third-party software might not recognize them as the DBs it's
looking for, and will thus leave them alone.

Differential Revision: https://phabricator.services.mozilla.com/D126028
2021-10-08 18:33:46 +00:00
Sebastian Hengst
db91af550c Bug 1733426 - restrict exception for autocomplete-item.css in browser_parsable_css.js to Windows. r=tgiles
The exception got added in this bug, the usage of the CSS rule in bug 1696132
which started the Windows-only failures.

Differential Revision: https://phabricator.services.mozilla.com/D127975
2021-10-08 16:55:39 +00:00
Tim Giles
24928d6b32 Bug 1733426: Add workaround in test due to autocomplete-item.css being treated as a non-privileged stylesheet. r=dimi
This adds a workaround in the `browser_parsable_css.js` test for the autocomplete item stylesheets.
These stylesheets are loaded via chrome:// and so are privileged stylesheets, but in automation they are loaded as non-privileged stylesheets.
Since color-mix requires chrome privileges outside of Nightly, we need this workaround in order to not permanently fail when migrating from central to beta/release.

Differential Revision: https://phabricator.services.mozilla.com/D127314
2021-10-07 17:27:34 +00:00
Emilio Cobos Álvarez
3fad129a52 Bug 1733384 - Make inert not modify the computed style. r=sefeng,layout-reviewers,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D127422
2021-10-07 17:00:36 +00:00
Butkovits Atila
64999a3215 Backed out 4 changesets (bug 1733384) for causing failures at browser_windowPrompt.js. CLOSED TREE
Backed out changeset fa609fadac26 (bug 1733384)
Backed out changeset dd1936d9fe17 (bug 1733384)
Backed out changeset 1a073e40ab1a (bug 1733384)
Backed out changeset 65708a4c708f (bug 1733384)
2021-10-07 17:52:51 +03:00
Emilio Cobos Álvarez
275f027364 Bug 1733384 - Remove some asserts from a test that no longer pass because inert is no longer observable from the computed style.
MANUAL PUSH: Orange fix CLOSED TREE
2021-10-07 16:05:34 +02:00
Emilio Cobos Alvarez
5c5b0deb3d Bug 1734115 - Fix Windows-specific select popup test that was relying on -moz-Combobox to be exactly white. CLOSED TREE
MANUAL PUSH: Orange fix CLOSED TREE
2021-10-05 21:27:40 +02:00
Emilio Cobos Álvarez
fe6daf51b4 Bug 1734040 - Select input event should be composed. r=edgar,annevk
This matches other browsers and input elements.

Differential Revision: https://phabricator.services.mozilla.com/D127554
2021-10-05 16:53:48 +00:00
Narcis Beleuzu
4090e5af91 Backed out changeset afd3d1fef036 (bug 1705360) for Android Btime failures 2021-10-02 03:32:23 +03:00
Micah Tigley
0e5a9fc681 Bug 1724319 - Fix failing tests in browser/base/content/general when new downloads pref is enabled. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121928
2021-10-01 20:00:41 +00:00
Dana Keeler
703d108952 Bug 1705360 - "hide" NSS DBs from meddling third party software r=jschanck,bbeurdouche,perftest-reviewers,sparky
Some crash reports appear to be indicating that initializing NSS' certificate
and key databases is taking on the order of minutes in some cases, which is
unexpected. One hypothesis is that third-party software is opening these DBs at
the same time that NSS is operating on them, causing contention and thus
slowness. This patch experimentally (in Nightly only) renames these DBs in the
hopes that third-party software might not recognize them as the DBs it's
looking for, and will thus leave them alone.

Differential Revision: https://phabricator.services.mozilla.com/D126028
2021-10-01 17:40:38 +00:00
Andrew McCreight
82b2768c68 Bug 1733129 - browser_WebrtcGlobalInformation.js should call NoteIntentionalCrash in processes it is killing. r=kmag
Doing so will prevent the leak checker from reporting an error when it
fails to find a leak log.

This test was previously disabled on Windows due to the failures, so we
can re-enable it now, hopefully.

Differential Revision: https://phabricator.services.mozilla.com/D126954
2021-09-30 19:50:35 +00:00
Julian Descottes
a8faeb4444 Bug 1691954 - [marionette] Allow MarionetteEventsChild and dependencies in browser_startup_content.js r=Gijs
Depends on D126371

Now that the MarionetteEvents actors remain registered, MarionetteEventsChild.jsm and its Log.jsm dependencies both show up in the test browser_startup_content.js

Differential Revision: https://phabricator.services.mozilla.com/D126519
2021-09-30 09:13:07 +00:00
Marian-Vasile Laza
42fe9c614a Backed out changeset ee866eada1ad (bug 1705360) for causing talos failures. CLOSED TREE DONTBUILD 2021-09-30 06:54:43 +03:00
Dana Keeler
1ad07c39c6 Bug 1705360 - "hide" NSS DBs from meddling third party software r=jschanck,bbeurdouche
Some crash reports appear to be indicating that initializing NSS' certificate
and key databases is taking on the order of minutes in some cases, which is
unexpected. One hypothesis is that third-party software is opening these DBs at
the same time that NSS is operating on them, causing contention and thus
slowness. This patch experimentally (in Nightly only) renames these DBs in the
hopes that third-party software might not recognize them as the DBs it's
looking for, and will thus leave them alone.

Differential Revision: https://phabricator.services.mozilla.com/D126028
2021-09-29 21:23:59 +00:00
Byron Campen
5fa1592cc5 Bug 1680620: Wait until gathering is complete to finish this test. r=ng
This should avoid additional lines in the ICE log after we're done.

Differential Revision: https://phabricator.services.mozilla.com/D126851
2021-09-29 17:43:04 +00:00
Cosmin Sabou
d74746f269 Backed out changeset c70b589f7162 (bug 1691954) for bc failures in browser_startup_content.js. CLOSED TREE DONTBUILD 2021-09-29 20:41:35 +03:00
Tomislav Jovanovic
e9f6c7f260 Bug 1708243 - Part 3: Use actor messaging for tabs.detectLanguage, stop loading MessageChannel.jsm, r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D126623
2021-09-29 16:52:59 +00:00
Julian Descottes
6e112bdac2 Bug 1691954 - [marionette] Allow MarionetteEventsChild and dependencies in browser_startup_content.js r=Gijs
Depends on D126371

Now that the MarionetteEvents actors remain registered, MarionetteEventsChild.jsm and its Log.jsm dependencies both show up in the test browser_startup_content.js

Differential Revision: https://phabricator.services.mozilla.com/D126519
2021-09-29 15:39:05 +00:00
Butkovits Atila
2d06acdf21 Backed out changeset 4b6b66ff77ea (bug 1705360) for causing failures in test_refresh_firefox.py. CLOSED TREE 2021-09-29 01:12:25 +03:00
Dana Keeler
3f7dab8cf8 Bug 1705360 - "hide" NSS DBs from meddling third party software r=jschanck,bbeurdouche
Some crash reports appear to be indicating that initializing NSS' certificate
and key databases is taking on the order of minutes in some cases, which is
unexpected. One hypothesis is that third-party software is opening these DBs at
the same time that NSS is operating on them, causing contention and thus
slowness. This patch experimentally (in Nightly only) renames these DBs in the
hopes that third-party software might not recognize them as the DBs it's
looking for, and will thus leave them alone.

Differential Revision: https://phabricator.services.mozilla.com/D126028
2021-09-28 18:54:04 +00:00
Gavin Lazar Suntop
68aabfd13d Bug 1726385 - CTA + Recs variant r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D123679
2021-09-28 18:12:17 +00:00
Michelle Goossens
575ccf89a0 Bug 1727943 - Part 2: Migrate mochitest, reftest and crashtest Windows 10 ccov suites from AWS to Azure r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D125350
2021-09-28 15:27:39 +00:00
Cristian Tuns
6aa3e0bc23 Bug 1719221 - disable browser_about_blank_same_document_tabswitch.js on win10_2004 and mac r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D126614
2021-09-27 07:01:31 +00:00
Johann Hofmann
438f6eb80c Bug 1732271 - Add a rollout pref for setting dFPI as the default cookieBehavior. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D126476
2021-09-23 22:10:50 +00:00
Edgar Chen
3f6c38bcad Bug 1727345 - Add test for fullscreen warning on display none iframe; r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D123643
2021-09-23 09:16:59 +00:00
Dão Gottwald
509db95c61 Bug 1719203 - Let "Copy Image Link" use the original URL before redirects. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D125849
2021-09-22 16:54:53 +00:00
Harry Twyford
7749faf080 Bug 1726437 - Add new monochromatic themes. r=dao,mixedpuppy
This is pretty much impossible to review as-is, so it may be more useful to review the script that made them. The repo is at https://github.com/htwyford/create-theme-script. parse-themes-script.js is the main script. It reads input.json. input.json is pulled from https://github.com/FirefoxUX/themes/blob/main/tokens/color/base.json, with some light edits to fix inconsistencies. The file in the FirefoxUX repo is an export of the colors in the Figma file: https://www.figma.com/file/xaRff6432QsirRftX8NZgb/MR2-Themes?node-id=86%3A17747.

The themes aren't perfect yet. For example, the text color in the Urlbar chiclet is sometimes wrong. They also don't consider the UX spec on badge colors, since UX is still actively updating that part of the spec. Since these themes are behind a pref, I think we should land it and fix the issues in followups. It will make it more clear what is changing when they're not being added en masse like this. Getting them in the tree ASAP also lets UX and QA get a head start on testing them.

Differential Revision: https://phabricator.services.mozilla.com/D125755
2021-09-21 13:32:58 +00:00
Harry Twyford
eba55a238f Bug 1730262 - Add first monochromatic theme. r=desktop-theme-reviewers,dao,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D125283
2021-09-21 13:32:57 +00:00