Commit graph

1303 commits

Author SHA1 Message Date
Jed Davis
dce11e4374 Bug 1900283 - Fix an edge case where the main thread I/O test would incorrectly fail. r=florian
If there is at least one record for expected I/O, but all of them have
`ignoreIfUnused: true`, and no I/O is reported, then the tests should
succeed (they are all unused and thus ignored).  There's a check which
expects to see I/O markers in that case, so this patch conditionally
skips it.  (Also: fix some pre-existing typos pointed out in review.)

Differential Revision: https://phabricator.services.mozilla.com/D212632
2024-06-06 21:45:19 +00:00
Andrew McCreight
136ed9d2cd Bug 1900825 - Convert startup script tests to use Map. r=florian
I tested with kDumpAllStacks set to true, and the output looked reasonable.

Differential Revision: https://phabricator.services.mozilla.com/D212708
2024-06-05 18:46:00 +00:00
Dão Gottwald
2f419065da Bug 1837575 - Move Tabbed Browser related files to browser/components/tabbrowser/. r=mconley,desktop-theme-reviewers,zeid,tabbrowser-reviewers,frontend-codestyle-reviewers,Itiel
This is a start, there are more modules and scripts we can/should move, as well as tests.

Differential Revision: https://phabricator.services.mozilla.com/D210676
2024-05-17 13:25:23 +00:00
Robin Steuber
c288841e23 Bug 1875502 - Fix tests broken by the previous patch stack that standardizes update initialization r=nalexander,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D204129
2024-05-16 20:01:55 +00:00
Sandor Molnar
d2115d8eec Backed out 23 changesets (bug 1887980, bug 1875502) for causing xpc failures @ toolkit/components/extensions/test/xpcshell/test_ext_storage_idb_data_migration.js CLOSED TREE
Backed out changeset fb53b5f266e2 (bug 1875502)
Backed out changeset 9157c611617d (bug 1875502)
Backed out changeset 924b7230a45e (bug 1875502)
Backed out changeset d83fa2a0c858 (bug 1887980)
Backed out changeset c538de825468 (bug 1875502)
Backed out changeset a6c1ee51eadb (bug 1875502)
Backed out changeset 47bc52e77563 (bug 1875502)
Backed out changeset 54d53947927a (bug 1875502)
Backed out changeset 6bc2601a69bd (bug 1875502)
Backed out changeset 917a4aed3b4b (bug 1875502)
Backed out changeset afa0353ca6a2 (bug 1875502)
Backed out changeset 42ad3c8fe41e (bug 1875502)
Backed out changeset b5f4c67a548b (bug 1875502)
Backed out changeset d47c42d117e3 (bug 1875502)
Backed out changeset a33c98ac118c (bug 1875502)
Backed out changeset b57983b426ba (bug 1875502)
Backed out changeset a013811a156b (bug 1875502)
Backed out changeset 05b53ed47055 (bug 1875502)
Backed out changeset aa0eee306544 (bug 1875502)
Backed out changeset 5736dca8c05b (bug 1875502)
Backed out changeset 6e60ddb35c98 (bug 1875502)
Backed out changeset fcb327ff8717 (bug 1875502)
Backed out changeset 1950b330d253 (bug 1875502)
2024-05-16 00:21:12 +03:00
Robin Steuber
722546fd39 Bug 1875502 - Fix tests broken by the previous patch stack that standardizes update initialization r=nalexander,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D204129
2024-05-15 17:06:19 +00:00
Mike Conley
fcf4e263b0 Bug 1890076 - Make browser.startup.record and browser.startup.recordImage static prefs. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D206830
2024-04-18 21:24:41 +00:00
Mike Conley
1b58e00144 Bug 1885993 - Enable the BackupService initializer on Nightly by default. r=backup-reviewers,kpatenio
This also bumps the browser.startup.record pref access threshold in
browser_preferences_usage.js slightly.

Differential Revision: https://phabricator.services.mozilla.com/D206046
2024-04-06 22:59:15 +00:00
Narcis Beleuzu
a2353b65fa Backed out changeset 1284f4f9d50e (bug 1885993) for bc failure on browser_preferences_usage.js 2024-04-06 16:02:29 +03:00
Mike Conley
52ed3520b6 Bug 1885993 - Enable the BackupService initializer on Nightly by default. r=backup-reviewers,kpatenio
This also bumps the browser.startup.record pref access threshold in
browser_preferences_usage.js slightly.

