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

757 Коммитов

Автор SHA1 Сообщение Дата
Drew Willcoxon 4c184ca81b Bug 1741479 - Turn on Merino as a Firefox Suggest source. r=nanj,webdriver-reviewers,whimboo
We only need to default `browser.urlbar.merino.enabled` to true. If the user has
opted in (either through the modal or by toggling on the data collection pref in
the prefs UI), then `quicksuggest.dataCollection.enabled` will also be true and
we'll fetch Merino suggestions. Otherwise it will be false and we won't fetch
Merino suggestions. That logic is implemented here:
https://searchfox.org/mozilla-central/rev/9a5f36b0ddb9cb8ae556fc5b45f8ccea0f0da6f8/browser/components/urlbar/UrlbarProviderQuickSuggest.jsm#144

Note this defaults the pref to true for everyone, even users in offline. It make
senses now that we have a separate toggle for data collection in the preferences
UI. Even offline users can opt in to Merino and data collection.

I also updated the various sets of prefs for test suites so that the Merino
endpoint URL is empty when running tests so they don't hit the network. I could
have forced `merino.enabled` to false instead, but setting the endpoint URL has
a couple of benefits, although admittedly they're very small:

* It runs a little more of the Merino code path (i.e., calls
  `_fetchMerinoSuggestions`)
* It lets Merino tests set only one pref, the endpoint URL, instead of two, both
  the endpoint pref and enabled pref

Differential Revision: https://phabricator.services.mozilla.com/D131988
2021-11-29 17:26:15 +00:00
criss 23c2449a75 Backed out changeset e8746dd07887 (bug 1734414) as per dev request. CLOSED TREE 2021-11-24 17:21:31 +02:00
Niklas Goegge 6b41fa8a9a Bug 1617611: Enable SameSite=Lax by default in xpcshell tests. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D131491
2021-11-23 10:53:25 +00:00
afinder a6f9aeae52 Bug 1734414 Remove media autoplay pref settings from our profiles. r=perftest-reviewers,kimberlythegeek,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D130990
2021-11-23 08:03:18 +00:00
Chris H-C 5ee0631774 Bug 1741674 - Record active_ticks and uri_count in Glean as well as Telemetry r=TravisLong
Differential Revision: https://phabricator.services.mozilla.com/D131641
2021-11-22 20:07:38 +00:00
Niklas Goegge 29777173d6 Bug 1617611: Enable SameSite=Lax by default in mochitests. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D129162
2021-11-17 11:04:34 +00:00
criss 507f143b88 Backed out 2 changesets (bug 1617611) for causing mochitest failures on storageAccessWithDynamicFpi.js. CLOSED TREE
Backed out changeset fdb2c6bfc0c6 (bug 1617611)
Backed out changeset c3352f4b3681 (bug 1617611)
2021-11-16 13:02:05 +02:00
Niklas Goegge 707d824008 Bug 1617611: Enable SameSite=Lax by default in mochitests. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D129162
2021-11-16 10:15:44 +00:00
Andrew Halberstadt 5e111fd35c Bug 1736859 - [testing/profiles] Explicitly disable fission in all test harnesses, r=gbrown
Currently, many of the test harnesses are relying on the default value of this
pref to turn it off. Once the default value switches to 'true', they will all
suddenly start running with fission.

We explicitly set it to false to avoid this. Tasks that enable fission via
config will override this value.

Once the default value is switched and riding the trains, we can look into
removing this and adding configuration to disable rather than enable it.

Differential Revision: https://phabricator.services.mozilla.com/D129309
2021-10-27 13:33:48 +00:00
Emilio Cobos Alvarez 5aad4d7e58 Bug 1736158 - Force light color-scheme for reftests. r=jgraham
Bug 1529323 changed prefers-color-scheme to follow the Firefox theme. This
means that dev-edition has a dark prefers-color-scheme by default, because it
uses the dark theme.

