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

688813 Коммитов

Автор SHA1 Сообщение Дата
Greg Tatum 3851bf14af Bug 1597381 - Add tests for the about:profiling presets; r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D58467

--HG--
extra : moz-landing-system : lando
2020-01-22 23:12:48 +00:00
Greg Tatum 258b0879c5 Bug 1597381 - Make testing util getNearestInputFromText generic; r=julienw
This commit changes the testing utility to be generic to work for any
input radio or checkbox on the page, where the input is located near
in the DOM to the text element.

Differential Revision: https://phabricator.services.mozilla.com/D58466

--HG--
extra : moz-landing-system : lando
2020-01-22 23:12:46 +00:00
Greg Tatum 57b03a170c Bug 1597381 - Create profiler presets for about:profiling; r=julienw
This commit creates profiler presets for the current browser. It does not
handle remote profiling yet, as there is no UI surface for it yet. The
preset setting updates happen inside of the reducers and presets, and not
the selectors. This design was chosen so that as the presets were changed,
it would actually change the settings below, making it easy to change and
customize the settings by chosing the nearest preset.

The UI designs are still in a bit of a flux, so this UI design was the
easiest to implement for the initial pass, but we don't yet have consensus
on what the UI will look like for the final design.

Differential Revision: https://phabricator.services.mozilla.com/D58465

--HG--
extra : moz-landing-system : lando
2020-01-22 23:11:49 +00:00
Bogdan Tara edb6d929c7 Backed out 2 changesets (bug 1595915) for browser_contextmenu.js failures CLOSED TREE
Backed out changeset acdf5e974aef (bug 1595915)
Backed out changeset d021fb320a3b (bug 1595915)
2020-01-23 04:55:28 +02:00
Emilio Cobos Álvarez 570e37ec64 Bug 1609711 - Fix merge conflict.
CLOSED TREE

MANUAL PUSH: Will bust some reftests otherwise.

Differential Revision: https://phabricator.services.mozilla.com/D60789
2020-01-23 03:31:23 +01:00
Ciure Andrei 6ee379ce4c Backed out changeset 2e04c320ad23 (bug 1605283) for causing build bustages CLOSED TREE 2020-01-23 04:28:44 +02:00
alwu b006399880 Bug 1611028 - enable the pref 'dom.media.mediasession.enabled' for testing by default. r=chunmin
As media session is an webidl interface controlled by the value of the pref `dom.media.mediasession.enabled`, and I found that in some situation (in mochitest), we can't get that interface even if the pref has been enabled.

I guess it might be related with the order of initialization of DOM objects, which might involve too much DOM details. So I'm going to take the simplest workaround, which is to enable this pref on testing environment, that can ensure that we always get the media session interface.

Differential Revision: https://phabricator.services.mozilla.com/D60785

--HG--
extra : moz-landing-system : lando
2020-01-23 01:21:24 +00:00
Drew Willcoxon 7832ff2703 Bug 1610681 - Make UrlbarView select the heuristic result even when it's not the first result added r=harry
Differential Revision: https://phabricator.services.mozilla.com/D60613

--HG--
extra : moz-landing-system : lando
2020-01-22 23:52:21 +00:00
Paul Bone f7edb168be Bug 1301399 - Remove annoying session history assertion r=nika
Differential Revision: https://phabricator.services.mozilla.com/D60773

--HG--
extra : moz-landing-system : lando
2020-01-23 00:55:53 +00:00
Rob Lemley 176cad3876 Bug 1611014 - Make sure Taskcluster root_dir is a unicode string. r=rstewart
This fixes an issue when running "mach taskgraph" with the --root parameter
from the commandline. We use this regularly when working on Thunderbird task
configuration.

The initial list of kind names is read with os.listdir(), which returns
non-unicode strings when given a non-unicode string. As a result, some tasks
fail to validate because there's a non-unicode string where a unicode string
is expected.

Differential Revision: https://phabricator.services.mozilla.com/D60775