Differential Revision: https://phabricator.services.mozilla.com/D206046
2024-04-05 21:46:55 +00:00
Nika Layzell
72006e5961 Bug 1886892 - Part 1: Remove non-SHIP code from desktop SessionStore, r=sessionstore-reviewers,tabbrowser-reviewers,mconley,farre,geckoview-reviewers,owlish
In bug 1804140, we shipped SHIP everywhere on desktop. Unfortunately, we
never removed the now-dead code from SessionStore.

This patch removes the easy to identify SessionStore code for non-SHIP,
now that it is a fully unsupported configuration.

Differential Revision: https://phabricator.services.mozilla.com/D205479
2024-04-05 16:42:51 +00:00
Yi Xiong Wong
cd747f1f77 Bug 1880914 - Move BrowserOpenTab. r=Gijs,webdriver-reviewers,perftest-reviewers,extension-reviewers,sessionstore-reviewers,tabbrowser-reviewers,home-newtab-reviewers,thecount,whimboo,dao,afinder,omc-reviewers,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D205529
2024-04-03 10:32:27 +00:00
Butkovits Atila
159929cd10 Backed out 3 changesets (bug 1887029, bug 1886892) for causing failures at browser_all_files_referenced.js. CLOSED TREE
Backed out changeset 07f554ea4869 (bug 1887029)
Backed out changeset daa5f2355675 (bug 1886892)
Backed out changeset 389163cbd649 (bug 1886892)
2024-04-01 21:50:42 +03:00
Nika Layzell
7008e75b63 Bug 1886892 - Part 1: Remove non-SHIP code from desktop SessionStore, r=sessionstore-reviewers,tabbrowser-reviewers,mconley
In bug 1804140, we shipped SHIP everywhere on desktop. Unfortunately, we
never removed the now-dead code from SessionStore.

This patch removes the easy to identify SessionStore code for non-SHIP,
now that it is a fully unsupported configuration.

Differential Revision: https://phabricator.services.mozilla.com/D205479
2024-04-01 17:11:22 +00:00
Emilio Cobos Álvarez
d5da9ee86f Bug 1886729 - Enable macOS native-looking theme by default on nightly. r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D205581
2024-03-27 10:11:30 +00:00
Cosmin Sabou
d04b800e0d Backed out changeset 6c295712b30c (bug 1541603) for breaking crash minidump creation. a=backout 2024-03-24 15:01:31 +02:00
mcheang
0c0bd67afc Bug 1541603 - remove creation of minidumps folder on startup, create it lazily in crash reporter. r=gsvelto,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D36370
2024-03-23 14:25:29 +00:00
Mark Banner
23a339fc7c Bug 1885723 - Fix more jsm references in browser/. r=Gijs,credential-management-reviewers,omc-reviewers,aminomancer,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D204843
2024-03-19 22:08:29 +00:00
Dave Townsend
95ccf713ef Bug 1864896: Autofix unused function arguments (browser/base/content). r=Gijs,application-update-reviewers,tabbrowser-reviewers,places-reviewers,bytesized,dao
Differential Revision: https://phabricator.services.mozilla.com/D202949
2024-03-19 14:59:20 +00:00
Emilio Cobos Álvarez
c225b05799 Bug 1871515 - Let nsMenuPopupFrame constrain the panelview, and remove _calculateMaxHeight. r=dao,desktop-theme-reviewers
When I rewrote nsMenuPopupFrame, I made sure percentage sizes worked so
that we could do stuff like this.

This removes some complex code, and improves the behavior on platforms
where screen sizes might not be 100% reliable.

Differential Revision: https://phabricator.services.mozilla.com/D204754
2024-03-16 16:22:06 +00:00
Sam Foster
b496d884f0 Bug 1789727 - Default to the component implementation of Screenshots for nightly builds. r=extension-reviewers,sfoster,robwu,chutten
* Flip the component pref to true by default for nightly builds only
* Move the pref check and initialization to a startup idle task
* And be a bit smarter about when we get and disable the addon
* Fix a bug where we try to communicate with the overlay after the window actor is destroyed when
  the component pref gets flipped off during use

Differential Revision: https://phabricator.services.mozilla.com/D196888
2024-03-04 21:13:17 +00:00
Sandor Molnar
ef39b591b9 Backed out changeset 5b88e57227bc (bug 1789727) for causing bc failures @ browser_feature_callout_in_chrome.js & browser_asrouter_toolbarbadge CLOSED TREE 2024-03-01 20:33:14 +02:00
Sam Foster
9911ad6052 Bug 1789727 - Default to the component implementation of Screenshots for nightly builds. r=extension-reviewers,sfoster,robwu,chutten
* Flip the component pref to true by default for nightly builds only
* Move the pref check and initialization to a startup idle task
* And be a bit smarter about when we get and disable the addon
* Fix a bug where we try to communicate with the overlay after the window actor is destroyed when
  the component pref gets flipped off during use

