Commit Graph

719026 Commits

Author SHA1 Message Date
Kartikaya Gupta
023457eb88 Bug 1540988 - Don't do trackpad-based pinch zooming if keyboard modifiers are present. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D84204
2020-07-20 21:13:23 +00:00
Kris Maglione
375393a54d Bug 1653922: Add missing null check. r=nika
IsSameOrAncestor used to accidentally do this when it walked the parent chain
using docshells rather than BrowsingContexts.

Differential Revision: https://phabricator.services.mozilla.com/D84237
2020-07-20 20:39:11 +00:00
Kris Taeleman
415406886e Bug 1654032 - Enable Webrender on beta/release for Adreno 6xx devices. r=jnicol,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D84203
2020-07-20 21:05:10 +00:00
Markus Stange
7580893a66 Bug 1578042 - Call UpdateCompositedFrame from ChooseImageIndex so that the frame drop detection works for non-WebRender too. r=nical
Non-WebRender calls ChooseImageIndex multiple times per frame, and only calls
FinishRendering if it actually rendered the video. This makes some of the
bookkeeping here a bit annoying.

This patch introduces a behavior difference as to when mLastFrameID is updated.
It is now updated during the first ChooseImageIndex inside of a composition,
rather than from FinishRendering. But the bias is still updated from
FinishRendering. I don't think this will make an actual difference in practice.

Differential Revision: https://phabricator.services.mozilla.com/D84072
2020-07-20 21:47:07 +00:00
Markus Stange
4b63e322bb Bug 1578042 - Move mCompositionOpportunityId incrementing from EndTransaction to UpdateAndRender. r=nical
I got this wrong when I added non-WebRender support in the patch that added
the CompositionOpportunityId counter. I forgot that EndTransaction is not only
called when we composite, but also, who would have thought, when we process a
transaction.
We only want to increment mCompositionOpportunityId when we're actually about
to composite.

Differential Revision: https://phabricator.services.mozilla.com/D84111
2020-07-20 21:47:07 +00:00
Markus Stange
4ad4e1f8c8 Bug 1578042 - Ignore skipped frames when the video was offscreen. r=jya,nical
This patch makes it work for WebRender. The next patch in the series makes it
work for non-WebRender, too.

Differential Revision: https://phabricator.services.mozilla.com/D83463
2020-07-20 21:47:07 +00:00
Markus Stange
113bd0f12f Bug 1578042 - Improve dropped frames reporting for videos, by counting all frames in mImages that were never composited. r=jya,nical
In the current state this also counts frame drops while the video is offscreen,
but this will be fixed in a later patch in the series.

This patch also adjusts the time delta check: It now compares floored milliseconds.
In 60fps WebM videos, the video frame durations are 16.0, 17.0, 17.0, 16.0, 17.0, 17.0, ...
so we need to consider frames with 16.0ms as displayable even when the target
frame duration is 16.67ms, otherwise we gloss over one third of the frames when
counting potentially dropped frames.

Differential Revision: https://phabricator.services.mozilla.com/D82635
2020-07-20 21:56:21 +00:00
Ting-Yu Lin
f51106243b Bug 1558509 - Set font and line-height to some multicol reference files. r=heycam
All the correspond test files are using `font: 1.25em/1 Ahem`, so this
patch sets the same rule to all their references to prevent default font
from resulting a line-height larger than 20px.

Differential Revision: https://phabricator.services.mozilla.com/D83589
2020-07-20 21:37:51 +00:00
Gijs Kruitbosch
6b51f8bd70 Bug 1653541 - always allow webextensions to navigate to external protocol URIs, r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D84179
2020-07-20 21:48:21 +00:00
Gijs Kruitbosch
b58a9a8eca Bug 1652641 - use consistent access key for tab context menu's items to close 1 tab or selected tabs, r=dao,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D83628
2020-07-20 16:30:47 +00:00
Dzmitry Malyshau
e1cc91964c Bug 1622846 - Update WebGPU IDL type definitions r=webidl,smaug
Using typedefs with enforced ranges, moved out of D83734

Differential Revision: https://phabricator.services.mozilla.com/D84214
2020-07-20 21:07:03 +00:00
Bogdan Tara
b255bc7e5e Backed out 4 changesets (bug 1578042) for test_memory_usage.py crash CLOSED TREE
Backed out changeset 24d56f3c7678 (bug 1578042)
Backed out changeset e32e69b9bdc4 (bug 1578042)
Backed out changeset 3fbf9c0203dd (bug 1578042)
Backed out changeset 57f65280709f (bug 1578042)
2020-07-21 00:42:47 +03:00
Glenn Watson
d28d1f3764 Bug 1623792 - Pt 7 - Remove space snapper from stacking context stack. r=aosmond
There doesn't seem to be any need to have this per stacking context, as
the device pixel ratio is always the same during scene building (the
previous code just clones this object as each stacking context is
pushed).