Reftests rely on light color-schemes among other things because about:blank
draws a dark background when the user prefers a dark color scheme if it has no
opener.

Differential Revision: https://phabricator.services.mozilla.com/D128676
2021-10-17 12:32:23 +00:00
Marian-Vasile Laza 5c35d0f53f Backed out changeset 6b51cfad3afd (bug 1736158) for causing reftest failures. CLOSED TREE 2021-10-17 05:24:19 +03:00
Emilio Cobos Alvarez 98cf1fa5fa Bug 1736158 - Force light color-scheme for reftests. r=jgraham
Bug 1529323 changed prefers-color-scheme to follow the Firefox theme. This
means that dev-edition has a dark prefers-color-scheme by default, because it
uses the dark theme.

Reftests rely on light color-schemes among other things because about:blank
draws a dark background when the user prefers a dark color scheme if it has no
opener.

Differential Revision: https://phabricator.services.mozilla.com/D128676
2021-10-16 21:10:48 +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
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
Nika Layzell e667f33046 Bug 1725270 - Add testing pref to get old about:blank process selection behavior, r=jesup
Adds a pref to perform about:blank document loads which have system
triggering principals within the existing process, rather than doing a
process switch. This can be used in performance tests which load
about:blank and do not expect process switches.

Differential Revision: https://phabricator.services.mozilla.com/D122405
2021-08-13 19:11:40 +00:00
Nan Jiang c82dd541d9 Bug 1725095 - Disable Contile in all tests r=mythmon
Differential Revision: https://phabricator.services.mozilla.com/D122385
2021-08-11 22:37:11 +00:00
Sonia Singla 05e2031f5f Bug 1665638 - Remove layout.css.clip-path-path.enabled.r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D120235
2021-07-22 08:04:47 +00:00
Michael Cooper 8c5d5ad8f6 Bug 1719755 - Get sponsored topsites data from Contile by default r=dao,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D119462
2021-07-20 20:12:40 +00:00
Csoregi Natalia 1afc671412 Backed out changeset 0ceb86d2fcc1 (bug 1719755) for xpcshell failures on test_AboutHomeStartupCacheWorker.js. CLOSED TREE 2021-07-19 23:16:28 +03:00
Michael Cooper df03e8380b Bug 1719755 - Get sponsored topsites data from Contile by default r=dao,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D119462
2021-07-19 18:19:44 +00:00
Julian Descottes dba554e505 Bug 1719667 - [remote] Do not set recommended preferences when not wanted r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D119409
2021-07-09 08:42:47 +00:00
David Parks e3ee50c76a Bug 1676542 : Remove NPAPI plugin-related code from reftest harness r=jmaher,tnikkel
NPAPI plugins are no longer supported.  MozPaintWait and MozPaintWaitFinished events are no longer sent -- they came exclusively from nsPluginInstanceOwner, which was removed in bug 1682030.

Differential Revision: https://phabricator.services.mozilla.com/D114021
2021-05-01 01:47:48 +00:00
Valentin Gosu d3f14d0f5b Bug 1694662 - Remove Appcache storage pref r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D106461
2021-04-30 07:20:26 +00:00
imoraru 942738dd7c Backed out 9 changesets (bug 1678044, bug 1686707) for causing marionette failures at test_fission_autostart.py . CLOSED TREE
Backed out changeset ebd4998c14f6 (bug 1686707)
Backed out changeset 46cbb03eb060 (bug 1686707)
Backed out changeset 780388f3782d (bug 1686707)
Backed out changeset 0ab4fc850e9d (bug 1686707)
Backed out changeset 2f91386cca8e (bug 1678044)
Backed out changeset 708bdb00db84 (bug 1678044)
Backed out changeset 43cf7957ed78 (bug 1678044)
Backed out changeset c5914548a084 (bug 1678044)
Backed out changeset 659084e40ec2 (bug 1678044)
2021-04-22 16:21:26 +03:00
James Graham e8e3649cca Bug 1686707 - Only allow old modal dialogs in wpt, r=whimboo
Differential Revision: https://phabricator.services.mozilla.com/D109932
2021-04-22 12:04:09 +00:00
Marco Bonardo 5f5198a521 Bug 1706180 - telemetry delayed init may happen during raptor tests. r=chutten,perftest-reviewers,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D112665
2021-04-21 10:18:21 +00:00
Emilio Cobos Álvarez d831b7a64b Bug 1705946 - We apparently perma-enable these for testing, so keep doing it.
MANUAL PUSH: Orange fix CLOSED TREE
2021-04-18 21:19:16 +02:00
Emilio Cobos Álvarez 88db4d1603 Bug 1699768 - Disable this for mochitest / wpt. r=smaug
See the comments as for this might be unexpected. The tests could be
fixed but seems like footgunny, so for now this seems better.

