Граф коммитов

6110 Коммитов

Автор SHA1 Сообщение Дата
Haik Aftandilian 96b2e2a022 Bug 1467758 - WindowServer connection never being terminated r=spohl
Drop the window server connection from the content process sandbox when out-of-process WebGL is enabled.

Differential Revision: https://phabricator.services.mozilla.com/D128842
2021-10-19 16:38:33 +00:00
Doug Thayer 5784aaf6e3 Bug 1731501 - Use setActivationPolicy to hide dock icon on OSX r=mstange
This could be a bit risky to enable in any widespread fashion, but the
goal here is just to land it behind an undocumented command line flag
so that we can do a bit of experimentation and dogfooding. The API
seems to work exactly as desired: firefox opens in the background
without a window or dock icon. Upon trying to launch firefox again, we
simply send a remote command to the existing instance to open a window,
and it does so and gets a dock icon.

Differential Revision: https://phabricator.services.mozilla.com/D126054
2021-10-17 19:00:12 +00:00
Andrei Oprea b5e3b22572 Bug 1734146 - Reach groups should include all features that are part of the messaging-experiments provider r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D127664
2021-10-14 09:26:09 +00:00
Michael Kohler d00eca3132 Bug 1672486 - Remove browser.toolbars.bookmarks.2h2020 pref from firefox.js r=mak,Gijs
Depends on D127590

Differential Revision: https://phabricator.services.mozilla.com/D127591
2021-10-14 07:51:16 +00:00
Doug Thayer 7ddd9de745 Bug 1733444 - Persist an "allow windowless" mode after restarts from -silentmode r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D127150
2021-10-01 01:26:25 +00:00
Csoregi Natalia d7366e9cbd Backed out changeset c486787cd9a2 (bug 1733444) for causing build bustage on nsAppStartup.cpp.CLOSED TREE 2021-10-01 00:38:34 +03:00
Doug Thayer a91484d045 Bug 1733444 - Persist an "allow windowless" mode after restarts from -silentmode r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D127150
2021-09-30 20:43:26 +00:00
Scott a1b9235fb1 Bug 1730017 - Adding save to Pocket button to newtab Pocket cards on hover. r=fluent-reviewers,flod,gvn
Differential Revision: https://phabricator.services.mozilla.com/D126748
2021-09-29 20:20:32 +00:00
Sam Foster 45ea2935f8 Bug 1724960 - Add a one-time infobar to explain session restore. r=Gijs,fluent-reviewers
* Add a new browser.startup.couldRestoreSession.count which counts up (max 2) each time we *could* restore a session
* Show the new infobar notification when that count reaches 1 (i.e. skip it on the first startup after update)
* New strings for the notification - including an inline icon image for the ☰
* The notification's button opens the app menu.
* Allow Opt-out with a pref value of -1, and opt-out the testing user by default so our perf tests don't trip on it.

Differential Revision: https://phabricator.services.mozilla.com/D125904
2021-09-27 19:27:02 +00:00
Sandor Molnar a6fd1760f5 Backed out changeset 563ff2a2a021 (bug 1724960) for causing talos failures. CLOSED TREE 2021-09-24 06:52:13 +03:00
Sam Foster d084a1afae Bug 1724960 - Add a one-time infobar to explain session restore. r=Gijs,fluent-reviewers
* Add a new browser.startup.couldRestoreSession.count which counts up (max 2) each time we *could* restore a session
* Show the new infobar notification when that count reaches 1 (i.e. skip it on the first startup after update)
* New strings for the notification - including an inline icon image for the ☰
* The notification's button opens the app menu.