Differential Revision: https://phabricator.services.mozilla.com/D84113
2020-07-20 11:16:36 +00:00
Harry Twyford
282d11dfbe Bug 1653436 - Cancel heuristic timer on cancelQuery. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D84091
2020-07-20 19:45:18 +00:00
Andrew Creskey
07a4b7496e Bug 1653861 - Enable conditioned profiles for existing android perf tests r=tarek,sparky
Conditioned profiles allow us to re-create a more common user environment than a fresh install.

Differential Revision: https://phabricator.services.mozilla.com/D84107
2020-07-20 20:30:16 +00:00
Andrew Halberstadt
fe6fcd8288 Bug 1650406 - [ci] Ensure 'upload-symbols' tasks don't cause builds to run with |mach try auto|, r=Callek,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D82572
2020-07-20 19:08:36 +00:00
Andrew Halberstadt
1d0050a3ae Bug 1650406 - [ci] Ensure 'build-win64-aarch64-shippable-no-eme/opt' runs everywhere, r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D83676
2020-07-20 19:08:36 +00:00
Mike Hommey
cb5b458548 Bug 1640982 - Set CARGO_PROFILE_RELEASE_LTO=true when enabling rust LTO. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D84098
2020-07-20 16:05:36 +00:00
Andrew Osmond
ba13177767 Bug 1649528 - Part 2. Ship WebRender on Mac to early beta. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D84221
2020-07-20 19:49:59 +00:00
Andrew Osmond
731600fe07 Bug 1649528 - Part 1. Ship WebRender on Intel Gen 7/7.5 gt1, broxton and geminilake to early beta. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D84220
2020-07-20 19:49:31 +00:00
Iain Ireland
07335ba097 Bug 1642493: Remove obsolete directory from license.html r=mhoye
The code that was previously in `new-regexp` has been moved into `irregexp`, and the code in `irregexp` has been deleted. Update the license file accordingly.

Depends on D77732

Differential Revision: https://phabricator.services.mozilla.com/D77733
2020-07-20 19:53:33 +00:00
Emily McDonough
5d41165836 Bug 1653686 - Make adding/managing functions in the CUPS shim less error prone r=emilio
Avoid using a separate list of pointer-to-pointers to the members to hold the
functions. Also use a macro to actually invoke this, which will be useful when
we allow having a hard-dependency on CUPS for OS X.

Differential Revision: https://phabricator.services.mozilla.com/D84022
2020-07-20 20:07:18 +00:00
Scott
c273cf653d Bug 1620409 - New logic for handling collection dismiss. r=perftest-reviewers,gvn,sparky
Differential Revision: https://phabricator.services.mozilla.com/D84018
2020-07-20 20:05:37 +00:00
Scott
e324ac876f Bug 1654029 - Fix newtab firefox logo for search only r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D84209
2020-07-20 20:02:49 +00:00
longsonr
0e8dd6fc35 Bug 1653848 - Make SVGPaintServer and SVGGradientFrames queryable r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D84102
2020-07-20 18:02:25 +00:00
Markus Stange
ae1ef21e9c Bug 1654060 - Fix comments about positive bias for video frame timestamps. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D84225
2020-07-20 19:47:13 +00:00
longsonr
7ed192f0f6 Bug 1653362 - Allow builds with the 10.15.6 macOS SDK. r=froydnj,mstange
Differential Revision: https://phabricator.services.mozilla.com/D83837
2020-07-20 15:12:28 +00:00
Sebastian Hengst
24ab36fb3b Bug 1604316 - Set cors-check.html as intermittent on Windows 7 debug. r=jgraham DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D84146
2020-07-20 19:45:10 +00:00
Nathan Froyd
4f9a75cfd6 Bug 1652870 - use new dump_syms for Android builds; r=geckoview-reviewers,snorp
Faster and more maintainable is good.

Differential Revision: https://phabricator.services.mozilla.com/D83561
2020-07-20 19:02:30 +00:00
Nathan Froyd
ae4610b343 Bug 1652870 - permit DUMP_SYMS to be used when doing Android builds; r=mhentges
It's not immediately obvious to me why we limit this check based on target;
I guess once upon a time there was no ELF or Mach-O support, so we wanted to
ensure people didn't shoot themselves in the foot. If that's the case,
testing indicates that Mach-O support isn't quite ready for prime-time and
we haven't got all the bits straightened out for our normal Linux builds.
So we're just going to enable it for Android here.

