Commit graph

56 commits

Author SHA1 Message Date
Eric Chen
b8288a50a7 Bug 1901840 - restore browser.privateWindowSeparation.enabled pref a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D213651

Differential Revision: https://phabricator.services.mozilla.com/D214120
2024-06-18 14:41:53 +00:00
Robin Steuber
78bf550891 Bug 1900911 - Fix reference to now non-existant updateManager.readyUpdate r=nalexander,firefox-desktop-core-reviewers ,Gijs
This patch doesn't include testing. This is in large part because I would like to land this quickly. Ideally before this bug hits Beta. And it is in small part because I believe that testing can be added fairly trivially to a test that will be added in Bug 1889785, right after the soft freeze is over.

Differential Revision: https://phabricator.services.mozilla.com/D212867
2024-06-06 22:50:36 +00:00
hanna alemu
868833e264 Bug 1897321 - Add minVersion variable to whatsNewPage Nimbus feature r=omc-reviewers,firefox-desktop-core-reviewers ,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D211892
2024-05-29 14:43:17 +00:00
Robin Steuber
2ef30b1bbb Bug 1875502 - Add UpdateManager.updateInstalledAtStartup r=nalexander,application-update-reviewers,firefox-desktop-core-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209127
2024-05-16 20:01:54 +00:00
Nicholas Rishel
fde52c0d43 Bug 1896030 - Don't open new window on -os-autostart if the application has already started. r=nalexander,firefox-desktop-core-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D210253
2024-05-16 00:42:53 +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
66a91679d0 Bug 1875502 - Add UpdateManager.updateInstalledAtStartup r=nalexander,application-update-reviewers,firefox-desktop-core-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209127
2024-05-15 17:06:18 +00:00
Barret Rennie
677b4036a4 Bug 1883673 - Remove majorRelease2022 Nimbus feature r=aminomancer,omc-reviewers,win-reviewers,gstoll,pbz,firefox-desktop-core-reviewers
This feature is no longer intended for experimentation and some of the things
it controls are no longer in product.

Differential Revision: https://phabricator.services.mozilla.com/D204514
2024-04-24 20:15:19 +00:00
Iulian Moraru
7b76404e84 Backed out changeset 89b76affef99 (bug 1883673) for causing multiple bc failures. CLOSED TREE 2024-04-22 22:12:59 +03:00
Barret Rennie
ceaa247170 Bug 1883673 - Remove majorRelease2022 Nimbus feature r=aminomancer,omc-reviewers,win-reviewers,gstoll,pbz,firefox-desktop-core-reviewers
This feature is no longer intended for experimentation and some of the things
it controls are no longer in product.

Differential Revision: https://phabricator.services.mozilla.com/D204514
2024-04-22 17:57:31 +00:00
Nipun Shukla
78d468b22c Bug 1889232 - Removed firefox-bridge and firefox-private-bridge protocol creation r=mhughes,Gijs,firefox-desktop-core-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D206419
2024-04-18 15:18:04 +00:00
Iulian Moraru
9f43c4f202 Backed out changeset 977027e73ec0 (bug 1889232) for causing windows mass failures. 2024-04-18 01:13:29 +03:00
Nipun Shukla
e177223cf6 Bug 1889232 - Removed firefox-bridge and firefox-private-bridge protocol creation r=mhughes,Gijs,firefox-desktop-core-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D206419
2024-04-17 19:13:22 +00:00
Nicholas Rishel
d0888ec7c6 Bug 1890066 - Pre: Allow Messaging System system notifications processing when Firefox is invoked by the Notification Server via Remote Settings. r=nalexander,mconley
Differential Revision: https://phabricator.services.mozilla.com/D207096
2024-04-11 17:13:02 +00:00
Dave Townsend
a9a51bf046 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
Nicholas Rishel
cb71dc20a7 Bug 1883476 - Part 3: Remove dead launched from WDBA telemetry. r=nalexander
Backed out changeset 5d6127a9b7ed.

