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

749036 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez 548c2a31b7 Bug 1698969 - Add some colors to HeadlessLookAndFeelGTK so that some widgets render properly in headless mode. r=mstange
Colors match Adwaita (the default GTK theme).

Differential Revision: https://phabricator.services.mozilla.com/D108697
2021-03-16 22:16:36 +00:00
Emilio Cobos Álvarez 76502ee6b0 Bug 1698477 - Prevent spin buttons from creating overflow. r=dholbert
This matches pre-existing behavior.

Differential Revision: https://phabricator.services.mozilla.com/D108608
2021-03-16 22:08:48 +00:00
Emilio Cobos Álvarez f5a4b965f6 Bug 1698821 - Remove dead GetNumberControlFrameForTextField. r=dholbert
There's no anonymous textfield since a long time ago.

Differential Revision: https://phabricator.services.mozilla.com/D108655
2021-03-16 21:53:20 +00:00
Emilio Cobos Álvarez 3df7550e39 Bug 1698821 - Fix GetNumberControlFrameForSpinButton. r=dholbert
It broke with bug 1698043 because we removed one wrapper.

Differential Revision: https://phabricator.services.mozilla.com/D108654
2021-03-16 21:53:20 +00:00
Emilio Cobos Álvarez e65533e909 Bug 1698821 - Simplify native-appearance-disabling for number spinners. r=dholbert
The root cause of this bug is that we're now accidentally using the
native theme for the spinners because GetNumberControlFrameForSpinButton
broke with my changes.

These pseudos are not exposed to content, and there's just one user of
this pseudo-class (the print.css one).

So just disable native appearance explicitly and remove that check.

Differential Revision: https://phabricator.services.mozilla.com/D108653
2021-03-16 21:53:20 +00:00
Csoregi Natalia 4e97659d91 Backed out 2 changesets (bug 1697863) for valgrind failures. CLOSED TREE
Backed out changeset f82846b236e3 (bug 1697863)
Backed out changeset 64166dc7f85f (bug 1697863)
2021-03-17 01:15:11 +02:00
Emilio Cobos Álvarez 730d56b2df Bug 1698949 - Fix nsNativeThemeCocoa scrollbar drawing. r=mstange
Careless of me to not have tested this more thoroughly. I guess this is hidpi
only because automation has aScale = 1.0, which is why automation didn't catch
this? That's sad :(

Differential Revision: https://phabricator.services.mozilla.com/D108696
2021-03-16 21:52:47 +00:00
Botond Ballo b8e98ca57e Bug 1698680 - Add nsLayoutUtils::GetCrossDocParentFrameInProcess(). r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D108533
2021-03-16 21:52:23 +00:00
Mike Conley 86a29c0a16 Bug 1697947 - Apply Proton button stylings to the footers of more panels. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D108261
2021-03-16 21:48:37 +00:00
Julian Descottes e1ba1f3cd7 Bug 1627965 - [marionette] Skip test_click_link_install_addon in test_click.py on Windows r=marionette-reviewers,whimboo
See discussion in D108637

Differential Revision: https://phabricator.services.mozilla.com/D108651
2021-03-16 21:47:14 +00:00
Masayuki Nakano 7702dedeb1 Bug 1669342 - part 3: Rewrite `AssertIfMismatchRootAndRangeBoundaries()` r=smaug
The method unexpectedly assert when the given range is in native anonymous
subtree and the range is disconnected from the subtree.

This is caused by that `RangeUtils::ComputeRootNode()` returns parent element
of the native anonymous subtree root when the range is connected.  However,
otherwise, it returns the subtree root which is a content node.

Therefore, they are what we should check when updating a range is,
* Given range boundaries are in same subtree at least.
* Given range's computed root node should be same as given root node except
when the range is in a native anonymous subtree and disconnected from the
subtree.

This change fixes the following new permanent oranges caused by the previous
patch:
* browser/components/places/tests/browser/browser_sidebarpanels_click.js
* browser/base/content/test/keyboard/browser_toolbarKeyNav.js
* devtools/client/inspector/test/browser_inspector_breadcrumbs_visibility.js
* layout/base/tests/marionette/test_accessiblecaret_cursor_mode.py

