Commit Graph

772012 Commits

Author SHA1 Message Date
Molly Howell
7d084ec40a Bug 1724319 - Stop this test from depending on the download modal for starting a download. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D127173
2021-10-04 19:28:49 +00:00
Cristian Tuns
0f64f8a46a Backed out changeset 1ff04e10cd23 (bug 1733289) for causing Spidermonkey bustages. CLOSED TREE 2021-10-04 15:32:51 -04:00
Mitchell Hentges
cb6a383b28 Bug 1721609: Remove delay when exception is being reported r=ahal
When Mach captures an exception, it checks if any Python files were
modified, then sends the error to Sentry if not. This filters out local
development errors from our Sentry dashboard.

However, asking VCS if "any Python files are changed" can be a long
operation (in the magnitude of ~1s-10s).

This patch moves that processing to a separate thread that starts during
Mach initialization, so that the answer will be ready by the time an
exception is raised.

I would've preferred if there was a better abstraction for handling this,
but:
* A ThreadExecutor seemed like overkill (until it becomes Mach-wide)
* I don't know of any standard library tools that provide a
  "single-thread-future-with-result" sort of mechanism.

Differential Revision: https://phabricator.services.mozilla.com/D127157
2021-10-04 19:03:12 +00:00
Emilio Cobos Alvarez
90e406a7d1 Bug 1733569 - Improve windows OS dark mode support. r=dholbert,dao
This exposes the system colors that were unexposed in bug 1733354, but
builds up on top of bug 1733569 to get buttons and richlistboxes working
properly.

This causes windows dialogs to be dark in dark mode, etc.

To be landed after the freeze, since it likely has some UI fallout that
I missed.

Differential Revision: https://phabricator.services.mozilla.com/D127260
2021-10-04 18:57:55 +00:00
Lars T Hansen
6ab51ba3e1 Bug 1733289 - The JS API name is 'anyfunc', not 'funcref'. r=rhunt
Introduce ToRefType which takes a string value and returns a reference type
or throws an error.  Make ToRefType recognize both anyfunc and funcref as
names for the general function, since we've already shipped code that
recognizes funcref.

Make ToValType use ToRefType instead of doing its own parsing.

Make WasmTableObject::construct use ToRefType instead of doing its
own parsing.  This is an attempt to have the system do the same
thing everywhere instead of having ad-hoc solutions.

Introduce a ToJSAPIString that will produce "anyfunc" for funcref,
and use that where it's appropriate.

Make the test case converter generate anyfunc instead of funcref.

Change all test cases that use funcref to use anyfunc, in the JS API.

Differential Revision: https://phabricator.services.mozilla.com/D127248
2021-10-04 18:53:04 +00:00
Joel Maher
c08e553f6c Bug 1733997 - remove older OSX failure jobs. r=releng-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D127472
2021-10-04 18:48:18 +00:00
Joel Maher
52ab94cf4d Bug 1733694 - migrate xperf to win10 v2004. r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D127327
2021-10-04 18:47:54 +00:00
Emilio Cobos Álvarez
046514dd62 Bug 1733413 - Force light color-scheme for non-native-theme docs for now. r=mstange
In the future we need to remove this patch, implement dark form
controls, and probably make those tests pass some other way (like
forcing the chrome color-scheme to match content for those tests or
something). Otherwise they are really expected to fail on a Firefox dark
theme.

But this is a somewhat-easy fix for now.

