Commit graph

1049 commits

Author SHA1 Message Date
smolnar
e89faa903f Backed out changeset 5018856d8fee (bug 1758474) for causing node eslint failure. CLOSED TREE 2022-03-10 11:58:45 +02:00
Mark Banner
fe937b78bd Bug 1758474 - Implement an ESLint rule to disallow passing {} as the target parameter for ChromeUtils.import. r=Gijs,mossop,perftest-reviewers,preferences-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D140517
2022-03-10 09:25:28 +00:00
Mark Banner
fbf379686b Bug 1758090 - Stop using ChromeUtils.import(..., null) for importing modules in browser/. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D140319
2022-03-08 16:59:18 +00:00
Julian Descottes
0da123c75b Bug 1371576 - [marionette] Avoid connections during marionette tests r=webdriver-reviewers,whimboo,Gijs
Depends on D136914

Differential Revision: https://phabricator.services.mozilla.com/D136528
2022-02-01 06:45:53 +00:00
Nick Alexander
98a644b4c8 Bug 1749435 - Use Fluent to localize bookmarks.html at run-time rather than build-time. r=flod,mak,fluent-reviewers
This modernizes an old part of the build system to not require
build-time localization at all.  That's generally preferable.

The most significant changes to the in-product functionality is to
make import localize HTML so that we can use Fluent's `data-l10n-id`.

The locale used is the user's current locale.  This is different than
the existing approach, which always uses the build-time (repack)
locale.  I believe this is a strictly superior user experience and it
may lead to future improvements where-in the default bookmarks become
truly dynamic and vary with the user's chosen locale rather than being
point-in-time decisions.

I tried to restrict these changes to only applen when we import the
default bookmarks, but I think the various layers of flags no longer
achieve this restriction in practice and the formatting and
localization will apply to all imported `bookmarks.html` files.  Since
we don't anticipate (nor ourselves write) these new things in
(respectively, to) `bookmarks.html`, and the file is already
user-controlled, I don't think this exposes any meaningful change in
functionality (or in security surface).

Some notes:

1) There's no migration of `.inc` -> `.ftl` because this is the lone
   `.inc` file.

2) I elected to prefix all strings with `default-bookmarks-`, since
   the existing names were very short and likely to collide (now or in
   the future).

3) I elected to change the HTML file name for easier searching.

4) Since the `default-bookmarks.html` file is product-specific and the
   existing tests are in `toolkit/`, I elected to not test the file
   directly in automation.

5) We removed the explicit locale (or equivalent `%LOCALE%`) since
   Mozilla properties will redirect to the appropriate language
   automatically.