Differential Revision: https://phabricator.services.mozilla.com/D203516
2024-03-08 19:27:23 +00:00
Cosmin Sabou
bde44fb4ce Backed out 3 changesets (bug 1883476, bug 1826375) for causing windows build bustages. CLOSED TREE
Backed out changeset bc8bdcfbcd9c (bug 1883476)
Backed out changeset 7d6333da6d31 (bug 1826375)
Backed out changeset f5f32253c79c (bug 1826375)
2024-03-07 03:08:10 +02:00
Nicholas Rishel
3b7c2ff275 Bug 1883476 - Part 3: Remove dead launched from WDBA telemetry. r=nalexander
Backed out changeset 5d6127a9b7ed.

Differential Revision: https://phabricator.services.mozilla.com/D203516
2024-03-07 00:14:06 +00:00
hanna alemu
bffeeb273c Bug 1868097 - Whats New Page nimbus tooling r=omc-reviewers,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D200392
2024-03-06 14:36:14 +00:00
Mike Conley
0ead00c3a8 Bug 1877545 - Add a probe for whether or not a pre-existing profile existed when initting FirstStartup. data-review=jhirsch, r=rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D201286
2024-03-05 20:24:15 +00:00
Michael Hughes
09024f2525 Bug 1880368 - change firefox and firefox-private protocols to firefox-bridge and firefox-private-bridge protocols r=nshukla,mossop
Differential Revision: https://phabricator.services.mozilla.com/D201879
2024-02-29 19:03:17 +00:00
Mike Conley
1eb7ddbd5d Bug 1749345 - Skip FirstStartup initting if a previous profile exists. r=nalexander,rhelmer,aminomancer
The thinking here being that if a previous profile exists, then the
--first-startup argument is probably be passed because the user is
reinstalling on a system that still has (or once had) the browser
already installed on it. In that case, we're going to use that
pre-existing profile, and we don't need to do the FirstStartup
things, since they're primarily for systems where a new profile
is being created after install.

Differential Revision: https://phabricator.services.mozilla.com/D199763
2024-02-02 15:12:11 +00:00
Iulian Moraru
f542aabd08 Backed out changeset f6de722199b9 (bug 1749345) backout on mconley's request. CLOSED TREE 2024-01-31 17:57:48 +02:00
Mike Conley
54cc50d168 Bug 1749345 - Skip FirstStartup initting if a previous profile exists. r=nalexander,rhelmer
The thinking here being that if a previous profile exists, then the
--first-startup argument is probably be passed because the user is
reinstalling on a system that still has (or once had) the browser
already installed on it. In that case, we're going to use that
pre-existing profile, and we don't need to do the FirstStartup
things, since they're primarily for systems where a new profile
is being created after install.

Differential Revision: https://phabricator.services.mozilla.com/D199763
2024-01-30 21:08:15 +00:00
Chris H-C
f01284d336 Bug 1876445 - Remove early-event instrumentation r=perry.mcmanis
Differential Revision: https://phabricator.services.mozilla.com/D199739
2024-01-26 21:38:06 +00:00
Nipun Shukla
1b61a2bdab Bug 1873223 - Modified firefox and firefox-private protocol handler behavior r=Gijs,mhughes
Differential Revision: https://phabricator.services.mozilla.com/D197836
2024-01-22 21:59:04 +00:00
Mike Hommey
6895e6b14c Bug 1639461 - Remove last(?) remnants of the -remote command line flag. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D197315
2024-01-09 02:40:04 +00:00
Michael Hughes
be184998f5 Bug 1863980 - [msix] Make ShellService.setDefaultBrowser async. r=nalexander,mconley,dmose,omc-reviewers
This commit includes the changes to call into the new asynchronous code to set the browser as default, using powershell.

While here, we add more logging to this interaction to allow easier
debugging with QA.

Differential Revision: https://phabricator.services.mozilla.com/D194949
2023-12-01 20:07:08 +00:00
Cosmin Sabou
12fba69a84 Backed out 2 changesets (bug 1801954, bug 1863980) for bc failures on browser_setDefaultBrowser.js. CLOSED TREE
Backed out changeset b96506a6d950 (bug 1801954)
Backed out changeset 306a649fcc00 (bug 1863980)
2023-12-01 02:34:26 +02:00
Michael Hughes
0ff75af53b Bug 1863980 - [msix] Make ShellService.setDefaultBrowser async. r=nalexander,mconley,dmose,omc-reviewers
This commit includes the changes to call into the new asynchronous code to set the browser as default, using powershell.

