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

731011 Коммитов

Автор SHA1 Сообщение Дата
Narcis Beleuzu 1e7d4b5b37 Backed out changeset b75ab3fd88c9 (bug 1665411) for SM bustages on ProtectedData.h 2020-10-20 01:27:40 +03:00
Steven MacLeod 5c5d8d1beb Bug 1667286 - wait for requestFullscreen promise in browser_fullscreen_api_fission.js r=mconley
Before this change we were only waiting for the `fullscreenchange`
event in the frame that requested fullscreen. This event is fired
before the the promise returned by `requestFullscreen` is resolved.
We now wait on the returned promise to resolve in addition to the
event, which should delay when we check the logged events from
all the frames.

Differential Revision: https://phabricator.services.mozilla.com/D94017
2020-10-19 15:10:30 +00:00
Kartikaya Gupta 623072abc0 Bug 1654290 - When zooming, change the displayport shape to match the composition size. r=botond
Our existing displayport calculation heuristics generally favour a more vertical
displayport because that's the direction most scrolling occurs in. However, when
zooming, we actually want to try and preserve the aspect ratio of the composition
size, because zooming is an operation that scales the content equally on both
axes and favouring the y-axis in the displayport can result in more checkerboarding
on the x-axis.

Differential Revision: https://phabricator.services.mozilla.com/D93799
2020-10-19 19:41:18 +00:00
Kartikaya Gupta ff3ffcd4e8 Bug 1654290 - Force a repaint request when about to checkerboard during zooming. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D93798
2020-10-19 19:45:59 +00:00
Kartikaya Gupta 91c8b8de6e Bug 1654290 - Move the AboutToCheckerboard function to APZUtils. r=botond
No functional changes to the code, just some variable renaming and logging
removal.

Differential Revision: https://phabricator.services.mozilla.com/D93797
2020-10-19 21:55:47 +00:00
Gabriele Svelto b74208fdb6 Bug 1665411 - Use first-fit mutexes on macOS r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D93319
2020-10-19 20:52:24 +00:00
Mike Hommey 5d0f00c246 Bug 1644624 - Upgrade builders to rustc 1.47. r=firefox-build-system-reviewers,dmajor
Also upgrade the ccov builds to clang 11, as they were stuck on clang 9
because of the older version of rust, and the new version of rust
requires to bump clang as well (due to code-coverage-related symbols
name change).

Differential Revision: https://phabricator.services.mozilla.com/D93731
2020-10-16 20:58:30 +00:00
Mike Hommey 1ee16dc4df Bug 1644624 - Optionally postprocess the compiler_builtins rlib when repacking rust. r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D93730
2020-10-16 15:52:15 +00:00
Mike Hommey 7e240e7af2 Bug 1644624 - Pass LLVM flags from PROFILE_GEN_CFLAGS to the rust compiler. r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D93729
2020-10-16 15:45:54 +00:00
Mike Hommey 5afb69830c Bug 1670156 - Use the same prefix/suffix for rust libraries on mingw builds. r=firefox-build-system-reviewers,dmajor
Rustc >= 1.44 changed the file names of the static libraries it
produces with -windows-gnu targets, to match that of mingw clang/gcc.

Considering we still build on 1.43, the best fix would be to derive the
prefix/suffix based on the version of rust, but that actually turns into
a hard-to-solve problem because of configure tests for bindgen also
depending on the prefix/suffix value to be known.

On the other hand, we're soon due to an update to 1.47, so the simpler
solution is to just push mingw builds to require 1.44 (settling for the
smallest upgrade possible for now) and to remove the split between C and
rust library prefix/suffixes.

Differential Revision: https://phabricator.services.mozilla.com/D93726
2020-10-16 16:06:19 +00:00
Mike Hommey 15db2adc30 Bug 1670156 - Switch 32-bits mingw clang to dwarf exceptions. r=tjr
That is what rust uses, and versions of rust >= 1.44 make the
discrepancy visible as a linker error on missing the _Unwind_Resume
symbol, so we need to align things.