Differential Revision: https://phabricator.services.mozilla.com/D108399
2021-03-16 21:43:40 +00:00
Masayuki Nakano eea4b0b7bf Bug 1669342 - part 2: Make mutation observer of `nsRange` check the relation between range root and start/end boundaries when it does not modify them r=smaug
With this change, at least in `CharacterDataChanged` and `ContentRemoved`
causes hitting this assertion:
```
MOZ_ASSERT(aStartBoundary.Container()->IsInclusiveDescendantOf(aRootNode));
```

The reason is, they call it with `mRoot`, but the range has already been
disconnected from `mRoot`.  The following patch fixes this.

Differential Revision: https://phabricator.services.mozilla.com/D108398
2021-03-16 21:43:40 +00:00
Masayuki Nakano 30cf8b65e3 Bug 1669342 - part 1: Split MOZ_ASSERTs in `nsRange::DoSetRange` for making it clearer which condition is hit r=smaug
For making it clear what the condition causes hitting the assertions, let's
split them first.

Differential Revision: https://phabricator.services.mozilla.com/D108397
2021-03-16 21:43:39 +00:00
Masayuki Nakano 6135954cfb Bug 1697078 - Make `Document#execCommand` and related methods never throw exceptions r=smaug
According to the source code of Chromium, we should throw exceptions from
them only when the document is not for HTML nor XHTML.  For the other reasons,
we should not throw any exceptions even if it's unknown command.

Differential Revision: https://phabricator.services.mozilla.com/D108573
2021-03-16 21:33:07 +00:00
Jamie Nicol 9413c32fff Bug 1697899 - Add fast path composite shader. r=gw
On low powered android devices it has been observed that we are GPU
bound on many pages. The composite shader, despite being relatively
simple, can account for a large proportion of these cycles due to the
large number of fragments it touches.

On Mali-T GPUs, the composite fragment shader is bound by loading the
varyings (for example, this takes 3 cycles on a Mali-T830). This patch
adds a fast path variant of the shader which removes the vColor and
vUVBounds varyings, reducing the number of cycles per fragment to 1 on
this GPU. This variant can only be used where the shader does not need
to modulate the output by a color (ie aColor is white), and when the
UV coordinates do not need to be clamped (eg because the entire
texture is being composited). Fortunately both of these conditions are
true in the common case of compositing picture cache tiles.

Differential Revision: https://phabricator.services.mozilla.com/D108686
2021-03-16 21:02:13 +00:00
Andrew Osmond 46f59ff0b0 Bug 1698953 - Allow gfx.webrender.force-disable to override Fission requiring WebRender. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D108691
2021-03-16 20:58:35 +00:00
Jeff Muizelaar 702bd6eeec Bug 1680402. Use stderr in printf_stderr instead of reopening fd 2. r=glandium
Currently, printf_stderr doesn't show up when running with ./mach run.
This is because we run with -attach-console and that redirects stderr
to a different file descriptor using freopen in UseParentConsole.

The change from just using stderr directly happened in bug 340443 and was done
to avoid some linking issues. That problem doesn't seem to apply anymore so you'd
expect we'd be able to go back to the straightforward implemention that works even
if stderr has been redirected. Unfortunately, Windows takes not buffering
stderr very seriously and fprintf will write out the results character
by character. This can cause log output lines to be intermixed which
breaks log parsing in CI. We keep using fdopen to create a new FILE*
that's buffered but instead of hard coding fd 2, we get the actual fd
that corresponds to stderr using fileno.

The mozglue implementation was cargo culted from xpcom, so we update it
as well.

Differential Revision: https://phabricator.services.mozilla.com/D98550
2021-03-16 20:45:21 +00:00
Tom Ritter 41ce60db53 Bug 1696581: Fix linter warnings
Differential Revision: https://phabricator.services.mozilla.com/D108690
2021-03-16 20:37:56 +00:00
Drew Willcoxon 76d92065bb Bug 1698917 - Simple fix for bug 1698534: Go back to properly doing exact matching for quick suggest. r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D108683
2021-03-16 20:33:22 +00:00
Mitchell Hentges c7550c57b3 Bug 1698889: Consistently alias paths in Sentry reports r=sheehan
When Sentry slurps context, it doesn't normalize os path separators for
us. So, we adapt our path aliasing to always catch both forward slashes
and backslashes.

Removed the `needle is None` guard because it because obsolete after
1695366, which removed the case where `topsrcdir` was `None`.

