Commit Graph

686500 Commits

Author SHA1 Message Date
Glenn Watson
3aa1137e6f Bug 1604684 - Make opacity a compositor surface property rather than a tile property. r=sotaro
This will allow use of the DirectComposition virtual surface API. If
it turns out that some pages recreate surfaces a lot due to opacity
changing, we can add some extra logic to avoid recreating surfaces
as often, and making use of per-tile opacity in some cases.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 20:11:21 +00:00
Adam Gashlin
40987c7634 Bug 1554490: Don't count popups as visible windows for CanTakeFocus. r=jmathies
I did some cleanup while here: This now uses the callback's lParam
instead of a global, and does the enumeration of all windows only if
the foreground window doesn't already belong to this process (which
was proposed in bug 259816 comment 68 but didn't make it into the patch).

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

--HG--
extra : moz-landing-system : lando
2020-01-06 13:09:15 +00:00
Kris Taeleman
3850e70cb0 Bug 1605454 - Use GeckoRuntimeSettings intent extras to avoid API change for webrender fenix experiment. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D58568

--HG--
extra : moz-landing-system : lando
2020-01-06 20:38:18 +00:00
Ting-Yu Lin
91b81ef6ad Bug 1607123 - Terminate AccessibleCaretEventHub after tearing down the frame tree. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D58738

--HG--
extra : moz-landing-system : lando
2020-01-06 20:18:06 +00:00
Martin Stransky
2f5ac3876d Bug 1606751 [Wayland] Manage opaque region of mozcontainer internally, r=heftig
nsWindow::UpdateOpaqueRegion() is used from Main thread and it collides with
moz_container_get_wl_surface() where opaque region is used and which is called from Compositor thread.

As a fix don't set opaque region directly for mozcontainer but rather just use a flag to signalize
there's an update needed and calculare/set the opaque region at moz_container_get_wl_surface() or
moz_container_egl_window_set_size().

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

--HG--
extra : moz-landing-system : lando
2020-01-06 20:18:19 +00:00
Boris Zbarsky
5f0c49700b Bug 1607307. Stop using assert_throws in Mozilla-specific WPTs. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D58841

--HG--
extra : moz-landing-system : lando
2020-01-06 20:06:08 +00:00
Jan-Ivar Bruaroey
bb5feceade Bug 1606507 - Null-check on mTrackMain to avoid race. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D58838

--HG--
extra : moz-landing-system : lando
2020-01-06 20:03:26 +00:00
Arthur Iakab
3b5a06561f Backed out changeset debd90b3f579 (bug 1605454) for causing lint failure on GeckoRuntime.java
CLOSED TREE
2020-01-06 22:20:42 +02:00
Connor Brewster
7df8b34d1a Bug 1606742 - Support alpha component on svg color matrix filter in WebRender r=nical
Differential Revision: https://phabricator.services.mozilla.com/D58587

--HG--
extra : moz-landing-system : lando
2020-01-06 18:41:55 +00:00
Sylvestre Ledru
0d76809750 Bug 1606093 - mozlint: enable the verbose mode in the ci r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D58292

--HG--
extra : moz-landing-system : lando
2020-01-06 19:35:51 +00:00
Kris Taeleman
ba40641ae8 Bug 1605454 - Use GeckoRuntimeSettings intent extras to avoid API change for webrender fenix experiment. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D58568

--HG--
extra : moz-landing-system : lando
2020-01-06 19:39:24 +00:00
Chris Manchester
0acf93f26a Bug 1607293 - Turn on pgo for macOS devedition builds. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D58836

--HG--
extra : moz-landing-system : lando
2020-01-06 19:36:28 +00:00
Ben Hearsum
496da6df11 Bug 1607266 - Set background rate and fallback for automated beta's. r=mtabara
https://phabricator.services.mozilla.com/D56801

Depends on D58646

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

--HG--
extra : moz-landing-system : lando
2020-01-06 19:33:47 +00:00
Tetsuharu OHZEKI
59b9c1259b Bug 1606528 - part 2: Replace idioms with BrowsingContext::IsTop(). r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D58481