Differential Revision: https://phabricator.services.mozilla.com/D93725
2020-10-16 12:51:22 +00:00
Narcis Beleuzu c50f12086b Merge mozilla-central to autoland 2020-10-20 00:40:51 +03:00
Narcis Beleuzu d493d96032 Merge autoland to mozilla-central. a=merge 2020-10-20 00:37:32 +03:00
Mike Hommey bd3416a215 Bug 1671542 - Get rust toolchain xz archives rather than gz from upstream. r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D93722
2020-10-19 21:34:26 +00:00
Agi Sferro d6277732dc Bug 1672046 - Use correct URI from Event in GeckoViewProgress. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D94051
2020-10-19 21:03:13 +00:00
Narcis Beleuzu 9252175982 Backed out changeset e34634758f51 (bug 1671424) for bustages on configure.py . CLOSED TREE 2020-10-20 00:16:22 +03:00
Narcis Beleuzu 127dbfe779 Backed out changeset 19f174844357 (bug 1667787) for bc failure on browser_bug676619.js . CLOSED TREE 2020-10-20 00:11:01 +03:00
Narcis Beleuzu d54df1cd36 Backed out 12 changesets (bug 1626278) for mochitest leakchecks . CLOSED TREE
Backed out changeset eeed6ebfc444 (bug 1626278)
Backed out changeset cc2023032191 (bug 1626278)
Backed out changeset 15f89d2c5981 (bug 1626278)
Backed out changeset 1227d9db743d (bug 1626278)
Backed out changeset d91d9eb46983 (bug 1626278)
Backed out changeset 5861d6340ee8 (bug 1626278)
Backed out changeset 1cf19408d522 (bug 1626278)
Backed out changeset 90cf750aba51 (bug 1626278)
Backed out changeset 991bc13ae061 (bug 1626278)
Backed out changeset 8432bc08676e (bug 1626278)
Backed out changeset 5c0c76832287 (bug 1626278)
Backed out changeset 2f57fa13df7e (bug 1626278)
2020-10-19 22:58:59 +03:00
Narcis Beleuzu 1e5c5c405a Backed out 7 changesets (bug 1661304) for xpcshell failures on test_UserInteraction_annotations.js. CLOSED TREE
Backed out changeset 10459893968e (bug 1661304)
Backed out changeset 234f7dd34c95 (bug 1661304)
Backed out changeset e1954838e36f (bug 1661304)
Backed out changeset 6f0f76bb873d (bug 1661304)
Backed out changeset 5186bba48ce7 (bug 1661304)
Backed out changeset 442ce3a64bab (bug 1661304)
Backed out changeset 88b46f9a789e (bug 1661304)
2020-10-19 21:39:07 +03:00
Narcis Beleuzu 8945877156 Backed out 1 changesets (bug 727668) for bc failures on browser_aboutNewTab_bookmarksToolbar.js . CLOSED TREE
Backed out changeset 5b6a14b4e16e (bug 727668)
2020-10-19 21:19:17 +03:00
Aaron Klotz 1876a00d8b Bug 1650118: Part 6 - Update test harnesses; r=bc,sparky,perftest-reviewers
e10s is no longer a GeckoView option, so I'd like to remove it from test
harnesses when possible.

Differential Revision: https://phabricator.services.mozilla.com/D91640
2020-10-19 18:17:16 +00:00
Mike Conley 5bdc893fa8 Bug 1661304 - Add an initial UserInteraction for tab opening. r=Gijs,data-review=chutten
Differential Revision: https://phabricator.services.mozilla.com/D88896
2020-10-19 17:43:09 +00:00
Mike Conley aaf06239d9 Bug 1661304 - Allow UserInteractions to clobber one another. r=chutten,dthayer
Differential Revision: https://phabricator.services.mozilla.com/D93590
2020-10-19 17:42:51 +00:00
Mike Conley f4b73ffaff Bug 1661304 - Adding running() method to UserInteraction. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D93589
2020-10-19 17:42:28 +00:00
Mike Conley 39c88bb8d6 Bug 1661304 - Add tests for UserInteractions infrastructure. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D92810
2020-10-19 17:42:10 +00:00
Mike Conley d47ad5f8f1 Bug 1661304 - Introduce UserInteractions as things that can be defined statically at build-time. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D88684
2020-10-19 17:41:49 +00:00
Mike Conley 69c8c5891d Bug 1661304 - Add an interface for front-end code to annotate background hang reports. r=dthayer,chutten,smaug
Differential Revision: https://phabricator.services.mozilla.com/D88309
2020-10-19 17:41:15 +00:00
Mike Conley 5f8f62eb7d Bug 1661304 - Make BHR annotations an array of key value pairs when submitted to Telemetry. r=dthayer
Differential Revision: https://phabricator.services.mozilla.com/D92809
2020-10-19 17:45:30 +00:00
Aaron Klotz ae7021338d Bug 1650118: Part 5 - Update GeckoView changelog; r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D90934
2020-10-19 17:20:21 +00:00
Dzmitry Malyshau 5668f013a9 Bug 1622846 - WebGPU new mapping API r=webidl,jgilbert,smaug
This PR updates wgpu to 64ae59072d
It has a number of things (API updates, correctness fixes, etc), but the biggest part is the new mapping API.

