6333 Commits

Author SHA1 Message Date
Tim Huang
ad7bfc5627 Bug 1778457 - Enable query parameter stripping in Private Browsing Mode if ETP strict is enabled. r=anti-tracking-reviewers,bvandersloot
Differential Revision: https://phabricator.services.mozilla.com/D151655
2022-07-15 09:41:38 +00:00
criss
95f4f0498b Backed out changeset 67fae8447273 (bug 1734394) for causing Assertion failures on StaticPrefList_browser.h. CLOSED TREE 2022-07-12 09:00:39 +03:00
Cathy Lu
c89057028e Bug 1734394 - Make Geckoview use the session store collector r=geckoview-reviewers,agi,farre,peterv
When the session storage prefs are enabled, GeckoSession updateSessionState will provide the bundle of information, including zoom, scroll, and form data, to the delegate. Currently works for Fission and on Fenix.

Differential Revision: https://phabricator.services.mozilla.com/D148215
2022-07-12 02:50:01 +00:00
Nick Alexander
485c3c31e4 Bug 1775138 - Part 1: Snapshot Firefox Messaging System targeting configuration periodically. r=barret
This commit arranges to write `targeting.snapshot.json` to the local
profile directory every 30 minutes, and just before shutdown.  For
simplicity, it uses the existing `JSONFile.jsm` implementation.

Differential Revision: https://phabricator.services.mozilla.com/D151057
2022-07-08 20:36:08 +00:00
Dave Townsend
bc86581122 Bug 1778663: Correct isUsedRemoved typo in snapshot scorer. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D151361
2022-07-08 10:11:43 +00:00
Mark Hammond
9b94cad40f Bug 1731249 - add an allow-list of prefs that will sync even if the default value. r=skhamis
Differential Revision: https://phabricator.services.mozilla.com/D150095
2022-07-08 06:04:22 +00:00
Bogdan Szekely
01ec2c5a29 Backed out changeset 92e8dc7f36bd (bug 1775069) as requested by pbz CLOSED TREE 2022-07-07 12:48:16 +03:00
Ben Hearsum
85fad4f836 Bug 1733821: revert patches for causing bugs 1778267 and 1778252. r=rkraesig
Differential Revision: https://phabricator.services.mozilla.com/D151167
2022-07-06 20:08:13 +00:00
Ben Hearsum
e6cd000e4a Bug 1778182: put private browsing taskbar pinning & window separation behind a distinct pref r=nalexander
`browser.privacySegmentation.enabled` is going to be set when users opt into Felt Privacy. When I originally wrote some of this code I naively used it to pref things on, on the assumption that there would never be a situation where it would be `true` before 106 (when we remove the pref-off for this work).

However, we want to run an experiment with pinning private browsing to the taskbar ahead of 106. To avoid any possibility of accidentally opting users into Felt Privacy without their consent, let's use a distinct pref for turning these features off for now. This pref will disappear in the 106 cycle, as none of this code needs to be behind one at that point - so I don't _think_ this needs to go in `firefox.js`.

Differential Revision: https://phabricator.services.mozilla.com/D151065
2022-07-06 13:15:46 +00:00
scott
8e4c10f871 Bug 1777539 - Pocket newtab remove load more button and last card features r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D150789
2022-07-05 19:57:22 +00:00
James Teow
6abc655018 Bug 1735534 - Set browser.urlbar.dnsResolveSingleWordsAfterSearch to 0 by default - r=mak
Differential Revision: https://phabricator.services.mozilla.com/D149159
2022-06-30 16:15:04 +00:00
Barret Rennie
edfd11a38c Bug 1771073 - Correct FxMS features and keep them up to date with tests r=dmose,pdahiya
The Nimbus Features corresponding to FxMS messaging surfaces are actually
intended to map to FxMS message groups, which can accept *any* FxMS message.
The features have been updated with schemas that accept any FxMS message.

As part of this, all FxMS schemas have been updated with an `$id` so that they
can be bundled into feature schemas and have their internal `$ref`s work.
(Otherwise, a `$ref` would be relative to the top-level schema instead of the
sub-schema).

Schemas for individual message types are no longer exposed as resource:// URIs,
except in tests, as indivual schemas are no longer required at runtime.