Differential Revision: https://phabricator.services.mozilla.com/D196888
2024-03-01 15:02:51 +00:00
Noemi Erli
02ac792b19 Backed out changeset 9b4da905ce36 (bug 1789727) for causing failures in browser_asrouter_toolbarbadge.js CLOSED TREE 2024-02-29 22:43:51 +02:00
Sam Foster
24d2e39f9d Bug 1789727 - Default to the component implementation of Screenshots for nightly builds. r=extension-reviewers,sfoster,robwu,chutten
* Flip the component pref to true by default for nightly builds only
* Move the pref check and initialization to a startup idle task
* And be a bit smarter about when we get and disable the addon
* Fix a bug where we try to communicate with the overlay after the window actor is destroyed when
  the component pref gets flipped off during use

Differential Revision: https://phabricator.services.mozilla.com/D196888
2024-02-29 18:27:46 +00:00
Sandor Molnar
801590e08e Backed out changeset c8f7d19d58bb (bug 1789727) for causing telemetry/marionette/tests/client/test_subsession_management.py CLOSED TREE 2024-02-28 18:42:48 +02:00
Sam Foster
92b8f5b6e3 Bug 1789727 - Default to the component implementation of Screenshots for nightly builds. r=extension-reviewers,sfoster,robwu
* Flip the component pref to true by default for nightly builds only
* Move the pref check and initialization to a startup idle task
* And be a bit smarter about when we get and disable the addon
* Fix a bug where we try to communicate with the overlay after the window actor is destroyed when
  the component pref gets flipped off during use

Differential Revision: https://phabricator.services.mozilla.com/D196888
2024-02-28 15:40:08 +00:00
Stephen A Pohl
8fa68f6233 Bug 1799332: Update tests due to no longer bundling channel-prefs.js on macOS and locking the app.update.channel pref. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D186139
2024-02-21 18:50:31 +00:00
Mark Banner
fbb22918a3 Bug 1876589 - Avoid getting and processing preferences for each logging call to ConsoleInstance. r=emilio
This moves handling of the preferences and log value setting into ConsoleInstance, which is where the preferences
are received. It also makes ConsoleInstance add a listener on the preferences service so that updates are triggered.

The functionality is already covered by dom/console/tests/test_jsm.xhtml

Differential Revision: https://phabricator.services.mozilla.com/D199657
2024-02-13 18:31:21 +00:00
Mike Conley
3624c8f09d Bug 1878731 - Convert ToolbarBadgeHub to an ESM. r=emcminn,omc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D201123
2024-02-12 18:49:34 +00:00
Jed Davis
3401a6eccc Bug 1875412 - Fix the test for startup main thread I/O to not raise an exception if it fails when run locally. r=florian
If this test fails (`shouldPass` is false at the end), and
`MOZ_UPLOAD_DIR` is unset (typically the case when running locally), the
test raises an exception about using `PathUtils.join` with an empty path.
This is harmless (the test was already failing) but slightly confusing.

Differential Revision: https://phabricator.services.mozilla.com/D199166
2024-02-09 04:05:46 +00:00
Jed Davis
899a0c58d4 Bug 1875412 - Inform the main thread I/O test that the fork server preloads the omnijars. r=florian
See also bug 1840515.  Normally a content process will open the omnijar
files during startup, but when the fork server is used, this is done
once in the fork server and then inherited by child processes.

Differential Revision: https://phabricator.services.mozilla.com/D199165
2024-02-09 04:05:46 +00:00
Mike Conley
682fee1d69 Bug 1877196 - Move ToolbarBadgeHub.jsm to browser/components/asrouter. r=pdahiya,omc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D200081
2024-02-05 22:03:13 +00:00
Natalia Csoregi
9d161f4083 Backed out 2 changesets (bug 1875412) for causing failures on browser_startup_content_mainthreadio.js. CLOSED TREE
Backed out changeset a76471d27a10 (bug 1875412)
Backed out changeset bdaaab4565c5 (bug 1875412)
2024-01-31 09:23:15 +02:00
Jed Davis
a9c7d3d9a6 Bug 1875412 - Fix the test for startup main thread I/O to not raise an exception if it fails when run locally. r=florian
If this test fails (`shouldPass` is false at the end), and
`MOZ_UPLOAD_DIR` is unset (typically the case when running locally), the
test raises an exception about using `PathUtils.join` with an empty path.
This is harmless (the test was already failing) but slightly confusing.