Differential Revision: https://phabricator.services.mozilla.com/D92636
2020-10-19 17:19:12 +00:00
Aaron Klotz 76f89ca028 Bug 1650118: Part 4 - Update api.txt; r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D90933
2020-10-19 16:54:10 +00:00
Aaron Klotz d9f179782b Bug 1650118: Part 3 - Update tests; r=geckoview-reviewers,agi,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D90932
2020-10-19 16:54:08 +00:00
Aaron Klotz 9291057e69 Bug 1650118: Part 2 - Update GVE; r=agi
Differential Revision: https://phabricator.services.mozilla.com/D90930
2020-10-19 16:53:57 +00:00
Aaron Klotz 1709d6e45f Bug 1650118: Part 1 - Remove non-e10s mode from GeckoView; r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D90929
2020-10-19 17:08:28 +00:00
Kartikaya Gupta 57da32766a Bug 1671284 - Don't drop APZ requests that have changed the zoom but not the scroll. r=botond
The APZCCallbackHelper code would only enter the codepath to set the presShell
resolution if the repaint request had a scroll position update. This seems silly
because really we care about whether or not the async zoom changed. The included
test exposes this silliness by demonstrating how the presShell resolution can
get stuck at an incorrect value because the necessary repaint requests get
ignored.

The patch now allows the SetResolutionAndScaleTo codepath to be entered if
there is an async zoom on the repaint request, so that we make sure to update
the presShell resolution even if the scroll position hasn't changed.

Differential Revision: https://phabricator.services.mozilla.com/D93687
2020-10-19 20:43:56 +00:00
Kartikaya Gupta 5e52615ca3 Bug 1671284 - Refactor zoom-out helpers to allow custom touch sequences. r=botond
Instead of a having a yield-style pinchZoomOutTouchSequenceAtCenter function
and a async pinchZoomOutWithTouchAtCenter wrapper around it, we now have an
general async wrapper synthesizeNativeTouchAndWaitForTransformEnd around the
main touch synthesization function, with pinchZoomOutWithTouchAtCenter being
a helper that uses it with a specific touch sequence.

In particular this allows reusing this code with other custom touch sequences,
which will happen in the next patch.

Differential Revision: https://phabricator.services.mozilla.com/D93686
2020-10-19 18:32:54 +00:00
Kartikaya Gupta 53fd0d393c Bug 1671284 - Reduce callers of pinchZoomOutTouchSequenceAtCenter. r=botond
I want to refactor a couple of the pinch utilities so I need to migrate this
code to stop using pinchZoomOutTouchSequenceAtCenter, and use
pinchZoomOutWithTouchAtCenter instead. As a bonus this migrates the test from
being a continuation-style to async/await-style.

Differential Revision: https://phabricator.services.mozilla.com/D93685
2020-10-19 18:22:30 +00:00
Mozilla Releng Treescript 1319f81f81 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2020-10-19 16:39:05 +00:00
Mozilla Releng Treescript 7b96d9c701 No bug - tagging 6d98cc745df58e544a8d71c131f060fc2c460d83 with FIREFOX_NIGHTLY_83_END a=release DONTBUILD CLOSED TREE 2020-10-19 16:38:59 +00:00
Mike Hommey fcd16177c6 Bug 1671424 - Move configure execution from client.mk to `mach configure`. r=firefox-build-system-reviewers,rstewart
`mach configure` currently runs the equivalent to `make -f client.mk`.
This is history, and essentially does the following:
- Create `configure` and `js/src/configure` from `configure.in` and
`js/src/configure.in` respectively.
- Create the objdir.
- Run `configure` from the objdir.