--HG--
extra : moz-landing-system : lando
2020-01-23 00:32:53 +00:00
J.C. Jones c70fa24ea8 Bug 1606927 - land NSS cd55a3a90502 UPGRADE_NSS_RELEASE, r=kjacobs
2020-01-22  Kai Engert  <kaie@kuix.de>

	* lib/softoken/lowpbe.c:
	Bug 1606992 - Follow-up to also cache most recent PBKDF1 hash (in
	addition to PBKDF2 hash). r=kjacobs

	[cd55a3a90502] [tip]

2020-01-22  Kevin Jacobs  <kjacobs@mozilla.com>

	* lib/freebl/aes-x86.c, lib/freebl/rijndael.c, lib/freebl/rijndael.h:
	Bug 1608493 - Use AES-NI intrinsics for CBC and ECB decrypt when no
	assembly implementation is available. r=mt

	AES-NI is currently not used for //CBC// or //ECB decrypt// when an
	assembly implementation (`intel-aes.s` or `intel-
	aes-x86/64-masm.asm`) is not available. Concretely, this is the case
	on MacOS, Linux32, and other non-Linux OSes such as BSD. This patch
	adds the plumbing to use AES-NI intrinsics when available.

	Before: ``` mode in symmkey opreps cxreps context op time(sec)
	thrgput aes_ecb_d 78Mb 256 10T 0 0.000 395.000 0.395 197Mb aes_cbc_e
	78Mb 256 10T 0 0.000 392.000 0.393 198Mb aes_cbc_d 78Mb 256 10T 0
	0.000 425.000 0.425 183Mb

	```

	After: ``` mode in symmkey opreps cxreps context op time(sec)
	thrgput aes_ecb_d 78Mb 256 10T 0 0.000 39.000 0.039 1Gb aes_cbc_e
	78Mb 256 10T 0 0.000 94.000 0.094 831Mb aes_cbc_d 78Mb 256 10T 0
	0.000 74.000 0.075 1Gb

	```

	[9804c76e76f3]

Differential Revision: https://phabricator.services.mozilla.com/D60763

--HG--
extra : moz-landing-system : lando
2020-01-22 23:13:52 +00:00
Tom Prince 3ba4b04d5c Bug 1607193: Disable l10n-check by default; r=Callek,firefox-build-system-reviewers,mshal
This disables the l10n-check as part of the build, now that we have
on-push L10n jobs.

Differential Revision: https://phabricator.services.mozilla.com/D60722

--HG--
extra : moz-landing-system : lando
2020-01-22 23:36:56 +00:00
Henrik Skupin bc29970672 Bug 1587845 - [remote] Use _contentRect as name for internal helper that returns the content bounding box. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D60749

--HG--
extra : moz-landing-system : lando
2020-01-23 01:51:53 +00:00
Emilio Cobos Álvarez b06718c3dc Bug 1609737 - Forbid accessing the length and percentage parts of a LengthPercentage separately. r=boris
This is just not a thing you can do if you have min() / max() / etc, as the min
/ max value may depend on the percentage basis.

Differential Revision: https://phabricator.services.mozilla.com/D60168

--HG--
extra : moz-landing-system : lando
2020-01-23 00:36:27 +00:00
Ricky Stewart 3003ade6dd Bug 1610944 - configure/test_toolchain_configure.py and configure/test_toolchain_helpers.py support Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D60743

--HG--
extra : moz-landing-system : lando
2020-01-22 23:46:36 +00:00
Bert Peers 583661abdb Bug 1605283 - Improve support for invalidation debugging and testing r=gw
Second part: trace the updates that are sent to the DataStore, and save
at least the Insert/Remove and ItemUID as part of the wr-capture.
(We could expand this with more info, eg. the actual Keys, later).

TileView then reads them back and generates a color coded report to
overlay with the page view.  This helps to see the types and amounts of
interned primitives that lead to cache invalidations.

Differential Revision: https://phabricator.services.mozilla.com/D60619

--HG--
extra : moz-landing-system : lando
2020-01-23 00:12:13 +00:00
Emilio Cobos Álvarez 049fa64ff0 Bug 1609711 - Compute gradient positions in css pixels. r=jrmuizel
The gradient code is the only one that does a really weird thing with
LengthPercentage values, by getting the percentage and length separately and
turning the length into a percentage relative to the line length (which is in
device pixels).