Differential Revision: https://phabricator.services.mozilla.com/D125904
2021-09-23 23:19:41 +00:00
Scott b48fcc9847 Bug 1730018 - New Pocket footer section on newtab r=gvn,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D126268
2021-09-23 22:08:37 +00:00
Scott 21db2db736 Bug 1729946 - Adding Pocket newtab load more button. r=fluent-reviewers,gvn,flod
Differential Revision: https://phabricator.services.mozilla.com/D125631
2021-09-23 02:48:38 +00:00
Nicolas Chevobbe 4cedd06060 Bug 1731764 - [devtools] Rename DevTools fission pref panel into DevToools experimental pref panel. r=jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D126222
2021-09-22 05:08:18 +00:00
Neil Deakin 13cf41155c Bug 1724977, change default value of browser.tabs.warnOnClose to false, r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D125780
2021-09-20 16:39:57 +00:00
Bob Owen 972b41f513 Bug 1546154 p3: Explicitly load COM functions from combase.dll to prevent ole32 loading. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D124931
2021-09-20 10:09:01 +00:00
Dan Mosedale 5325ae98f2 Bug 1730621 - avoid showing captive portal VPN promo in some cases, r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D125832
2021-09-17 23:31:40 +00:00
Punam Dahiya 92710b365d Bug 1729766 - Update about:privatebrowsing with VPN promo r=Mardak,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D125206
2021-09-16 15:25:47 +00:00
Tim Huang 5dc500faf3 Bug 1664995 - Part 4: Enable OCSP partiitoning in strict mode. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D124471
2021-09-16 09:20:41 +00:00
Scott 609ea03bfa Bug 1717682 - Pref and implementation for compact 4 card row layout for Pocket newtab. r=fluent-reviewers,gvn,flod
Differential Revision: https://phabricator.services.mozilla.com/D125307
2021-09-15 23:47:41 +00:00
Marian-Vasile Laza 1cf4af94e5 Backed out 7 changesets (bug 1546154) for causing build bustages on ContentProcess.cpp. CLOSED TREE
Backed out changeset 0bd777eee249 (bug 1546154)
Backed out changeset 611812ee62a2 (bug 1546154)
Backed out changeset cef0aa18a3ab (bug 1546154)
Backed out changeset cfda47fb0a46 (bug 1546154)
Backed out changeset f3e005f5fedc (bug 1546154)
Backed out changeset 7f50fca0c2cd (bug 1546154)
Backed out changeset bbb0b25450f5 (bug 1546154)
2021-09-15 14:12:55 +03:00
Bob Owen 8b6ae95727 Bug 1546154 p3: Explicitly load COM functions from combase.dll to prevent ole32 loading. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D124931
2021-09-15 10:21:04 +00:00
Nicolas Chevobbe ac25598d5b Bug 1685500 - [devtools] Create target actors for all iframes. r=ochameau.
This patch introduces a new pref, devtools.every-frame-target.enabled,
that when set to true will cause target actors to be created on every
iframe, no matter if they are remote or not, no matter if Fission is
enabled or not.

This adds a ignoreSubFrames property on the BrowsingContextActor so
it can focus solely on the docShell it was passed.

Differential Revision: https://phabricator.services.mozilla.com/D125517
2021-09-15 05:35:37 +00:00
Doug Thayer ef2740f793 Bug 1728653 - Allow a silent start mode r=bytesized,nalexander,application-update-reviewers,mossop
This will allow starting Firefox in the background, and on Windows will allow
closing the last browser window without killing the main process. There is no
plan for actually using this by default in Firefox proper, but it's needed for
some explorations.

There's more to this work that we'll need - this is just the first step. For
instance, we'll need a real way to actually kill firefox on Windows other than
through the task manager (we'll be putting something in the system tray to
allow this.)

The patch wasn't particularly large, so I didn't split out the rename of
MOZ_APP_SILENT_START to MOZ_APP_SILENT_RESTART - let me know if you'd like me
to do that though and I can.

Differential Revision: https://phabricator.services.mozilla.com/D124249
2021-09-09 18:09:25 +00:00
Harry Twyford 5cc7c537db Bug 1710937 - Part 2 - Remove showCustomizationMenu pref and associated code. r=amy
Differential Revision: https://phabricator.services.mozilla.com/D123249
2021-09-08 22:06:22 +00:00
Harry Twyford b507dc7cac Bug 1710937 - Part 1 - Remove newNewTabExperienceEnabled pref and associated code. r=amy,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D123248
2021-09-08 22:06:22 +00:00
Neil Deakin 65df4a63fd Bug 1726736, add a separate preference when quitting using the shortcut key, and modify the close dialog warning to indicate that the warning only applies to keyboard quitting, r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D124222
2021-09-08 12:32:57 +00:00
Neil Deakin bacad5868c Bug 1724976, whether to show quit warning should not be dependent on session restore state, and remove the redundant browser.sessionstore.warnOnQuit preference, r=Gijs,fluent-reviewers,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D124221
2021-09-08 12:32:57 +00:00
Drew Willcoxon dd477a0aff Bug 1729569 - Add a Nimbus variable for the Firefox Suggest scenario. r=nanj
This adds a `quickSuggestScenario` Nimbus variable.