--HG--
extra : moz-landing-system : lando
2020-01-06 19:13:38 +00:00
Tetsuharu OHZEKI
02e6ecc1ca Bug 1606528 - part 1: Implement BrowsingContext::IsTop(). r=kmag
This is a frequent pattern.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 19:13:05 +00:00
Tarek Ziadé
b380a4a808 Bug 1606793 - Intermittent UnicodeDecodeError/UnicodeEncodeError r=rwood
Some adb logs produce badly encoded characters, producing errors.
Since the log is just informative, and getting pulled after the work
is done, we can ignore these errors and just warn that the adb logs
could not be retrieved.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 19:15:29 +00:00
Tarek Ziadé
cddc9adb37 Bug 1605885 - Silent errors if we eventually succeed getting the profile. r=rwood
If the condprof client retries getting a condprof, it will
display the traceback of the failure. If the task succeeds eventually,
this failure will pollute the logs and confuse Treeherder if there's
another problem later on in the job.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 16:53:04 +00:00
Andrew Osmond
dc7128f82b Bug 1516761 - Only use OS_RGBA for the first frame of animated GIFs. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D58821

--HG--
extra : moz-landing-system : lando
2020-01-06 19:03:41 +00:00
Jon Coppeard
8a5439976d Bug 1605282 - Fix typo in comment r=mccr8 DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D58833

--HG--
extra : moz-landing-system : lando
2020-01-06 18:48:59 +00:00
Kris Maglione
d85d1fedb7 Bug 1603014: Wait for content tasks to add listener before triggering things they're listening for. r=mccr8
SpecialPowers.spawn bounces tasks off SpecialPowersParent before sending them
to SpecialPowersChild, which means that any operations which are sent
immediately afterwards and take a more direct route (like zoom changes) will
get to the content process before the task starts running. In the case of
tasks which depending on registering a listener before said operations take
place, this is obviously a problem.

So this patch fixes those cases in this test to wait for the listeners to be
setup before continuing.

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

--HG--
extra : moz-landing-system : lando
2020-01-05 00:38:19 +00:00
Edwin Takahashi
d1af0a1c8e Bug 1599197 - demote linux32-shippable/opt tasks to tier 2 and limit builds to try and mozilla-central r=jmaher,gbrown
Changes:

Demote linux32-shippable/opt tasks to tier 2 on all repositories. Other linux32 jobs are defined but do not appear to run.

Limit the build of linux32-shippable/opt to `try`/`mozilla-central`.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 18:42:02 +00:00
Jon Coppeard
408e4bbafe Bug 1605282 - Ensure mGCIsRunning flag is set inside WeakPointerZonesCallback, which is always called from inside the GC r=mccr8
The previous patch was incorrect since by my logic mGCIsRunning should already have been true in AssertInvalidWrappedJSNotInTable. This ends up being false in two situations 1) during shutdown when the finalization callback that sets it has been removed and 2) when called during compacting GC.

This patch fixes the situation by setting it explicitly while we're inside WeakPointerZonesCallback and restoring the original value when we leave.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 18:37:04 +00:00
Dan Minor
a0d914e057 Bug 1604497 - Ensure minimum frame width and height in MediaEngineRemoteVideoSource; r=jib
Differential Revision: https://phabricator.services.mozilla.com/D58151

--HG--
extra : moz-landing-system : lando
2019-12-27 14:34:57 +00:00
Dan Minor
fad95a456d Bug 1604497 - Avoid division by zero in I420Buffer::CropAndScaleFrom; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D58150

--HG--
extra : moz-landing-system : lando
2019-12-24 19:45:51 +00:00
Andrew Halberstadt
2f2d1f7fc1 Bug 1604360 - [manifestparser] Remove mention of 'server-root' from the docs, r=egao
Differential Revision: https://phabricator.services.mozilla.com/D58791

--HG--
extra : moz-landing-system : lando
2020-01-06 18:21:30 +00:00
Kristen Wright
185749a261 Bug 1606390 Convert browser.newtabpage.enabled to a static pref r=Gijs
Converts `browser.newtabpage.enabled` into a static pref. Removes their varcache pref declaration. `signon.management.page.enabled` in the same file will be removed instead (Bug 1606888) as it is no longer needed.

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

--HG--
extra : moz-landing-system : lando
2020-01-03 22:11:33 +00:00
Jonathan Kew
c027dd90b4 Bug 1606997 - Let text-underline-position ride the train. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D58681