This won't work once we have min() / max() / etc. in CSS (as we can't access
the length and percentage components separately, as which one you choose may
depend on the percentage basis). So instead of that, use the regular
ResolveToCssPixels there are lengths involved.

We change a bit the surrounding code to work in CSS pixels, so as to avoid
unneeded CSS -> device pixel conversions.

Differential Revision: https://phabricator.services.mozilla.com/D60159

--HG--
extra : moz-landing-system : lando
2020-01-23 00:36:12 +00:00
Ciure Andrei 19fa2bbadb Backed out 2 changesets (bug 1516413) for causing browser_viewport_zoom_resolution_invariant.js to perma fail CLOSED TREE
Backed out changeset 0647ffc0cc6f (bug 1516413)
Backed out changeset a8d9460cdbd6 (bug 1516413)
2020-01-23 02:53:08 +02:00
Ciure Andrei 95103073f2 Backed out changeset 41a9a81b0127 (bug 1607364) for RustMozCrash related crashes CLOSED TREE 2020-01-23 02:50:36 +02:00
Bogdan Tara edd9a5a7c9 Backed out changeset 472207e967c7 (bug 1608952) for newtab failures complaining about activity-stream CLOSED TREE 2020-01-23 01:58:26 +02:00
Matthew Noorenberghe 9a1ef5ab4c Bug 1595915 - Don't check #fill-login-popup visibility in pwgen context menu tests. r=sfoster
For now I didn't change tests to not open the submenu when only generating a password as it should be harmless.

Differential Revision: https://phabricator.services.mozilla.com/D60641

--HG--
extra : moz-landing-system : lando
2020-01-22 23:51:16 +00:00
Matthew Noorenberghe b0e16a062a Bug 1595915 - Move the password generation context menu item to the top-level. r=sfoster,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D60640

--HG--
extra : moz-landing-system : lando
2020-01-22 23:51:02 +00:00
Emilio Cobos Álvarez e2137e11e5 Bug 1610164 - Only the adoptedStyleSheets setter throws. r=nordzilla
The getter should never throw, and we can tag it as such in the IDL to avoid
useless error outparams.

Differential Revision: https://phabricator.services.mozilla.com/D60371

--HG--
extra : moz-landing-system : lando
2020-01-22 12:10:48 +00:00
Emilio Cobos Álvarez 031b6afee0 Bug 1610801 - Remove font-size calc() hack to propagate keyword information. r=manishearth
It does not make any sense with min() / max() / clamp. So just forget the
keyword info when calc() is used. This also removes a bit of complex / hacky
code.

Differential Revision: https://phabricator.services.mozilla.com/D60663

--HG--
extra : moz-landing-system : lando
2020-01-22 23:46:24 +00:00
Brad Werth 7aba9ae0bf Bug 1516413 Part 2: Make browser FullZoom act on the new zoom change events. r=mstange
This replaces the handling of the ZoomChangeUsingMouseWheel event with
2 new zoom events that trigger the actual zoom changes. As a side effect,
this allows the mousewheel and zoom in/out key events to have an effect
on Reader and PDFJS views as well.

Differential Revision: https://phabricator.services.mozilla.com/D59260

--HG--
extra : moz-landing-system : lando
2020-01-22 23:14:20 +00:00
Brad Werth 9426438383 Bug 1516413 Part 1: Make EventStateManager zoom delta functions send chrome events instead of acting directly. r=mstange
This patch changes the zoom behavior to always be routed through the frontend
Zoom Actor. In the existing code, the ZoomChangeUsingMouseWheel event is sent
as an after-the-fact notification of the zoom being modified directly. This
part of the patch supplements the existing event with 2 new events that
trigger the frontend to do the +/- 10% math in ChangeFullZoom and
ChangeTextZoom. The next part of the patch supplies that logic in the frontend
Zoom Actor.

This also changes the handling of events from the zoom in/out keys. Before,
those keys would only change full zoom levels. Now, they will respect the
full zoom vs text zoom toggle.

Differential Revision: https://phabricator.services.mozilla.com/D59259

--HG--
extra : moz-landing-system : lando
2020-01-22 23:13:50 +00:00
Arnaud Renevier 80b1e692e0 Bug 1607364 - CrashReporting API r=baku
Implement Crash Report for Reporting API.