Additionally, each FxMS schema has had its `template` field become required and
requires a constant value for that schema (e.g., Spotlight requires a template
value of "spotlight").

A test has been added to ensure that if any of the messaging surfaces schemas
change that the feature schemas are also updated. The feature schemas can be
regenerated via:

```
cd ./browser/components/newtab/content-src/asrouter/schemas
../../../../../../mach make-schemas.py
```

Differential Revision: https://phabricator.services.mozilla.com/D147332
2022-06-29 23:01:37 +00:00
Hannah Peuckmann
7c1bad4edc Bug 1764761 - Remove/replace the network.cookie.lifetimePolicy. r=pbz,necko-reviewers,mkaply,dom-storage-reviewers,agi,asuth,dragana
Differential Revision: https://phabricator.services.mozilla.com/D144548
2022-06-29 17:33:37 +00:00
Paul Zuehlcke
8cf4916deb Bug 1776760 - Enable dFPI by default for Beta and Release via cookieBehavior pref. r=anti-tracking-reviewers,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D150596
2022-06-29 16:01:25 +00:00
Julian Descottes
b7de46ef58 Bug 1772847 - [devtools] Enable devtools.responsive.showUserAgentInput on all channels r=devtools-reviewers,nchevobbe
This preference drives the "Show user agent" feature accessible from the RDM options.
Flipping it to true will make the User agent input visible on all channels by default, but the feature itself was already available everywhere.
You just had to first select "Show user agent" in devedition/beta/release to show the input. I think the feature is useful enough to enable it by default.
Also we run all our tests with the preference forced to true.

Differential Revision: https://phabricator.services.mozilla.com/D150455
2022-06-28 12:56:25 +00:00
Paul Zuehlcke
89fa1fe1f2 Bug 1774739 - Update ETP preferences section for TCP in standard mode. r=anti-tracking-reviewers,preferences-reviewers,Gijs,bvandersloot
Differential Revision: https://phabricator.services.mozilla.com/D150364
2022-06-28 10:24:49 +00:00
Paul Zuehlcke
60498dd14e Bug 1773715 - Add a new private browsing indicator with label. r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D149648
2022-06-27 19:03:03 +00:00
Sergey Galich
110f8e9de2 Bug 1773047 - Remove the security.insecure_field_warning.contextual.enabled pref r=dimi,geckoview-reviewers,owlish
Differential Revision: https://phabricator.services.mozilla.com/D149550
2022-06-27 17:18:41 +00:00
scott
301b474fd4 Bug 1774473 - Pocket newtab recent saves section. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D150196
2022-06-24 20:41:32 +00:00
Noemi Erli
d6440ec5b2 Backed out changeset 56a33c1c3210 (bug 1734394) for causing build bustages in GeckoBundleUtils.cpp CLOSED TREE 2022-06-24 22:01:02 +03:00
Cathy Lu
617487c8c7 Bug 1734394 - Make Geckoview use the session store collector r=geckoview-reviewers,agi,farre
When the session storage prefs are enabled, GeckoSession updateSessionState will provide the bundle of information, including zoom, scroll, and form data, to the delegate. Currently works for Fission and on Fenix.

Differential Revision: https://phabricator.services.mozilla.com/D148215
2022-06-24 18:34:28 +00:00
Marian-Vasile Laza
63b59e32d4 Backed out changeset 39559c43173a (bug 1734394) for causing bustages on GeckoBundleUtils.cpp. CLOSED TREE 2022-06-23 20:05:54 +03:00
Cathy Lu
4d149860a7 Bug 1734394 - Make Geckoview use the session store collector r=geckoview-reviewers,agi,farre
When the session storage prefs are enabled, GeckoSession updateSessionState will provide the bundle of information, including zoom, scroll, and form data, to the delegate. Currently works for Fission and on Fenix.