While here, we add more logging to this interaction to allow easier
debugging with QA.

Differential Revision: https://phabricator.services.mozilla.com/D194949
2023-11-30 22:22:16 +00:00
Nipun Shukla
bd308b0a8a Bug 1862450 - Made changes to dual browser installer on Windows and MacOS r=mhughes,bytesized
Differential Revision: https://phabricator.services.mozilla.com/D193712
2023-11-16 00:15:57 +00:00
Nipun Shukla
54e568d790 Bug 1862450 - Made installer changes for dual browser extension to MacOS r=mhughes
Depends on D192478

Differential Revision: https://phabricator.services.mozilla.com/D192897
2023-11-15 14:24:17 +00:00
Nipun Shukla
b87aa197d3 Bug 1862450 - Made installer changes for dual browser extension r=mhughes
Differential Revision: https://phabricator.services.mozilla.com/D192478
2023-11-15 14:24:16 +00:00
seb
3c5f271cca Bug 366374 - macos: Check for profile before opening an url. r=mac-reviewers,spohl
There's windows-specific code which checks if a profile has been selected
before opening an url in a new window. This code is also useful for macos. It
fixes the bug that opens an empty window if you attempt to click a link before
a profile has been selected.

Differential Revision: https://phabricator.services.mozilla.com/D190988
2023-10-13 20:45:29 +00:00
Masatoshi Kimura
3e8c44dd66 Bug 1845057 - Remove aClaimAllTypes from setDefaultBrowser. r=nrishel,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D189678
2023-10-02 16:56:42 +00:00
Daisuke Akatsuka
9e7b132bbb Bug 1620576: Refer to the start time of the session with the update applied to suppress browser tips. r=adw,jteow,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D186900
2023-09-26 20:36:01 +00:00
Otto Länd
a2bf1f8d21 Bug 1848599: apply code formatting via Lando
# ignore-this-changeset
2023-08-29 07:26:43 +00:00
stransky
a1506ad75b Bug 1848599 Allow to place kiosk mode browser to selected monitor r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D186163
2023-08-29 07:23:56 +00:00
Gregory Pappas
31e3d8a68a Bug 1846845 - Remove some unneeded isPlatformAndVersionAtLeast checks r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D185221
2023-08-02 22:30:37 +00:00
Gregory Pappas
3eac12bbd7 Bug 1845311 - Use ChromeUtils.defineLazyGetter in more places r=arai,webdriver-reviewers,geckoview-reviewers,extension-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,anti-tracking-reviewers,sessionstore-reviewers,pbz,joschmidt,robwu,issammani,bytesized,owlish,dao
Differential Revision: https://phabricator.services.mozilla.com/D184481
2023-07-26 16:28:11 +00:00
Nick Alexander
a4a59a2ce9 Bug 1805514 - Part 3: Allow JS opaque relaunch data and actions. r=nrishel
This commit replaces two existing launch argument keys, `launchURL`
and `privilegedName`, with an opaque string of data.  Here opaque
means, "does not need to be inspected by the Windows notification
server DLL" (and in general, by the system backend components).

The existing `action` argument key was always intended for this
purpose but was not used in the first implementation.  Here, we make
`action` a stringified JSON object, which is easy for API consumers to
manage and generalizes to (mostly) arbitrary relaunch data.

This JSON object is a compound `notificationData` object containing
both:
- the consumer-provided `opaqueRelaunchData` (generally, an action);
- and implementation-provided details (the alert's name, if
  privileged, etc).
This compound object and the fact that everything transits as strings
makes everything a little more confusing than it really is.