Differential Revision: https://phabricator.services.mozilla.com/D135816
2022-01-19 17:02:26 +00:00
Mike Hommey
1acc37c7a6 Bug 1747756 - Move Windows system libraries from LIBS to moz.build. r=firefox-build-system-reviewers,mhentges
While mingw builds don't require user32 and advapi32 explicitly, it doesn't
hurt for them to be there (and they're required for clang-cl build).
Likewise, while clang-builds don't require uuid and userenv explicitly
because they're pulled in via #pragmas in the source code, mingw doesn't
support those #pragmas and needs them explicitly, which doesn't hurt the
clang-cl builds.

Differential Revision: https://phabricator.services.mozilla.com/D134737
2021-12-30 20:56:43 +00:00
Iulian Moraru
b469802d84 Backed out changeset 7f9b4b6191ad (bug 1747756) for causing multiple failures. CLOSED TREE 2021-12-30 01:59:26 +02:00
Mike Hommey
cb50a5444f Bug 1747756 - Move Windows system libraries from LIBS to moz.build. r=firefox-build-system-reviewers,mhentges
While mingw builds don't require user32 and advapi32 explicitly, it doesn't
hurt for them to be there (and they're required for clang-cl build).
Likewise, while clang-builds don't require uuid and userenv explicitly
because they're pulled in via #pragmas in the source code, mingw doesn't
support those #pragmas and needs them explicitly, which doesn't hurt the
clang-cl builds.

Differential Revision: https://phabricator.services.mozilla.com/D134737
2021-12-29 22:18:52 +00:00
Hector Zhao
e63cfab73a Bug 1659730 - Update 360se migrator to work with v9+. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D88530
2021-12-22 10:48:49 +00:00
Butkovits Atila
ab2d98e3e9 Backed out changeset dc43e9b0ba50 (bug 1659730) for causing failures at test_360seMigrationUtils.js. CLOSED TREE 2021-12-21 15:46:44 +02:00
Hector Zhao
ddaca4da68 Bug 1659730 - Update 360se migrator to work with v9+. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D88530
2021-12-21 11:37:11 +00:00
Emilio Cobos Alvarez
efe2305b8d Bug 1742696 - Opt-in a bunch of about:pages to dark system colors / form controls. r=Gijs,preferences-reviewers,webcompat-reviewers,twisniewski
Privileged pages do this automatically via:

  https://searchfox.org/mozilla-central/rev/aa8c75b83f636948f708986173965c84cae8c25f/widget/nsXPLookAndFeel.cpp#1179-1183

So this makes everything more consistent. Known exceptions:

 * Pocket panels (as those don't seem to support dark mode)
 * about:reader (because it has its own dark mode handling)

Differential Revision: https://phabricator.services.mozilla.com/D132019
2021-11-25 21:24:43 +00:00
Jake Gealer
bda2b34587 Bug 1557835 - Allow migration from Brave r=fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D131731
2021-11-23 05:26:09 +00:00
raquelvargas
82fcbdc4b5 Bug 1738245 - Remove OS.File usage from various browser/ tests. r=Standard8,robwu
Differential Revision: https://phabricator.services.mozilla.com/D129972
2021-11-05 16:49:48 +00:00
Marian-Vasile Laza
99b32fcd58 Backed out changeset a045ce98e572 (bug 1738245) for causing xpcshell failures on test_MigrationUtils_timedRetry.js. CLOSED TREE 2021-11-03 17:17:12 +02:00
raquelvargas
befd3cc567 Bug 1738245 - Remove OS.File usage from various browser/ tests. r=Standard8,robwu
Differential Revision: https://phabricator.services.mozilla.com/D129972
2021-11-03 08:05:31 +00:00
Dana Keeler
35c80429f0 Bug 1705360 - un-do nightly experiment obsfucating NSS DB locations r=jschanck,perftest-reviewers,AlexandruIonescu
Acording to crash reports, obsfucating the NSS DB locations did not help, so
this patch un-does the changes and un-migrates any migrated DB locations.

Differential Revision: https://phabricator.services.mozilla.com/D129323
2021-10-27 00:26:59 +00:00
Gijs Kruitbosch
5f4358c1c5 Bug 1735140 - also prompt for bookmark access permission for Safari on startup migrations, r=mak
Startup migrations pass the "ALL" constant, which unlike what you might expect is
not just an OR'd together set of all the other flags - so it needs to be checked
explicitly.

Differential Revision: https://phabricator.services.mozilla.com/D129282
2021-10-25 13:44:07 +00:00
Michael Kohler
0081d252a0 Bug 1672486 - Remove browser.toolbars.bookmarks.2h2020 pref in migration r=mak
Depends on D127589

Differential Revision: https://phabricator.services.mozilla.com/D127590
2021-10-14 07:51:15 +00:00
Dana Keeler
51ad07b3b9 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
Narcis Beleuzu
cdfdd9704d Backed out changeset afd3d1fef036 (bug 1705360) for Android Btime failures 2021-10-02 03:32:23 +03:00
Dana Keeler
8e59b5f49b 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
Marian-Vasile Laza
4b2ed8e8b4 Backed out changeset ee866eada1ad (bug 1705360) for causing talos failures. CLOSED TREE DONTBUILD 2021-09-30 06:54:43 +03:00
Dana Keeler
9aa0ad981f 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
pestanoah
185e859442 Bug 1699593 - Removed default icon styles from .title class. r=mhowell,mtigley,desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D125327
2021-09-14 14:42:44 +00:00
Geoff Brown
019c21f335 Bug 1730213 - Explicitly skip tests under browser/ on android; r=ahal
These tests are excluded from android test runs in moz.build. Including
an explicit annotation in each manifest avoids scheduling confusion.
browser-chrome and plain-chrome tests in browser/ are of no concern,
since those test types are never scheduled on android.

Differential Revision: https://phabricator.services.mozilla.com/D125266
2021-09-13 15:22:27 +00:00
Tom Ritter
f492e82a10 Bug 1723204: Update tests to prevent crashes r=ckerschb,jdescottes,robwu
This is most commonly as a result of CU.evalInSandbox which
allows an arbitrary filename but when omitted will default
to the filename of the test, which is a filesystem path
and thus is disallowed.

Differential Revision: https://phabricator.services.mozilla.com/D122246
2021-08-24 14:57:44 +00:00
Brindusan Cristian
dfcfe1d342 Backed out 4 changesets (bug 1724220, bug 1723204) for causing cpp non-unified bustages in TestSmartCrashTrimmer.cpp.
CLOSED TREE

Backed out changeset 0dab9553a2a8 (bug 1724220)
Backed out changeset df236c937895 (bug 1723204)
Backed out changeset 4a20d1832cf4 (bug 1723204)
Backed out changeset d7e4042af76c (bug 1723204)
2021-08-24 15:33:32 +03:00
Tom Ritter
2dd9a03c60 Bug 1723204: Update tests to prevent crashes r=ckerschb,jdescottes,robwu
This is most commonly as a result of CU.evalInSandbox which
allows an arbitrary filename but when omitted will default
to the filename of the test, which is a filesystem path
and thus is disallowed.

Differential Revision: https://phabricator.services.mozilla.com/D122246
2021-08-24 11:20:44 +00:00
Joel Maher
3ad9f06697 Bug 1710923 - migrate windows 7x32 debug tests to windows 10x32. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D115017
2021-05-24 20:06:43 +00:00
Csoregi Natalia
814d52a59c Backed out changeset 7ed8d739fe9a (bug 1710923) for causing cppunit failures. CLOSED TREE 2021-05-20 20:48:22 +03:00
Joel Maher
359e6f6227 Bug 1710923 - migrate windows 7x32 debug tests to windows 10x32. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D115017
2021-05-20 16:31:20 +00:00
Sandor Molnar
4e346690ad Backed out changeset 7fb52bd0c5b6 (bug 1710923) for causing win10 reftest failures. CLOSED TREE 2021-05-19 17:11:39 +03:00
Joel Maher
ce8b9ba202 Bug 1710923 - migrate windows 7x32 debug tests to windows 10x32. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D115017
2021-05-19 12:47:29 +00:00
Iulian Moraru
a2a59b7c80 Backed out changeset bdc93c5c667f (bug 1710923) for causing reftest failures on scrollbar-marks-overlay.html. CLOSED TREE 2021-05-14 01:51:04 +03:00
Joel Maher
bd3999c92b Bug 1710923 - migrate windows 7x32 debug tests to windows 10x32. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D115017
2021-05-13 15:07:48 +00:00
Harry Twyford
f4b848daab Bug 1708209 - Use native checkboxes in all native windows. r=Gijs,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D113678
2021-04-28 20:21:34 +00:00
Jared Wein
9cab30ac5b Bug 1706836 - Remove FX_MIGRATIONS_BOOKMARKS_ROOTS telemetry probe now that its expired. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D113415
2021-04-27 16:18:18 +00:00
Narcis Beleuzu
8d3f41a505 Backed out changeset aa40fbe24dd6 (bug 1707204) for landing with the wrong bug number 2021-04-27 19:34:23 +03:00
Jared Wein
08054b7664 Bug 1707204 - Remove FX_MIGRATIONS_BOOKMARKS_ROOTS telemetry probe now that its expired. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D113415
2021-04-27 16:18:18 +00:00
Michelle Goossens
1a08eedf0c Bug 1693815 - Remove illustrations on error pages r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D108883
2021-03-24 21:48:48 +00:00
ankur
32bf182577 Bug 1695253 - Replaced DTD/xhtml1-strict.dtd which lead to broken network loads. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D109379
2021-03-24 16:52:06 +00:00
Tim Nguyen
da94fac78a Bug 1697792 - Clean up info SVG icons in the codebase. r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D108001
2021-03-12 09:53:16 +00:00
Csoregi Natalia
8308087290 Backed out changeset dcc686463127 (bug 1697792) for failures on browser_parsable_css.js- icon related. CLOSED TREE 2021-03-12 05:21:41 +02:00
Tim Nguyen
3b6042742a Bug 1697792 - Clean up info SVG icons in the codebase. r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D108001
2021-03-11 20:47:37 +00:00
Jens Stutte
05581ddca4 Bug 1678330: Ensure nested SpinEventLoopUntil(OrShutdown) calls are traceable to the originating source in case of crash. r=nika,extension-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D106839
2021-03-02 22:11:58 +00:00
Cosmin Sabou
b2eb620ed0 Backed out changeset 03cae7800b41 (bug 1678330) for mochitest plain failures on test_window_open_discarded_bc.html. CLOSED TREE 2021-03-02 20:18:21 +02:00
Jens Stutte
a0af9ea0a4 Bug 1678330: Ensure nested SpinEventLoopUntil(OrShutdown) calls are traceable to the originating source in case of crash. r=nika,extension-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D106839
2021-03-02 15:15:20 +00:00
Itiel
810c0fb7c5 Bug 1689480 - Changes to about:welcomeback radiobuttons to accomodate for the added margin-block r=ntim
This also gets rid of the non clickable area between the radiobutton and its label.

Differential Revision: https://phabricator.services.mozilla.com/D103393
2021-02-12 17:05:26 +00:00
Gijs Kruitbosch
c1e35cf746 Bug 1678292 - handle absence of Local State directory better when checking for chromium data to import, r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D99214
2020-12-14 16:47:34 +00:00