Differential Revision: https://phabricator.services.mozilla.com/D83560
2020-07-20 19:02:22 +00:00
Tom Prince
2b53c0c278 Bug 1638990: [taskgraph] Apply appropriate change from python-modernize; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D84086
2020-07-20 19:27:46 +00:00
Tom Prince
b5bfe5d07e Bug 1638990: [taskgraph] Store task ids as text, rather than bytes; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D84085
2020-07-20 19:27:44 +00:00
Tom Prince
3eb5c76e3a Bug 1638990: [taskgraph] Make taskgraph.action.util.create_task_from_def generate the task id; r=ahal
All the callers generate a fresh task id, so refactor that logic into the
function.

Differential Revision: https://phabricator.services.mozilla.com/D84084
2020-07-20 19:27:36 +00:00
Tom Prince
bc2b9501bb Bug 1638990: [taskgraph] Make taskgraph.decision.write_artifact work on python 3; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D84083
2020-07-20 19:27:34 +00:00
Tom Prince
732240dc4a Bug 1638990: [taskgraph] Use time.monotonic for bugbug timing when avaiable; r=ahal
In any case, `time.time` is preferable to `time.clock` when `time.monotonic` is
not available.

Differential Revision: https://phabricator.services.mozilla.com/D84082
2020-07-20 19:27:32 +00:00
Tom Prince
6d3ff10755 Bug 1638990: [taskgraph] Make test_morph pass on python 3; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D84081
2020-07-20 19:27:24 +00:00
Tom Prince
39874ef7e9 Bug 1638990: [taskgraph] Make test_optimize pass on python 3; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D84080
2020-07-20 19:27:22 +00:00
Tom Prince
f4bb27e422 Bug 1638990: [taskgraph] Make test_create pass on python 3; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D84079
2020-07-20 19:27:19 +00:00
Tom Prince
e99a78f6de Bug 1638990: [taskgraph] Make test_taskcluster_yml pass on python 3; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D84078
2020-07-20 19:27:12 +00:00
Tom Prince
847aa1938f Bug 1638990: [taskgraph] Make test_util_runnable_jobs pass on python 3; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D84077
2020-07-20 19:27:09 +00:00
Tom Prince
945a1bc550 Bug 1638990: [taskgraph] Make test_util_parameterization.py pass on python 3; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D84076
2020-07-20 19:27:07 +00:00
Tom Prince
e837225a92 Bug 1638990: [taskgraph] Make test_generator pass on python 3; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D84075
2020-07-20 19:26:59 +00:00
Tom Prince
65572b1ec0 Bug 1638990: [taskgraph] Make test_decision pass on python 3; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D84074
2020-07-20 19:26:57 +00:00
Tom Prince
066d97917f Bug 1638990: [taskgraph] Make test_try_option_syntax pass on python 3; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D84073
2020-07-20 19:26:47 +00:00
Tom Prince
7c05ff5c43 Bug 1653717: [taskgraph] Handle composite description nicely; r=Callek
When links to specific tasks in treeherder was added to the description in
Bug 1630710, This caused the descriptions for several derived tasks to include
the `{'task-reference': '...'}` wrapper in the derived description. This is
in addition to the already duplicate links to treeherder those tasks had.

To ameliorate this issue, keep track of the original description without the
treeherder link and use that in derived tasks.

Differential Revision: https://phabricator.services.mozilla.com/D84047
2020-07-18 15:59:27 +00:00
Matthew Gaudet
d05eff0349 Bug 1644160 - Use DOM Proxy Expando to hold private fields, rather than allocating Proxy Expando r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D83556
2020-07-20 13:49:10 +00:00
Matthew Gaudet
b56bdc1e4b Bug 1652744 - Add browser pref for private fields support r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D83511
2020-07-20 13:49:14 +00:00
Matthew Gaudet
f8473cc09a Bug 1644160 - Ensure TypedObjects cannot have private fields added r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D83148
2020-07-20 13:49:17 +00:00
Matthew Gaudet
9454dd0c46 Bug 1644160 - Support DeadObjectProxies r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D83147
2020-07-20 16:48:05 +00:00
Matthew Gaudet
a66015518c Bug 1644160 - Support private fields that traverse CCWs r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D83146
2020-07-20 13:49:07 +00:00