Differential Revision: https://phabricator.services.mozilla.com/D58053

--HG--
extra : moz-landing-system : lando
2020-01-22 22:38:00 +00:00
Arnaud Renevier 0671c4db40 Bug 1608911 - Send reports to endpoint as a collection. r=baku
In order to respect the specification, we need to send the reports as a collection.

This gives us the opportunity to group reports by endpoints and principal. That
way, if we have multiple reports to send to the same endpoint, we can do it
with only one request.

Differential Revision: https://phabricator.services.mozilla.com/D59819

--HG--
extra : moz-landing-system : lando
2020-01-22 22:41:09 +00:00
Julian Descottes 3621d59bc9 Bug 1610823 - Fix missing dependency for browser_browser_toolbox_fission_contentframe_inspector r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D60674

--HG--
extra : moz-landing-system : lando
2020-01-22 16:25:19 +00:00
Mike Hommey db1eb4c613 Bug 1610680 - Update rustup to 1.21.1. r=dmajor
1.9.0 is outdated, and the changes from bug 1609832 actually require 1.20.0.
1.21.1 is the latest current release.

Differential Revision: https://phabricator.services.mozilla.com/D60630

--HG--
extra : moz-landing-system : lando
2020-01-22 13:28:37 +00:00
Mike Hommey b0dcd87476 Bug 1610680 - Fix running mozboot.rust independently on Windows. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D60629

--HG--
extra : moz-landing-system : lando
2020-01-22 13:24:53 +00:00
Mike Hommey ac43fa53ab Bug 1610680 - Fix running mozboot.rust independently after bug 1210157. r=dmajor
Bug 1210157 added `unicode_literals` to the script but one use of
literals needed to stay a bytes string.

Differential Revision: https://phabricator.services.mozilla.com/D60628

--HG--
extra : moz-landing-system : lando
2020-01-22 13:24:41 +00:00
Bogdan Tara 6b44dbdf87 Backed out 2 changesets (bug 1516413) for valgrind failure CLOSED TREE
Backed out changeset 8eb500f31661 (bug 1516413)
Backed out changeset 333368f257b3 (bug 1516413)
2020-01-23 00:53:42 +02:00
Geoff Brown ada08215f5 Bug 1608592 - Remove MINIDUMP_SAVEPATH environment variable from android tasks; r=bc
MINIDUMP_SAVEPATH does nothing and can be safely removed. The correct variable,
MINIDUMP_SAVE_PATH is already set in the Android scripts, such as
https://searchfox.org/mozilla-central/rev/9b4b41b95cbcda63f565bdc24411e15248f91d83/testing/mozharness/scripts/android_emulator_unittest.py#412
so no other changes are required.

Differential Revision: https://phabricator.services.mozilla.com/D59923