The API to this opaque relaunch data is based on strings for
convenience.  It would be possible to manage JSON objects, perhaps by
using `nsIStructuredCloneContainer` to serialize "structured clone
encodable" JS objects across the process boundaries, but managing the
objects and container in that approach is much more effort than having
the API consumer stringify as desired.

In addition, this patch makes the notification server extract the
Firefox `action` data from the Windows toast `arguments` passed to the
server callback.  Since this fallback data is now provided to Firefox
at launch, there's no need to fetch it from the Windows notification
object; we simply need to know whether to pass through to a Windows
8.1 callback (`tagWasHandled=true`) or to act on the fallback data
(`tagWasHandled=false`).  This is simpler than teaching Firefox to
extract the arguments for toast itself or the appropriate action
button.

Differential Revision: https://phabricator.services.mozilla.com/D182314
2023-07-15 02:34:06 +00:00
Katherine Patenio
130ce23c4c Bug 1834831 - update imports of browser/modules JSMs r=webdriver-reviewers,perftest-reviewers,zeid,extension-reviewers,settings-reviewers,pip-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,sessionstore-reviewers,tabbrowser-reviewers,whimboo,mhowell,sgalich,robwu,sparky,Standard8,mconley,dao,sclements
Differential Revision: https://phabricator.services.mozilla.com/D179169
2023-06-19 18:44:48 +00:00
Cristian Tuns
110cfccc1f Backed out 2 changesets (bug 1834831) for causing node failures with checkBundles CLOSED TREE
Backed out changeset 58b351a155c8 (bug 1834831)
Backed out changeset 1acbb5231d14 (bug 1834831)
2023-06-19 13:22:35 -04:00
Katherine Patenio
a73f6ec769 Bug 1834831 - update imports of browser/modules JSMs r=webdriver-reviewers,perftest-reviewers,zeid,extension-reviewers,settings-reviewers,pip-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,sessionstore-reviewers,tabbrowser-reviewers,whimboo,mhowell,sgalich,robwu,sparky,Standard8,mconley,dao,sclements
Differential Revision: https://phabricator.services.mozilla.com/D179169
2023-06-19 16:46:18 +00:00
Mark Banner
ae619c5049 Bug 1838155 - Clean up some console.error calls that had been migrated from Cu.reportError. r=jdescottes,perftest-reviewers,geckoview-reviewers,credential-management-reviewers,search-reviewers,sgalich,owlish,jteow,sparky
This goes through the previous changes in the dependencies of bug 877389, and does two things:
1) Remove instances of \n
2) Change reporting of exceptions so that they are passed as separate arguments. This should result
   in an improved display of the exception in the browser console, should it occur.

Differential Revision: https://phabricator.services.mozilla.com/D180843
2023-06-15 08:33:57 +00:00
Chris H-C
525ad5b534 Bug 1837230 - Instrument an early event for FOG validation r=perry.mcmanis,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D180364
2023-06-09 20:19:25 +00:00
Nick Alexander
cde3d4a8d2 Bug 1835352 - Part 3: Record telemetry event when Firefox is launched from WDBA. r=nrishel
This uses the existing `browser.launched_to_handle ::
system_notification` event.  This is expedient and looks ahead to
making the WDBA a background task, where we likely will set the
privileged `name` of the toast to `default-browser-agent` or similar.

The alternative is to add a `browser.launched_to_handle ::
default_browser_agent` event.  I started with this and it's simply
duplication.  The data analysis phase will look almost identical with
either implementation: it's either filtering on the event name or on
the `name` key in the event extras.

Differential Revision: https://phabricator.services.mozilla.com/D179257
2023-06-01 03:41:17 +00:00
Mark Banner
130a655906 Bug 1826062 - Automatic fixes for upgrading Prettier to 2.8.8. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,calu
Differential Revision: https://phabricator.services.mozilla.com/D177027
2023-05-20 12:26:53 +00:00
Mark Banner
8219a5c503 Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish
Differential Revision: https://phabricator.services.mozilla.com/D177025
2023-05-20 12:26:49 +00:00
Bilal
b7d19f4f6d Bug 1816999 - ESMified browser/components/shell. r=kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D175274
2023-04-14 16:59:15 +00:00