Differential Revision: https://phabricator.services.mozilla.com/D199166
2024-01-31 05:59:01 +00:00
Jed Davis
6ab47497d2 Bug 1875412 - Inform the main thread I/O test that the fork server preloads the omnijars. r=florian
See also bug 1840515.  Normally a content process will open the omnijar
files during startup, but when the fork server is used, this is done
once in the fork server and then inherited by child processes.

Differential Revision: https://phabricator.services.mozilla.com/D199165
2024-01-31 05:59:01 +00:00
Joel Maher
3ad5072cf1 Bug 1873732 - remove outdated manifest conditions and use consistent conditions. r=aryx,necko-reviewers,jgilbert,settings-reviewers,credential-management-reviewers,devtools-reviewers,sessionstore-reviewers,dom-storage-reviewers,sgalich,kershaw,nchevobbe,janv,dao
Differential Revision: https://phabricator.services.mozilla.com/D198082
2024-01-25 00:27:05 +00:00
Stanca Serban
221d7acc5b Backed out changeset 54462970f797 (bug 1873732) for causing web platform tests failures. 2024-01-24 21:08:19 +02:00
Gijs Kruitbosch
96fbfbdfb0 Bug 1780071 - autofix browser/ violations of no-comparison-or-assignment-inside-ok, r=Standard8,webcompat-reviewers,extension-reviewers,settings-reviewers,credential-management-reviewers,fxview-reviewers,sessionstore-reviewers,places-reviewers,sgalich,dao,twisniewski,mconley,sclements
Differential Revision: https://phabricator.services.mozilla.com/D198974
2024-01-24 17:03:13 +00:00
Joel Maher
807575f8e1 Bug 1873732 - remove outdated manifest conditions and use consistent conditions. r=aryx,necko-reviewers,jgilbert,settings-reviewers,credential-management-reviewers,devtools-reviewers,sessionstore-reviewers,dom-storage-reviewers,sgalich,kershaw,nchevobbe,janv,dao
Differential Revision: https://phabricator.services.mozilla.com/D198082
2024-01-24 16:35:54 +00:00
Mark Banner
c7947b6868 Bug 1872674 - Add an ESLint rule to reject new uses of Console.sys.mjs/Log.sys.mjs. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D197504
2024-01-16 13:37:07 +00:00
Gregory Pappas
79df8e7457 Bug 1872824 - Remove toolkit.lazyHiddenWindow pref r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D197568
2024-01-03 20:38:31 +00:00
Emilio Cobos Álvarez
e10468e053 Bug 1792098 - Run custom filters after filtering out expected changes. r=dao
What's going on is that we get a focus change, but we also get the
expected "reload button flickers" failure in performance_windowopen.js

Due to that expected change, the isLikelyFocusChange logic fails.

Filtering out expected changes before calling filter() is one way to fix
this. An alternative would be to relax isLikelyFocusChange somehow,
which to me seems undesirable...

Differential Revision: https://phabricator.services.mozilla.com/D197274
2023-12-26 10:00:06 +00:00
Narcis Beleuzu
fc1c2f1cea Bug 1870512 - Allow another Msg_ProcessUnhandledEvent on win32. CLOSED TREE
This is likely because the sanitytest window is not a popup anymore and
uses APZ.
2023-12-21 02:36:26 +02:00
Narcis Beleuzu
8dd2bbeb0a Bug 1870803 - Ignore the focus switch transition in browser_windowclose.js
MANUAL PUSH: Tentative trivial orange fix CLOSED TREE
2023-12-21 02:11:38 +02:00
Emilio Cobos Álvarez
a59f6db8d7 Bug 1870803 - Fix browser perf tests to account for inactive window transition. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D196877
2023-12-20 21:30:14 +00:00
Cristina Horotan
991573dfca Backed out changeset 31eaa2b1cf1b (bug 1870803) on request by emilio. CLOSED TREE 2023-12-20 00:09:39 +02:00
Emilio Cobos Álvarez
0234f1e273 Bug 1870803 - Fix browser perf tests to account for inactive window transition. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D196877
2023-12-19 21:14:10 +00:00
Gijs Kruitbosch
a9c9ffa5f1 Bug 1870197 - fix triage years for performance triage metadata file, r=suhaib,mconley DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D196550
2023-12-15 16:07:46 +00:00
Gijs Kruitbosch
7bef26f04e Bug 1869273 - update performance triage rotation file, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D196038
2023-12-11 15:34:13 +00:00