--HG--
extra : moz-landing-system : lando
2020-01-06 13:41:26 +00:00
Arthur Iakab
987a0f5d27 Backed out changeset 5bef477e99ca (bug 1604412) for causing MinGw all bustages on include/ddraw.h CLOSED TREE 2020-01-06 20:12:38 +02:00
Ryan VanderMeulen
e01b63ab9f Backed out changeset 83762a3e8989 (bug 1581555) for suspicion of causing bug 1607140.
--HG--
extra : rebase_source : dfbf0316e1b1f65038240264eb14915b2e7557bf
2020-01-06 12:59:04 -05:00
Micah Tigley
e9f7bfd194 Bug 1593089 - Refactor existing emulation actor to ResponsiveEmulation actor and ContentViewerEmulation actor. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D52754

--HG--
rename : devtools/server/actors/emulation.js => devtools/server/actors/emulation/content-viewer.js
rename : devtools/server/actors/emulation.js => devtools/server/actors/emulation/responsive.js
rename : devtools/shared/fronts/emulation.js => devtools/shared/fronts/content-viewer.js
rename : devtools/shared/fronts/emulation.js => devtools/shared/fronts/responsive.js
rename : devtools/shared/specs/emulation.js => devtools/shared/specs/content-viewer.js
rename : devtools/shared/specs/emulation.js => devtools/shared/specs/responsive.js
extra : moz-landing-system : lando
2020-01-03 18:28:14 +00:00
Brian Hackett
95e6bca783 Bug 1604514 - Remove special case when applying pending breakpoints, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D58012

--HG--
extra : moz-landing-system : lando
2020-01-06 17:47:00 +00:00
Chris Martin
d3e470db13 Bug 1604412 - Duplicate WinCompositorWidget logic into subclasses r=sotaro
This looks like a large change, but it's really just moving stuff
around.

It takes the logic in WinCompositorWidget and duplicates it into
its only 2 subclasses: InProcessWinCompositorWidget and
CompositorWidgetParent.

This is because CompositorWidgetParent is about to change *a lot*, but
InProcessWinCompositorWidget will basically stay the same. This is an
easy way to verify that I don't accidently break
InProcessWinCompositorWidget.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 07:39:42 +00:00
Tarek Ziadé
1577d562f5 Bug 1607150 - Improve tests speed and logs r=rwood
This is a backport of improvements made while working on Bug 1597336 we can
apply right away on condprof to speed up test execution and get more logs when
something goes wrong

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

--HG--
extra : moz-landing-system : lando
2020-01-06 17:19:19 +00:00
André Bargull
c374dcc46f Bug 1607175 - Part 2: Remove unused JSFunction methods. r=tcampbell
Depends on D58759

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

--HG--
extra : moz-landing-system : lando
2020-01-06 17:19:31 +00:00
André Bargull
c64e3df924 Bug 1607175 - Part 1: Remove obsolete class-constructor check when retrieving the function name. r=tcampbell
This check is no longer necessary since bug 1574180.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 14:54:35 +00:00
Brian Hackett
09fdee41ee Bug 1605399 - Label service workers using their state, r=jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D57998

--HG--
extra : moz-landing-system : lando
2020-01-06 17:22:47 +00:00
Jason Laster
54c2ea291c Bug 1592432 - Async Live Stacks: client work. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D56624

--HG--
extra : moz-landing-system : lando
2020-01-06 16:32:36 +00:00
Ciure Andrei
11eedd07fe Backed out changeset 1410db0871ba (bug 1599197) for causing linting failures CLOSED TREE 2020-01-06 19:13:04 +02:00
Byron Campen [:bwc]
373414184e Bug 1600717: Re-enable these tests on fission. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D58636

--HG--
extra : moz-landing-system : lando
2020-01-06 17:03:46 +00:00
Greg V
97c5686fd7 Bug 1587360 - Add support for idle-inhibit Wayland protocol r=stransky
The idle-inhibit protocol allows idle wake locks on Wayland
without any of the supported D-Bus interfaces running.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 16:11:19 +00:00
Matthew Gaudet
179fa09dcb Bug 1592102 - Defer allocation of Scopes r=tcampbell
Defer the allocation of Scopes by implementing ScopeCreationData and family.
The idea is that we do not reify a GC allocated scope until
JSScript::fullyInitFromEmitter (the goal being to eventually move that onto
main thread).

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