Differential Revision: https://phabricator.services.mozilla.com/D148215
2022-06-23 16:44:32 +00:00
Iulian Moraru
e8c5035749 Backed out changeset 9c9b960cb8bf (bug 1773047) for causing multiple failures related to Autocomplete. CLOSED TREE 2022-06-22 22:02:41 +03:00
Sergey Galich
20bcd14769 Bug 1773047 - Remove the security.insecure_field_warning.contextual.enabled pref r=dimi,geckoview-reviewers,owlish
Differential Revision: https://phabricator.services.mozilla.com/D149550
2022-06-22 17:48:18 +00:00
scott
cc8f5927f1 Bug 1774813 - Pocket newtab removing old layout that's not needed. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D149645
2022-06-22 16:59:57 +00:00
Mathew Hodson
05c1e827cb Bug 1325637 - Remove browser.preferences.instantApply pref. r=Gijs,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D149699
2022-06-22 12:39:16 +00:00
Paul Zuehlcke
8c721d23bb Bug 1775069 - Enable query stripping in Private Browsing Mode. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D149748
2022-06-20 13:04:20 +00:00
Alexandre Poirot
cd44cae575 Bug 1770363 - [devtools] Implement on-demand multiprocess debugging in TargetCommand API. r=nchevobbe,rpl
This new feature will only work in the "MBT", when devtools.browsertoolbox.fission is true.

It is based on yet another preference, devtools.browsertoolbox.scope,
which is meant to be toggle by DevTools UI only (see next patches).

When the new pref is set to "everything", we will observe FRAME and PROCESS targets
and so debug everything running in content processes.
But when it is set to "parent-process", we will only observe WORKER
and be restricted to parent process resources only.

Differential Revision: https://phabricator.services.mozilla.com/D146891
2022-06-20 10:12:30 +00:00
Ray Kraesig
32dc43ec90 Bug 1733821 - [3/3] Write deelevation-status enum into the launched parent process r=mhowell
Write the deelevation-status enum value into the parent process, where
it will (hopefully) show up in the event of a crash report.

(Presenting this value more conveniently -- _e.g._, in `about:support`
and/or Firefox telemetry -- would require additional plumbing, and so
has been left to future work.)

Depends on D149545

Differential Revision: https://phabricator.services.mozilla.com/D149546
2022-06-17 00:09:51 +00:00
Ray Kraesig
daaf1ca50e Bug 1733821 - [2/3] Add deelevation flag; compute deelevation-attempt status r=mhowell
Add a new command-line flag `--attempting-deelevation` which prevents
the launcher from entering an infinite loop of deelevation attempts.

Additionally, produce an enum value indicating the decisions made by the
launcher process. (Nothing is done with this value yet; that will happen
in the following commit.)

Depends on D149544

Differential Revision: https://phabricator.services.mozilla.com/D149545
2022-06-17 00:09:50 +00:00
Ray Kraesig
2cb1327d8b Bug 1733821 - [1/3] Cleanup: Improve app name as seen in Event Log r=mhowell
"Firefox" may be inaccurate if the current app is, e.g., "Thunderbird",
or some alternatively-branded fork of Firefox.

Also, specify the Launcher as being the event source. (Officially this
should be handled via an appropriately-declared facility identifier, but
that would involve an additional build step invoking a compiler not
distributed with the ordinary Windows SDK.)

Differential Revision: https://phabricator.services.mozilla.com/D149544
2022-06-17 00:09:49 +00:00
criss
a3c52529a8 Backed out 5 changesets (bug 1770363) for causing mochitest failures on browser_ext_addon_debugging_netmonitor.js
Backed out changeset d29f5041fd98 (bug 1770363)
Backed out changeset a91879be9b4a (bug 1770363)
Backed out changeset 27e78762006f (bug 1770363)
Backed out changeset 18a6433fd24a (bug 1770363)
Backed out changeset 5cdcd2318a9f (bug 1770363)
2022-06-16 21:57:46 +03:00
Alexandre Poirot
599be925bc Bug 1770363 - [devtools] Implement on-demand multiprocess debugging in TargetCommand API. r=nchevobbe
This new feature will only work in the "MBT", when devtools.browsertoolbox.fission is true.

It is based on yet another preference, devtools.browsertoolbox.scope,
which is meant to be toggle by DevTools UI only (see next patches).

When the new pref is set to "everything", we will observe FRAME and PROCESS targets
and so debug everything running in content processes.
But when it is set to "parent-process", we will only observe WORKER
and be restricted to parent process resources only.