The `configure` script is, nowadays, only really used as a means to set
OLD_CONFIGURE (and also for people who want to run `configure`,
literally, as in the `configure; make` workflow). `mach configure`
actually doesn't need it. Neither does recursing into `js/src` require
`js/src/configure`, since bug 1520340 (and now as of bug 1669633, we
don't even recurse).

Because configure.py can actually derive OLD_CONFIGURE on its own
(except for `js/src/configure`, but `mach configure` doesn't run that),
we don't really need `configure` for `mach configure`.

So all in all, we're at a point in history where it's straightforward to
just initiate configure.py from mach configure, so we just do that.

And in the hypothetical case where the `mach configure` code is somehow
running in python2, we get the mach virtualenv python3 and use it to
execute `configure.py`.

Differential Revision: https://phabricator.services.mozilla.com/D93741
2020-10-19 16:24:34 +00:00
Ting-Yu Lin 112694d3a0 Bug 1672007 - Remove dead DEBUG_REFLOW code. r=emilio
For future archaeologist: `eReflowReason` used in `nsAdaptorPrintReason`
was originally defined in nsHTMLReflowState.h (today's ReflowInput.h),
and was removed in Bug 300030
31f1898810

Differential Revision: https://phabricator.services.mozilla.com/D94042
2020-10-19 18:59:25 +00:00
Narcis Beleuzu 1fa351142a Backed out 1 changesets (bug 1671289) for wrench bustages on profiler.rs . CLOSED TREE
Backed out changeset db80ac24d32f (bug 1671289)
2020-10-19 23:58:05 +03:00
Harry Twyford b19f066d1c Bug 1671803 - Add localized names for Baidu and Yandex to WEB_ENGINE_NAMES. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D94012
2020-10-19 18:33:51 +00:00
Nicolas Silva b5e41f1e7e Bug 1671289 - Improve WebRender's integrated profiler. r=gw
In a (large-ish) nutshell:

 - Consolidate all counters under a single type.
 - Counters are all arranged in an array and referred to via index.
 - All counters can be displayed as average+max (float/int), graph, and change indicator.
 - Specify what to show and in what form via a pref.
 - All counters and visualizations support not having values every frame.
 - GPU time queries visualization is easier to read relative to the frame budget:
  - If the maximum value is under 16ms, the right side of the graph is fixed at 16ms.
  - If the maximum value is above 16ms, draw a vertical bar at 16ms.
 - Added a few new profile counters:
  - Total frame CPU time (from API send to the end of GPU command submission).
  - Visibility, Prepare, Batching and Glyph resolve times.

The main change is how profile counters are represented. Instead of having different types for different visualizations, every counter is represented the same way, tracking average/max values over half a ms and optionally recording a graph over a number of frames. Counters are stored in a vector and referred to via index (See constants at the top of profiler.rs).
The main motivation for this storage is to facilitate adding counters without having to think too much about where to store them and how to pass them to the renderer.

The profiler's UI is defined by a string with with a single syntax:
 - Comma separated list of tokens (leading and trailing spaces ignored), which can be:
  - A counter name:
   - If prefixed with a '#' character, the counter is shown as a graph.
   - If prefixed with a '*' character, the counter is shown as a change indicator
   - By default (counter name without prefix), the counter is shown as average and max over half a second.
  - A preset name:
   - A preset is a builtin UI string in the same syntax that can be nested in the main UI string.
   - Presets are defined towards the top of profiler.rs and can also refer to other presets.
  - An empty token adds a  bit of vertical space.
  - A '|' token begins a new column.
  - A '_' token begins a new row.

Differential Revision: https://phabricator.services.mozilla.com/D93603
2020-10-19 20:07:54 +00:00
Gijs Kruitbosch 265eb412ec Bug 1667787 - fix saving webp images served with jpeg extensions without content-disposition information, r=mak
This changes two bits of Firefox that, together with the mime service, end up
very confused over webp + jpeg.

1) it changes contentAreaUtils.js' getDefaultExtension that if it gets an image
mimetype as the content type, it should ignore the URL. It doesn't have full channel
info so it can't really do better anyway. This fixes the context menu's "save image as..."
case.
2) it changes the external helper app service to do a few things slightly differently:
a. If we're told not to get an extension out of a URL, really don't. Don't just get the
   filename and then get it from there anyway...
b. If we've got a suggested filename, and a primary extension for the mimetype,
   and the extension on the file is not one of the known extensions for the mimetype,
   replace it with the primary extension.
This fixes the link case.

It also adds tests for both of these mechanisms as well as "save image as."

Differential Revision: https://phabricator.services.mozilla.com/D92306
2020-10-19 16:14:13 +00:00
Alaa Emad d5eb873b78 Bug 1671320 - Rename test_bug1151663.html to test_group_scrollframe_activation.html r=botond
Differential Revision: https://phabricator.services.mozilla.com/D93895
2020-10-19 19:43:23 +00:00
Emily McDonough 7e322dcc03 Bug 1671707 - Remove extra argument from createDefaultSettings calls r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D93861
2020-10-19 19:05:28 +00:00
Agi Sferro 005c753e3f Bug 1665068 - Preserve layers for inactive GV windows. r=jnicol,snorp
Differential Revision: https://phabricator.services.mozilla.com/D93816
2020-10-19 18:28:49 +00:00
Agi Sferro 3e1940c90e Bug 1665068 - Set default clear color according to theme. r=snorp
This also makes it so we don't set a cover automatically anymore, this avoids a
flash when an app sets a session immediately after removing the old session (AC
does this).

Additionally, this also helps with a startup flash, when it's too early for
GeckoView to know whether the app's theme is light or dark.

Differential Revision: https://phabricator.services.mozilla.com/D93815
2020-10-19 18:29:15 +00:00
Agi Sferro 45bd733bd8 Bug 1665068 - Set a default background in SurfaceViewWrapper. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D93814
2020-10-19 18:29:23 +00:00