We could use the `quickSuggestShouldShowOnboardingDialog` variable to
distinguish between offline and online on the client, since offline won't get
the onboarding but online will. However, using a separate variable would be
clearer and possibly less confusing for stakeholders, and it would also allow us
to have finer control over the onboarding prompt if we need it.

We'll need to distinguish between the two scenarios on the client for telemetry
pings, tweaks to the preferences UI, and possibly other things.

Differential Revision: https://phabricator.services.mozilla.com/D124844
2021-09-07 23:58:46 +00:00
Drew Willcoxon aeaf5b02d8 Bug 1728430 - Part 1: Add a separate pref for sponsored Firefox Suggest results. r=mak
The Jira ticket (link in the bug) calls for two separate checkboxes for Firefox
Suggest results: a main checkbox plus a sponsored-suggestions checkbox. The
sponsored-suggestions checkbox is subordinate to the main checkbox, i.e., the
main checkbox has to be checked to turn on sponsored suggestions. This will
allow users to toggle sponsored suggestions separately from non-sponsored
suggestions. It's a change from the current situation where we have only one
pref and checkbox that control both sponsored and non-sponsored suggestions.

So part 1 of fixing this bug is to add a new pref for sponsored suggestions.
This revision keeps the current `suggest.quicksuggest` pref as the main pref and
adds a new `suggest.quicksuggest.sponsored` pref. I confirmed with Natalie that
we want to enable both prefs when the user opts in through the onboarding
dialog.

We currently record a telemetry event when `suggest.quicksuggest` is toggled. We
also want a similar event for the new pref, so this adds one.

The pref situation for Firefox Suggest is confusing but in summary:

* `browser.urlbar.quicksuggest.enabled`: The global toggle for the entire
  Firefox Suggest rollout involving sponsored and non-sponsored suggestions, the
  related telemetry and preferences UI, etc. This pref can be overridden by the
  `quickSuggestEnabled` Nimbus variable. If false, neither sponsored nor
  non-sponsored suggestions will be shown. If true, then we look at the
  individual `suggest.quicksuggest` and `suggest.quicksuggest.sponsored` prefs.
* `browser.urlbar.suggest.quicksuggest`: Whether any Firefox Suggest results are
  shown. This must be true to show both non-sponsored and sponsored results.
* `browser.urlbar.suggest.quicksuggest.sponsored`: Whether sponsored Firefox
  Suggest results are shown. Both this pref and `suggest.quicksuggest` must be
  true to show sponsored results.

Differential Revision: https://phabricator.services.mozilla.com/D124300
2021-09-06 18:56:10 +00:00
Andrei Oprea 681df612a2 Bug 1728420 - New messaging surface Spotlight r=Mardak,dmose,nanj
Differential Revision: https://phabricator.services.mozilla.com/D121913
2021-09-03 13:41:21 +00:00
Tim Huang b91f68c30d Bug 1727505 - Part 1: Enable restrict relaxing default referrer policy in ETP strict mode and private browsing mode. r=pbz
This patch adds a new flag to the ContentBlockingCategoriesPrefs and
enable the feature in strict mode and PBM. Also, this patch set the pref
to true in the ETP custom mode.

Differential Revision: https://phabricator.services.mozilla.com/D123769
2021-09-01 18:35:04 +00:00
Kirk Steuber 07a7d0d66a Bug 1720742 - Allow Firefox to restart to apply updates when no windows are open r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D123842
2021-08-31 22:49:11 +00:00
Drew Willcoxon 4381b30b23 Bug 1727668 - Integrate Merino with Firefox Suggest/quick suggest. r=mak,nanj
This integrates a fetch to Merino in UrlbarProviderQuickSuggest. We continue to
do the remote settings fetch too. Per the Jira ticket, we should prefer the
Merino suggestion when both sources return one.

Each fetch is controlled by a new pref and Nimbus variable, so we can enable
them independently.

At first I started making a UrlbarProviderMerino class, but it's better to
modify UrlbarProviderQuickSuggest because everything besides the fetch source is
the same: We want to collect the same telemetry, have the same results and
payloads, etc.

Depends on D123852