For future reference, the line causing the events getting dispatched to
the wrong document is the IsPrimaryFramePaintSuppressed call in
PuppetWidget::GetCurrentWidgetListener(), which causes
widget->DispatchEvent from nsContentUtils::SendMouseEvent to dispatch
the event to the wrong page.

Differential Revision: https://phabricator.services.mozilla.com/D109807
2021-03-26 01:10:53 +00:00
Kagami Sascha Rosylight 4676ee10ba Bug 1697680 - Remove Presentation API implementation r=smaug,agi
Differential Revision: https://phabricator.services.mozilla.com/D108574
2021-03-16 18:21:12 +00:00
Ted Campbell 0004fb8b5c Bug 1697954 - Remove unused javascript.options.showInConsole prefs r=marionette-reviewers,webdriver-reviewers,mossop,remote-protocol-reviewers,whimboo
This dates back to a time before the browser console where the normal content
console could optionally show chrome code messages. Today it serves no use.

Differential Revision: https://phabricator.services.mozilla.com/D108130
2021-03-15 19:50:41 +00:00
Kagami Sascha Rosylight 46f609593d Bug 1697253 - Hide VisualViewport interface behind the existing pref r=edgar
Bug 1357785 accidentally omitted the flag on the interface itself. This patch makes thing consistent to prevent potential confusion in feature detection.

Differential Revision: https://phabricator.services.mozilla.com/D107742
2021-03-11 20:51:51 +00:00
Dorel Luca 0f483545c6 Backed out changeset e780bd8fa66a (bug 1697253) for Mochitest failures in dom/base/test/test_domwindowutils.html. CLOSED TREE 2021-03-11 01:24:46 +02:00
Kagami Sascha Rosylight c7276af0c1 Bug 1697253 - Hide VisualViewport interface behind the existing pref r=edgar
Bug 1357785 accidentally omitted the flag on the interface itself. This patch makes thing consistent to prevent potential confusion in feature detection.

Differential Revision: https://phabricator.services.mozilla.com/D107742
2021-03-10 21:20:30 +00:00
Dana Keeler f984ac2500 Bug 1681839 - remove nsISecurityReporter and implementation r=johannh,necko-reviewers,dragana
TLS error report sending was disabled by default in bug 1579906. The server
that ingested these reports has been decommissioned as well, so this patch
removes this dead code.

Differential Revision: https://phabricator.services.mozilla.com/D99405
2021-01-07 17:47:47 +00:00
Sylvestre Ledru c0f6fe8caf Bug 1562642 - Add missing license headers r=mhoye,marionette-reviewers,webdriver-reviewers,perftest-reviewers,tarek
Differential Revision: https://phabricator.services.mozilla.com/D97138
2020-11-17 02:06:54 +00:00
Chris H-C 3847814685 Bug 1675310 - Remove enabled and limit prefs for the event ping r=janerik
Recording events involved asking whether they should go in the event ping or
not, and also whether we hit the limit for how many are allowed in a ping.
These values are stored in prefs which aren't terribly accessible off the main
thread, even if the event recording is.