Differential Revision: https://phabricator.services.mozilla.com/D127473
2021-10-04 18:39:37 +00:00
Butkovits Atila
80c02069eb Backed out 4 changesets (bug 1730020) for causing build bustages. CLOSED TREE
Backed out changeset 580203e4b76a (bug 1730020)
Backed out changeset b57ce3e0f39f (bug 1730020)
Backed out changeset 085fb78aac06 (bug 1730020)
Backed out changeset 8799f103c043 (bug 1730020)
2021-10-04 21:33:41 +03:00
Bryce Seager van Dyk
5797605523 Bug 1733670 - Allow 'addons.productaddons' log to have level set by pref. r=extension-reviewers,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D127309
2021-10-04 18:02:24 +00:00
Jonathan Kew
dec18750bc Bug 1398211 - Don't force NBSP to be rendered using the normal space glyph; only fall back in shaping if NBSP is not supported by the font. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D127437
2021-10-04 17:56:59 +00:00
Tooru Fujisawa
89c5c016e3 Bug 1732953 - Do not optimize out the Promise.prototype.{then,catch} return value if user-interaction flag is set. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D126926
2021-10-04 17:54:28 +00:00
alwu
75d908a0d2 Bug 1730020 - part4 : remove unused variable 'videoDecodeStartTime'. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D126536
2021-10-04 17:34:51 +00:00
alwu
05c88c86b4 Bug 1730020 - part3 : add gtest. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D126423
2021-10-04 17:34:51 +00:00
alwu
5acf83da7a Bug 1730020 - part2 : add profiler markers to show additional information. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D126148
2021-10-04 17:34:51 +00:00
alwu
16acb5147b Bug 1730020 - part1 : implement a new class to record the time which each stage of media pinepline spends on. r=bryce,padenot
Differential Revision: https://phabricator.services.mozilla.com/D125140
2021-10-04 17:34:50 +00:00
Julien Cristau
556976383c Bug 1726764 - let release promotion work without partials for staging releases. r=releng-reviewers,jmaher,bhearsum
"This is nightly so we don't know what partials we need" is not the same
as "we're making a release and we know we don't want partials".  In one
case (when called from get_decision_parameters) partial_updates is None,
in the other (called from release_promotion_action) it's an empty dict.
The latter case still enforces non-empty partial_updates for production,
but for staging it's not really necessary and falling back to nightly
behaviour in populate_release_history is just wrong.

Differential Revision: https://phabricator.services.mozilla.com/D127228
2021-10-04 16:52:06 +00:00
Eitan Isaacson
41ca3eadd8 Bug 1733223 - Fire READONLY state change when input gets readonly attribute. r=morgan
This patch also adds tests for other READONLY/EDITABLE state changes
that already work.