Differential Revision: https://phabricator.services.mozilla.com/D123707
2021-08-30 22:48:12 +00:00
Dão Gottwald 030b26fc0f Bug 1727907 - Make Firefox Suggest an opt-in feature and update the onboarding dialog accordingly. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D123852
2021-08-30 15:56:28 +00:00
Andi-Bogdan Postelnicu 2fc4f70e9b Bug 1725145 - Preparation for the hybrid build env. r=necko-reviewers,firefox-build-system-reviewers,valentin,glandium
Automatically generated path that adds flag `REQUIRES_UNIFIED_BUILD = True` to `moz.build`
when the module governed by the build config file is not buildable outside on the unified environment.

This needs to be done in order to have a hybrid build system that adds the possibility of combing
unified build components with ones that are built outside of the unified eco system.

Differential Revision: https://phabricator.services.mozilla.com/D122345
2021-08-25 10:46:17 +00:00
Andrei Oprea dae1779589 Bug 1725131 - Remove messaging system code related to the Bookmark panel r=pdahiya,Mardak,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D122342
2021-08-19 13:17:13 +00:00
Nicolas Chevobbe 51feb51bfb Bug 1702715 - [devtools] Enable server side target switching. r=bomsy,Honza,jdescottes,ladybenko.
Differential Revision: https://phabricator.services.mozilla.com/D122327
2021-08-17 18:15:15 +00:00
Toshihito Kikuchi fc81527d4d Bug 1587762 - Enable browser.tabs.unloadOnLowMemory by default. r=haik
Differential Revision: https://phabricator.services.mozilla.com/D121799
2021-08-17 16:28:50 +00:00
Marian-Vasile Laza d4075b13a4 Backed out changeset c734901eec31 (bug 1702715) for causing bc failures on browser_ext_devtools_network_targetSwitch.js. CLOSED TREE 2021-08-13 21:04:21 +03:00
Nicolas Chevobbe f4ee420cd7 Bug 1702715 - [devtools] Enable server side target switching. r=bomsy,Honza,jdescottes,ladybenko.
Differential Revision: https://phabricator.services.mozilla.com/D122327
2021-08-13 16:43:02 +00:00
Drew Willcoxon ad27e5fa12 Bug 1723149 - Enable Firefox Suggest address bar labels for all en-* locales. r=mak,nanj,andreio
Differential Revision: https://phabricator.services.mozilla.com/D121437
2021-08-06 00:18:33 +00:00
Gavin Lazar Suntop f92cee101a Bug 1722967 - adding reader mode cta pref r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D121415
2021-08-04 21:57:30 +00:00
William Durand b1c4ce35a8 Bug 1720845 - Remove the `extensions.webextPermissionPrompts` pref. r=rpl,robwu,asuth
This patch removes the `extensions.webextPermissionPrompts` pref as well as
`permissionPromptsEnabled` prop on `mozAddonManager`.

While working on this patch, we noticed that some of the `browser_webapi.js`
weren't testing anything for a while now. That has been fixed. In addition,
the `test_blocklistchange.js` file has been updated to handle the permissions
prompt.

Differential Revision: https://phabricator.services.mozilla.com/D121114
2021-07-30 14:25:24 +00:00
Scott 6fda0f10ac Bug 1721239 - Pocket newtab server signal to toggle pocket collections. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D121150
2021-07-29 22:40:45 +00:00
Scott 2ac943a89b Bug 1691518 - Remove v1 personalization from newtab r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D120368
2021-07-28 22:42:32 +00:00
Haik Aftandilian 2d4e823127 Bug 1722412 - Remove Mac Flash Sandboxing Prefs r=handyman
Remove Mac Flash sandboxing prefs.

Differential Revision: https://phabricator.services.mozilla.com/D120909
2021-07-27 19:04:13 +00:00
Kirk Steuber 2cf695ea2d Bug 1720993 - Assume that a parent process that we don't have access to is not the same binary r=aklotz,tkikuchi
This patch doesn't cover turning the launcher process back on, because that already happens automatically during the PostUpdate process.

Differential Revision: https://phabricator.services.mozilla.com/D120507
2021-07-26 22:56:15 +00:00
Gavin Lazar Suntop 49d51fcf01 Bug 1717891 - Spoc position pref r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D119435
2021-07-23 16:34:12 +00:00
Julian Descottes 66ea60801d Bug 1721540 - [devtools] Remove the preference behind devtools color-scheme simulation buttons r=nchevobbe
Depends on D120441

Differential Revision: https://phabricator.services.mozilla.com/D120442
2021-07-23 07:12:06 +00:00