Both of these prefs have been set in stone in their default values for over two
years now, so we can safely remove them and their scaffolding. Huzzah!

Differential Revision: https://phabricator.services.mozilla.com/D96102
2020-11-09 10:40:03 +00:00
Ricky Stewart 02a7b4ebdf Bug 1654103: Standardize on Black for Python code in `mozilla-central`.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Jared Wein 3d2a8005c8 Bug 727668 - Show bookmarks toolbar on the new tab page. r=Gijs,fluent-reviewers,marionette-reviewers,whimboo
This adds the ability to force the bookmarks toolbar to appear on all pages. The checkbox in the toolbar context menu will reflect if the toolbar will appear outside of the newtab page. The toolbar will always appear on the newtab page. Profiles that already had the toolbar showing will have a migration to keep their experience unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D89222
2020-10-26 02:32:07 +00:00
Bogdan Tara da1098d4aa Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Ricky Stewart c0cea3b0fa Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Mihai Alexandru Michis f11e661f24 Backed out changeset ba261cf25651 (bug 727668) for causing marionette failures in test_screenshot.py
CLOSED TREE
2020-10-22 06:13:54 +03:00
Dorel Luca 1ff59cb7a3 Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Ricky Stewart 50762dacab Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +00:00
Bernard Igiri 24f9294ade Bug 1614465 - Replacing ASRouter calls to MessageChannel with JSWindowActors to eliminate ASRouterFeed r=k88hudson
Patch by Bernard Igiri <bigiri@mozilla.com>

Replacing async events with async method calls that use JSWindowActors to communicate with the parent process.
This will simplify these calls, bring the relevant code into local scope, and eliminate the need for MessageChannel.
Eliminating the MessageChannel dependency allows us to move the ASRouter initialization out of ASRouterFeed and into
JSWindowActors.

Differential Revision: https://phabricator.services.mozilla.com/D71796
2020-10-21 20:04:13 +00:00
Jared Wein e0e5f6bba3 Bug 727668 - Show bookmarks toolbar on the new tab page. r=Gijs,fluent-reviewers
This adds the ability to force the bookmarks toolbar to appear on all pages. The checkbox in the toolbar context menu will reflect if the toolbar will appear outside of the newtab page. The toolbar will always appear on the newtab page. Profiles that already had the toolbar showing will have a migration to keep their experience unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D89222
2020-10-21 19:20:20 +00:00
Punam Dahiya 154225ecec Bug 1659150 - Remove about:welcome trailhead, full page and ReturnToAMO templates r=perftest-reviewers,Mardak,mkaply,nanj,sparky
Differential Revision: https://phabricator.services.mozilla.com/D89077
2020-09-11 16:35:04 +00:00
Cosmin Sabou 00b09a0063 Backed out changeset 08f94ba4c50c (bug 1659150) for bc failures on browser_all_files_referenced.js. CLOSED TREE 2020-09-11 08:32:46 +03:00
Punam Dahiya 744a5e4c1e Bug 1659150 - Remove about:welcome trailhead, full page and ReturnToAMO templates r=perftest-reviewers,Mardak,mkaply,nanj,sparky
Differential Revision: https://phabricator.services.mozilla.com/D89077
2020-09-11 00:31:11 +00:00
Chris H-C 1776c98e00 Bug 1658359 - Suppress Glean-sent pings in tests that redirect Telemetry r=janerik
I would redirect Glean-sent pings instead of suppressing them, but network
errors seem to be causing unrelated failures in
toolkit/mozapps/extensions/test/browser/browser_html_discover_view_clientid.js

Differential Revision: https://phabricator.services.mozilla.com/D88980
2020-09-09 20:01:06 +00:00
Christoph Kerschbaumer c6241df6d4 Bug 1661672: Remove use of security.view-source.reachable-from-inner-protocol r=Gijs,emilio
Differential Revision: https://phabricator.services.mozilla.com/D89163
2020-09-07 13:51:44 +00:00