Differential Revision: https://phabricator.services.mozilla.com/D127165
2021-10-04 16:47:34 +00:00
Harry Twyford
e34d2cd2d1 Bug 1733696 - Fix black-on-black text in Elemental Balanced. r=amy
Differential Revision: https://phabricator.services.mozilla.com/D127325
2021-10-04 16:45:19 +00:00
Eitan Isaacson
130f52e318 Bug 1611062 - Remove unused eAutoComplete. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D127148
2021-10-04 16:30:45 +00:00
Gijs Kruitbosch
6c99822b17 Bug 1726524 - don't show narrate options in reader mode when privacy.resistFingerprinting is enabled, r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D127432
2021-10-04 16:18:39 +00:00
Gijs Kruitbosch
698ebac25d Bug 1316794 - fix reader mode narrate pausing for new lines with some speech back-ends, r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D127434
2021-10-04 16:18:31 +00:00
Dão Gottwald
2dee5cfeee Bug 1733660 - Keep finbar textbox focus ring within the textbox bounds so it doesn't overflow the findbar container. r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D127443
2021-10-04 16:11:07 +00:00
Eitan Isaacson
9fed8c38f9 Bug 1733228 - Fire DEFAULT state change when control loses or gains default state. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D127177
2021-10-04 15:56:38 +00:00
Andi-Bogdan Postelnicu
e04e123546 Bug 1729871 - Add all components from 'js' to the hybrid build system. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D125047
2021-10-04 15:47:17 +00:00
Emilio Cobos Álvarez
3f013cc607 Bug 1733952 - When computing inline intrinsic sizes, resolve with a 0 percentage basis rather than just resolving to zero if there's a percentage. r=jfkthame
This matches other browsers, the spec
(https://drafts.csswg.org/css-sizing/#cyclic-percentage-contribution):

  For the min size properties, as well as for margins and paddings (and
  gutters), a cyclic percentage is resolved against zero for determining
  intrinsic size contributions.

And also what we do in SizeComputationInput::Compute{Margin,Padding}:

  https://searchfox.org/mozilla-central/rev/75e9d727ce5ba2c14653cf8fb0f1367f085271b7/layout/generic/ReflowInput.cpp#2811-2832
  https://searchfox.org/mozilla-central/rev/75e9d727ce5ba2c14653cf8fb0f1367f085271b7/layout/generic/ReflowInput.cpp#2861-2868

This fixes a compat issue with the menu alignment in lume.io:

  https://github.com/webcompat/web-bugs/issues/88484#issuecomment-933226651

It's also simpler.

Differential Revision: https://phabricator.services.mozilla.com/D127441
2021-10-04 15:20:30 +00:00
Emilio Cobos Álvarez
a002eeaccb Bug 1733945 - Simplify reftest annotations to assume skiaContent == true. r=jrmuizel
Generated with:

  2180efaf7c

Differential Revision: https://phabricator.services.mozilla.com/D127428
2021-10-04 15:19:10 +00:00
Harry Twyford
c07417fd64 Bug 1732322 - Part 2 - Use color-scheme property in sidebar to use the correct system widgets. r=dao
This patch will also resolve bug 1732291, since we will use the correct light or dark value of -moz-mac-source-list-selection.

Depends on D127300

Differential Revision: https://phabricator.services.mozilla.com/D127301
2021-10-04 15:14:39 +00:00
Dão Gottwald
f7bcee9115 Bug 1733345 - Move theme modules into browser/themes/. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D127090
2021-10-04 15:05:54 +00:00
Peter Van der Beken
0cb68caed4 Bug 1729662 - UNED exam page flickers / reloads infinitely. r=smaug
When we navigate in history to the same entry that we're current at then we
actually do a reload. The problem is in the way we detect whether to do a reload
in the parent process.

If a page does a back and a forward one after the other in a script, then the
parent will calculate the index for the back and tell the child to load the
entry at that index. While the child is processing the load of that entry, the
BC in the parent process still has the same entry as its active entry (until the
child commits the load of the entry over IPC). The parent then processes the
forward, calculates the index for the forward and finds the entry at that index.
This is the same entry that we were at before doing anything, and so the same
entry as the active entry in the BC in the parent process. We used to compare
the entry that we're going to load with the active entry in the BC to determine
whether we're doing a reload, and so in this situation we would assume the
forward navigation was actually doing a reload. The child would reload the page,
and we'd run the script again and we'd end up in a reload loop.

Comparing the offset with 0 to determine whether we're doing a reload fixes this
issue.

Differential Revision: https://phabricator.services.mozilla.com/D126585
2021-10-04 15:01:30 +00:00
Emilio Cobos Álvarez
939934c85c Bug 1733923 - Re-enable background reftests, and simplify annotations to assume WR-on. r=gfx-reviewers,jrmuizel
Probably https://hg.mozilla.org/mozilla-central/rev/c93553460bfd didn't
intend to disable all the other background reftests.

Possibly needs some tweaks in the fuzz values, we'll see.

Differential Revision: https://phabricator.services.mozilla.com/D127417
2021-10-04 14:41:12 +00:00
Rob Wu
08d84d0c11 Bug 1733322 - Fix test expectations in browser_ext_tabs_cookieStoreId.js r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D127065
2021-10-04 14:34:02 +00:00
Narcis Beleuzu
dd5cc477ca Backed out changeset 4c4e2ff81b8c (bug 1733839) for bc failures on browser_remote_l10n.js . CLOSED TREE 2021-10-04 17:52:14 +03:00
Narcis Beleuzu
3437927335 Backed out changeset 656210ea1124 (bug 1729918) for Bp-hybrid bustages on AvailableMemoryWatcher.cpp . CLOSED TREE 2021-10-04 17:46:18 +03:00
Ben Hearsum
e9d269ace2 No bug: Disable periodic updates on esr78. r=releng-reviewers,jcristau DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D127433
2021-10-04 14:28:33 +00:00
Itiel
a7b659d5fb Bug 1733478 - Various improvements for HCM r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D127168
2021-10-04 14:16:38 +00:00
Stephen A Pohl
8acb5f0835 Bug 1733864: Ensure that build succeeds with ac_add_options --disable-updater in mozconfig after bug 1728167 landed. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D127431
2021-10-04 13:58:34 +00:00
Narcis Beleuzu
56eb1ab9a3 Backed out changeset 1364234d0a37 (bug 1729871) for build bustages on check_spidermonkey_style.py . CLOSED TREE 2021-10-04 17:03:58 +03:00
Andrei Oprea
12f19e0443 Bug 1733839 - Update RemoteL10n download path for Remote Settings attachments r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D127367
2021-10-04 13:46:29 +00:00
Andi-Bogdan Postelnicu
082dc1a4ea Bug 1729871 - Add all components from 'js' to the hybrid build system. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D125047
2021-10-04 13:45:13 +00:00
Gijs Kruitbosch
dd394d57a2 Bug 1733558 - stop duplicating append redirect history entry logic everywhere, r=ckerschb,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D127251
2021-10-04 13:24:15 +00:00
Jamie Nicol
e13a2d0814 Bug 1733919 - Block OES_EGL_image_external_essl3 on Mesa versions prior to 20.0 r=gfx-reviewers,jrmuizel
Webrender encounters a shader compilation error when rendering video
in firefox for android on intel based chromebooks. The error is due to
a missing definition of textureSize(samplerExternalOES), which should
be defined when using the OES_EGL_image_external_essl3
extension. However, these devices are running Mesa drivers, and due to
a Mesa bug affecting versions 19 and earlier this was not defined.

We already have a fallback path for devices which do not support
OES_EGL_image_external_essl3: we use the ESSL 1.0
OES_EGL_image_external extension instead. This patch detects when we
are running on Mesa 19 or earlier, and forces us to use the fallback
path.

Differential Revision: https://phabricator.services.mozilla.com/D127418
2021-10-04 13:22:07 +00:00
Toshihito Kikuchi
b214f47578 Bug 1729918 - Annotate the user interaction state. r=haik
This patch adds a crash annotation named *LastInteractionDuration*, that indicates
the length of the user interaction duration if the crash happen when the user is
inactive.

Differential Revision: https://phabricator.services.mozilla.com/D125718
2021-10-04 13:21:23 +00:00
Emilio Cobos Álvarez
60217a730f Bug 1733921 - Simplify reftest annotations to assume WebRender is on. r=gfx-reviewers,jrmuizel
I wrote a simple manifest parser + simplifier over the weekend to do it,
which is here:

  https://github.com/emilio/reftest-manifest/

This patch is auto-generated with:

  2c1abf3a3a

With the reftest-sanity simplifications reverted (since they
intentionally test always-true/false conditions).

Depends on D127415

Differential Revision: https://phabricator.services.mozilla.com/D127416
2021-10-04 13:14:37 +00:00
Emilio Cobos Álvarez
eda6a0e94b Bug 1733921 - Explicitly deal with operator precedence in some reftest entries. r=gfx-reviewers,jrmuizel
I wrote a tool to simplify reftest annotations, and it tripped over this
because I didn't teach it operator precedence. However I think it's
better to be explicit, so just fix the two instances of it.

Differential Revision: https://phabricator.services.mozilla.com/D127415
2021-10-04 13:14:36 +00:00
ffxbld
37e818c16c No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D127414
2021-10-04 13:08:14 +00:00
Mirko Brodesser
c61c10a2ce Bug 1731994: part 8) Rename nsIContentPermissionRequest's isHandlingUserInput to hasValidTransientUserGestureActivation. r=edgar
It's more accurate.

Differential Revision: https://phabricator.services.mozilla.com/D126916
2021-10-04 12:16:00 +00:00
stransky
bf7116a05c Bug 1732682 [Wayland] Get screen sizes from workarea on KDE/Sway r=rmader
- Use gdk_screen_get_monitor_workarea() on KDE/Sway to get screen sizes as it's reported correctly there.
- Remove unused code.

Differential Revision: https://phabricator.services.mozilla.com/D127261
2021-10-04 12:13:38 +00:00
Marian-Vasile Laza
44f80d4fa7 Backed out changeset d2fed448c0fa (bug 1729871) for causing build bustages on check_spidermonkey_style.py. CLOSED TREE 2021-10-04 14:55:25 +03:00
Nicolas Chevobbe
f5be830a61 Bug 1733643 - [devtools] Remove Promise.jsm usage in devtools/shared/security/socket.js. r=ochameau.
We take this opportunity to refactor the `_authenticate` method.
Since it's already an async function, we don't have to explicitely return
Promise objects.

Differential Revision: https://phabricator.services.mozilla.com/D127283
2021-10-04 11:39:22 +00:00