Differential Revision: https://phabricator.services.mozilla.com/D146891
2022-06-16 17:19:05 +00:00
Jason Prickett
a8d09d47af Bug 1774063 - Added a 'browser.aboutwelcome.templateMR' pref to support MR 2022 onboarding r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D149314
2022-06-15 19:31:07 +00:00
Andrew McCreight
1478087c1f Bug 1773044 - Remove the dom.ipc.shims.enabledWarnings pref. r=kmag DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D149287
2022-06-15 19:09:02 +00:00
Dimi
3e279947eb Bug 1773043 - Remove flashblock from SafeBrowsing r=perftest-reviewers,gcp,sparky
Depends on D149129

Differential Revision: https://phabricator.services.mozilla.com/D149130
2022-06-15 12:55:26 +00:00
alwu
e65a048ba9 Bug 1773577 - enable the pref 'media.autoplay.block-webaudio'. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D148849
2022-06-10 18:07:50 +00:00
Hubert Boma Manilla
27106e41bc Bug 1771277 - [devtools] Remove the websocket and server sent events prefs r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D147413
2022-06-07 12:18:49 +00:00
Hubert Boma Manilla
96c5408eef Bug 1764348 - Enable browser console / browser toolbox console users turn on network monitoring manually r=nchevobbe
Highlights
- Network monitoring is turned off by default in browser console/ browser toolbox console on initial load.
- A new "Enable Network Monitoring" setting is added to enable users toggle on an off as they desire.
- The user setting is persisted across toolbox reopens.

Differential Revision: https://phabricator.services.mozilla.com/D145234
2022-06-06 13:56:05 +00:00
Iulian Moraru
43e6873145 Backed out 4 changesets (bug 1764348, bug 1771277) for causing multiple dt failures. CLOSED TREE
Backed out changeset 21c03813c9d0 (bug 1771277)
Backed out changeset 0ee89f81d7da (bug 1764348)
Backed out changeset 47658c248d9e (bug 1764348)
Backed out changeset 712947c3a514 (bug 1764348)
2022-06-02 23:13:28 +03:00
Hubert Boma Manilla
f1cdd9a344 Bug 1771277 - [devtools] Remove the websocket and server sent events prefs r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D147413
2022-06-02 14:35:25 +00:00
Hubert Boma Manilla
4cf961c731 Bug 1764348 - Enable browser console / browser toolbox console users turn on network monitoring manually r=nchevobbe
Highlights
- Network monitoring is turned off by default in browser console/ browser toolbox console on initial load.
- A new "Enable Network Monitoring" setting is added to enable users toggle on an off as they desire.
- The user setting is persisted across toolbox reopens.

Differential Revision: https://phabricator.services.mozilla.com/D145234
2022-06-02 14:35:24 +00:00
Tetsuharu Ohzeki
c1a4287503 Bug 1771630 - Remove unused fission.frontend.* prefs. r=preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D147581
2022-05-30 12:06:57 +00:00
Hubert Boma Manilla
3338893a7f Bug 1770145 - [devtools] Enable New Edit and Resend Panel on all channels r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D146823
2022-05-23 11:39:32 +00:00
Bob Owen
b48aea26d9 Bug 1769845 p1: Use command line to pass whether win32k is locked down in policy. r=handyman
Differential Revision: https://phabricator.services.mozilla.com/D146930
2022-05-23 07:53:41 +00:00
Scott
49ba6a6e01 Bug 1767445 - Pocket newtab topics widget r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D146327
2022-05-20 22:04:46 +00:00
Daisuke Akatsuka
e35a4912b3 Bug 1769585: Introduce Nimbus variables for autoFillAdaptiveHistoryMinCharsThreshold and autoFillAdaptiveHistoryMinCharsThreshold. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D146757
2022-05-19 05:57:34 +00:00
Drew Willcoxon
1a1f3df561 Bug 1768533 - Use the finalized query parameter when excluding AMP URLs from appearing as tiles on the new tab page. r=nanj
Per Aaron in https://mozilla-hub.atlassian.net/browse/SNT-132, the final query
param is `mfadid=adm`.

Differential Revision: https://phabricator.services.mozilla.com/D146637
2022-05-18 00:35:59 +00:00
Drew Willcoxon
fdfc68e1eb Bug 1769783 - Disable adaptive history autofill on Nightly until the matching logic is improved. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D146595
2022-05-17 18:25:49 +00:00