--HG--
extra : moz-landing-system : lando
2020-01-06 17:02:14 +00:00
Edwin Takahashi
47cd631c5c Bug 1599197 - demote linux32-shippable/opt tasks to tier 2 and limit builds to try and mozilla-central r=jmaher,gbrown
Changes:

Demote linux32-shippable/opt tasks to tier 2 on all repositories. Other linux32 jobs are defined but do not appear to run.

Limit the build of linux32-shippable/opt to `try`/`mozilla-central`.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 16:53:39 +00:00
Edwin Takahashi
5a3945950a Bug 1602863 - run mochitest-media on ubuntu1804 for all linux platform variants execpt ccov r=jmaher
Changes:

Run `mochitest-media` using ubuntu1804.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 11:40:07 +00:00
Edwin Takahashi
b91bc21cb6 Bug 1606861 - revert changes to linux64-ccov labels and exclude the platform from further ubuntu1804 migration changes r=marco,jmaher
Changes:

Exclude the `linux-ccov` platform from ubuntu1804 migration plans for the time being.

The `linux64-ccov` test platform originally ran the `common-tests` test set so change the `linux-common-tests` to refer to `common-tests`. This should restore all sets of tests to the `linux64-ccov` label.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 16:44:55 +00:00
Ted Campbell
46e655f8f4 Bug 1605648 - Remove now-unused MacroAssembler helpers. r=jandem
Depends on D58098

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

--HG--
extra : moz-landing-system : lando
2020-01-06 16:38:27 +00:00
Ted Campbell
3709e81afa Bug 1605648 - Use masm.loadJitCodeMaybeNoArgCheck for visitGenericCall. r=jandem
Use the same jitCodeRaw fallback strategy that visitKnownCall does to handle
potential lazy clones. We also stop allowing natives to flow into the
no-args-check case to avoid needing to guard against them.

Depends on D58097

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

--HG--
extra : moz-landing-system : lando
2020-01-06 16:38:25 +00:00
Ted Campbell
8b879a8735 Bug 1605648 - Factor out MacroAssembler::loadJitCodeMaybeNoArgCheck. r=jandem
When IonMonkey uses the no-arg-check entry point, we may still see lazy
function clones. In this case the no-arg-check entry point is unavailable,
but we can still fallback to the standard jitCodeRaw. This patch factors this
fallback behaviour out of visitCallKnown.

The new version guards the warmUpData tag bits instead of loading the
function flags. This makes it compatible with removing the INTERPRETED_LAZY
flag. In the future, the fallback case will no longer be necesarry once
delazification reuses the same script and all function clones delazify at
same time as their canonical one does.

Depends on D58096

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

--HG--
extra : moz-landing-system : lando
2020-01-06 16:38:16 +00:00
Ted Campbell
022ba3405a Bug 1605648 - Cleanup CodeGenerator::visitCallGeneric. r=jandem
Group the jitCodeRaw handling so it becomes simpler. By changing the scratch
register used by switchToObjectRealm we can move it later in code.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 16:38:14 +00:00
Ethan Glasser-Camp
7cd2a98da0 Bug 1606026: Move existing documentation into new locations r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D58338

--HG--
rename : tools/docs/docs/contribute/mozilla_source_code_directory_structure.rst => docs/contributing/directory_structure.rst
rename : tools/docs/docs/contribute/how_to_contribute_firefox.rst => docs/contributing/how_to_contribute_firefox.rst
rename : tools/docs/docs/adding-documentation.rst => tools/moztreedocs/docs/adding-documentation.rst
rename : tools/docs/docs/index.rst => tools/moztreedocs/docs/index.rst
rename : tools/docs/docs/mdn-import.rst => tools/moztreedocs/docs/mdn-import.rst
extra : moz-landing-system : lando
2020-01-06 16:38:34 +00:00
Ethan Glasser-Camp
6f164aa98f Bug 1606026: Move documentation entry point to docs/ r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D58552

--HG--
rename : tools/docs/conf.py => docs/conf.py
rename : tools/docs/config.yml => docs/config.yml
rename : tools/docs/index.rst => docs/index.rst
rename : tools/docs/jsdoc.json => docs/jsdoc.json
extra : moz-landing-system : lando
2020-01-06 16:14:11 +00:00