Differential Revision: https://phabricator.services.mozilla.com/D108667
2021-03-16 20:30:30 +00:00
Emma Malysz 36ce22cdc5 Bug 1698492, dynamically set data-l10n-id attribute for sync now buttons when panel views are showing r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D108506
2021-03-16 20:24:29 +00:00
Yury Delendik 82dc6f238e Bug 1691489 - Implement SIMD i8x16.popcnt op. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D104770
2021-03-16 20:24:22 +00:00
Noemi Erli c5bad10fbb Backed out 3 changesets (bug 1691402) for causing failures in test_session.js CLOSED TREE
Backed out changeset 1f9f47742739 (bug 1691402)
Backed out changeset 5f9c65613b0d (bug 1691402)
Backed out changeset 8c8e4a03fd2f (bug 1691402)
2021-03-17 00:02:35 +02:00
Noemi Erli b4700b1965 Backed out 2 changesets (bug 1647845) for causing assertions in nsStyleStruct.cpp CLOSED TREE
Backed out changeset 1564d93002de (bug 1647845)
Backed out changeset bc1815fb4405 (bug 1647845)
2021-03-16 23:01:50 +02:00
Noemi Erli da3ea13f5c Backed out changeset c35c310c49d3 (bug 1697947) for causing failures in browser_parsable_css.js 2021-03-16 22:58:27 +02:00
Noemi Erli 8c1125b9e6 Backed out changeset 9553db7a7428 (bug 1697159) for causing Documentation failures 2021-03-16 22:56:46 +02:00
Andrew Osmond 86da16f9a5 Bug 1696071 - Add support for DMABuf to the blocklist. r=rmader
Differential Revision: https://phabricator.services.mozilla.com/D107019
2021-03-16 20:14:51 +00:00
Emilio Cobos Alvarez 8ebccdd08d Bug 1698272 - Respect system colors in the color and background-color properties. r=morgan
The reason why this doesn't work is because these styles come from
datetimebox.css, which is really an author style.

We could special-case these elements, but the approach that the CSSWG resolved
on for the new forced-colors spec is to respect system colors specified by
authors, see:

https://drafts.csswg.org/css-color-adjust-1/#forced-colors-properties

So this moves us towards that, and fixes the issue nicely.

Differential Revision: https://phabricator.services.mozilla.com/D108321
2021-03-16 20:09:56 +00:00
Tom Ritter 8f5950e5be Bug 1696581: Add a moz.yaml file for Angle and have update-angle.py update it r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D107884
2021-03-16 20:00:14 +00:00
Henrik Skupin 61959f568b Bug 1697159 - [marionette] Simplify handling of application information. r=marionette-reviewers,jdescottes,jgraham
Simplify code and improve performance by adding
lazy getters for checks that will be constant
for the whole lifetime of the application process.

Differential Revision: https://phabricator.services.mozilla.com/D107645
2021-03-16 19:59:38 +00:00
Henrik Skupin 0ab61a23ee Bug 1691402 - [marionette] Don't try to destroy a non-existent session. r=marionette-reviewers,jdescottes,jgraham
If there is no active WebDriver session the code
related to deleting a session, and resetting other
state should not be run again.

This could actually happen when the
"Marionette:Quit" command is called, which itself
destroys the session, and the follwing socket
connection drop tries to run it again.

Differential Revision: https://phabricator.services.mozilla.com/D108169
2021-03-16 19:59:38 +00:00
Henrik Skupin 60cf87f9a3 Bug 1691402 - [marionette] Move current browsing context members to WebDriver session. r=marionette-reviewers,jdescottes,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D108168
2021-03-16 19:59:38 +00:00
Henrik Skupin 7d447a1c53 Bug 1691402 - [marionette] Add session module for WebDriver session. r=marionette-reviewers,jdescottes,jgraham
This patch creates a new module for the WebDriver session
specific implementation. It no longer requires session data
like capabilities to be directly bound to the GeckoDriver class.

Differential Revision: https://phabricator.services.mozilla.com/D107552
2021-03-16 19:59:37 +00:00
Emily McDonough 626bdb9278 Bug 1647845 Part 2 - Add page-size attribute to nsStyleStruct and property parsing r=emilio
This parsing is hidden behind the pref layout.css.page-size.enabled.

It isn't ideal that we parse this as a property, but we can't treat it as a
descriptor because of compatibility issues with other browsers. There are also
outstanding spec issues related to how descriptors like page-size are cascaded,
and whether the !important specifier is valid or not.