--HG--
extra : moz-landing-system : lando
2020-01-22 20:30:55 +00:00
Bogdan Tara 71d94dc634 Backed out changeset 4ed3c01f009d (bug 1552600) for browser/components/enterprisepolicies/tests/* failures CLOSED TREE 2020-01-23 00:21:18 +02:00
Bogdan Tara b965efc231 Backed out changeset ba74f99ce9bc (bug 1607153) for browser_content_url_annotation.js failures CLOSED TREE 2020-01-23 00:19:13 +02:00
Cosmin Sabou 158024baa6 Backed out 4 changesets (bug 1600109, bug 1609037, bug 1608320) for turning bug 1605297 into permafail.
Backed out changeset ca3381ffade1 (bug 1609037)
Backed out changeset 6f3358db89c7 (bug 1608320)
Backed out changeset 0614bbf65c82 (bug 1600109)
Backed out changeset ea650c48ddcb (bug 1600109)
2020-01-23 00:12:00 +02:00
Brendan Dahl f15a6c8a03 Bug 1533406 - Add tests for gecko view private mode. r=snorp
1) Adds a basic functionality test.
2) Adds a tests to ensure storage is shared across private mode sessions.

Differential Revision: https://phabricator.services.mozilla.com/D60546

--HG--
extra : moz-landing-system : lando
2020-01-22 22:07:08 +00:00
Brendan Dahl d4e28b08cf Bug 1533406 - Extend private browsing lifetime for gecko view too. r=smaug
Private browsing data kept getting cleared each time a new tab was created
since gecko thought there were no more private windows. Also, fixes a typo
in the case of "windowtype".

Differential Revision: https://phabricator.services.mozilla.com/D60330

--HG--
extra : moz-landing-system : lando
2020-01-22 22:06:58 +00:00
Chris Manchester 815211d55c Bug 1610929 - Update sccache for native-zlib feature and enable it in automation. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D60737

--HG--
extra : moz-landing-system : lando
2020-01-22 20:11:43 +00:00
Scott f9d63c9c0c Bug 1544922 - Port v2 personalization to Discovery Stream r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D60523

--HG--
extra : moz-landing-system : lando
2020-01-22 21:31:14 +00:00
Brad Werth 0549d5f10b Bug 1516413 Part 2: Make browser FullZoom act on the new zoom change events. r=mstange
This replaces the handling of the ZoomChangeUsingMouseWheel event with
2 new zoom events that trigger the actual zoom changes. As a side effect,
this allows the mousewheel and zoom in/out key events to have an effect
on Reader and PDFJS views as well.

Differential Revision: https://phabricator.services.mozilla.com/D59260

--HG--
extra : moz-landing-system : lando
2020-01-22 21:43:14 +00:00
Brad Werth 69b67fa839 Bug 1516413 Part 1: Make EventStateManager zoom delta functions send chrome events instead of acting directly. r=mstange
This patch changes the zoom behavior to always be routed through the frontend
Zoom Actor. In the existing code, the ZoomChangeUsingMouseWheel event is sent
as an after-the-fact notification of the zoom being modified directly. This
part of the patch supplements the existing event with 2 new events that
trigger the frontend to do the +/- 10% math in ChangeFullZoom and
ChangeTextZoom. The next part of the patch supplies that logic in the frontend
Zoom Actor.

This also changes the handling of events from the zoom in/out keys. Before,
those keys would only change full zoom levels. Now, they will respect the
full zoom vs text zoom toggle.

Differential Revision: https://phabricator.services.mozilla.com/D59259

--HG--
extra : moz-landing-system : lando
2020-01-22 21:42:40 +00:00
Simon Giesecke 7bd98acb92 Bug 1610704 - Add missing call to base class' Cancel. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D60660

--HG--
extra : moz-landing-system : lando
2020-01-22 21:35:55 +00:00
Michael Kaply 744a10afee Bug 1552600 - Allow policies.json to augment platform policy. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D32362

--HG--
extra : moz-landing-system : lando
2020-01-17 21:50:51 +00:00
Jeff Muizelaar cce8fe4d25 Bug 1610949 - Only use WS_EX_NOREDIRECTIONBITMAP when using DirectComposition. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D60744

--HG--
extra : moz-landing-system : lando
2020-01-22 21:23:35 +00:00
Gavin Lazar Suntop 8e900d406e Bug 1608952 - un-hardcoding label r=fluent-reviewers,thecount,flod
Differential Revision: https://phabricator.services.mozilla.com/D60188

--HG--
extra : moz-landing-system : lando
2020-01-22 19:41:56 +00:00
Mike Conley ea70cbeec9 Bug 1576917 - Port PopupBlocker to JSWindowActors to make it Fission-compatible. r=NeilDeakin
This patch was started by Alex Vamvounis <a.vamvounis@gmail.com> and finished by
Mike Conley <mconley@mozilla.com>

Differential Revision: https://phabricator.services.mozilla.com/D53075

--HG--
extra : moz-landing-system : lando
2020-01-22 21:24:19 +00:00
Nika Layzell ef317eb299 Bug 1609187 - Remove child-initiated remote subframe logic, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D60268

--HG--
extra : moz-landing-system : lando
2020-01-22 19:29:32 +00:00
Tom Ritter 1e3011753d Bug 1610007 - Support a tainted parameter in ipdl files r=nika
Differential Revision: https://phabricator.services.mozilla.com/D60306

--HG--
extra : moz-landing-system : lando
2020-01-22 21:16:15 +00:00