Differential Revision: https://phabricator.services.mozilla.com/D103958
2021-03-16 19:54:27 +00:00
Emily McDonough 6f8201b62d Bug 1647845 Part 1 - Ignore any properties which aren't valid for a style rule when generating CSS2Properties and testing properties r=emilio
To know the valid rules for each property, we need to put this information
into the Servo prop list and add an appropriate getter to Longhand/Shorthand.

Differential Revision: https://phabricator.services.mozilla.com/D105825
2021-03-16 19:54:27 +00:00
Andrew Halberstadt 8c6c55a9de Bug 1696041 - [ci] Remove 'fission-run-on-projects' from mochitest.yml, r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D108682
2021-03-16 19:35:58 +00:00
Andrew Halberstadt ddfb27cad1 Bug 1696041 - [ci] move 'run-on-projects' out of job-defaults in mochitest.yml, r=jmaher
These tasks all vary in their 'fission-run-on-projects'. So while this looks
like more complexity in isolation, it will greatly simplify the configs (and
the diff) later on in the stack.

Differential Revision: https://phabricator.services.mozilla.com/D108681
2021-03-16 19:35:58 +00:00
Aki Sasaki 533e5ba326 Bug 1698453 - pin python-dependency-update pip-tools r=releng-reviewers,bhearsum
pip-tools 6.0.0 breaks due to a missing importlib-metadata in <py38, plus it removes --index and --no-index from pip-compile. Let's pin our pip-tools version to avoid future bustage like this.

Differential Revision: https://phabricator.services.mozilla.com/D108485
2021-03-16 19:21:28 +00:00
Darrien Glasser b4a6a2be6d Bug 1622691 - [rust-mozdevice] Fix clippy warnings. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D105539
2021-03-16 19:21:20 +00:00
Mike Conley 5526055ab7 Bug 1697947 - Apply Proton button stylings to the footers of more panels. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D108261
2021-03-16 19:20:22 +00:00
Julien Cristau 19d48e9cc8 Bug 1615612 - wrap lines at 64 characters when downloading certificate chain from the cert viewer. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D107191
2021-03-16 19:17:54 +00:00
Tim Nguyen b6dabb59e8 Bug 1698415 - Remove --in-content-warning-container variable and tweak --in-content-box-info-background for proton. r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D108388
2021-03-16 18:55:41 +00:00
Lee Salzman 8d566f41b1 Bug 1698872 - Assert if native compositing toggled while SwCompositor is running. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D108660
2021-03-16 18:54:36 +00:00
Lee Salzman a6851253fd Bug 1698711 - Remove unused SwCompositor native GL mode. r=jrmuizel
We haven't actually used the SwCompositor's native GL mode since the early days of prototyping, and since then, we've veered in the direction of preferring to have the platform native compositor code living in webrender_bindings.

The native GL mode has likely bit-rotted beyond actually functioning and just adds unnecessary complexity to the code, so let's just remove it.

Differential Revision: https://phabricator.services.mozilla.com/D108557
2021-03-16 18:54:04 +00:00
Sebastian Hengst bdc3c23da5 Bug 1698829 - Set remaining picture-aspect-ratio.html test steps as failing outside Nightly. r=boris DONTBUILD
The test got added in bug 1690596 and reorganized in bug 1694476. Because
'aspect-ratio' is disabled outside Nightly (controlled by preference
layout.css.aspect-ratio.enabled), the test steps fail with Beta and Release
configurations.

'aspect-ratio' will ship once bug 1672073 has been resolved.

Differential Revision: https://phabricator.services.mozilla.com/D108643
2021-03-16 18:50:54 +00:00
Morgan Reschenberg 5564b02f1a Bug 1697546: Replace yzen with a11y email for telemetry notifications. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D107931
2021-03-16 18:31:57 +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
Luca Greco 99a2554c35 Bug 1698158 - part 4 - Add some notes about the globals available in the WebExtensions API scripts in in-tree docs. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D108644
2021-03-16 18:15:43 +00:00
Luca Greco 1d9bcc5d3d Bug 1698158 - part 3.4 - Remove unnecessary imports from sync tps testharness experimental API. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D108232
2021-03-16 18:15:42 +00:00
Luca Greco 9da421d8fc Bug 1698158 - part 3.3 - Remove unnecessary imports from talos testharness addons experimental API. r=mixedpuppy,perftest-reviewers,sparky
Depends on D108229

Differential Revision: https://phabricator.services.mozilla.com/D108230
2021-03-16 18:15:42 +00:00