Commit Graph

767492 Commits

Author SHA1 Message Date
Jon Bauman
6155249a72 Bug 1696045 - Add AVIF telemetry for unimplemented features and performance. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D123378
2021-08-24 22:34:32 +00:00
Eitan Isaacson
a972d7f962 Bug 1726845 - P2: Cache EXPANDABLE state in mozAccessible. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D123264
2021-08-24 22:22:26 +00:00
Eitan Isaacson
f840fc077c Bug 1726845 - P1: Remove special summary MOX class and update test. r=morgan
The summary class just had a moxExpanded which we already have in mozAccessible.
I think the former was added before the latter was generalized for aria-expanded usage.

Differential Revision: https://phabricator.services.mozilla.com/D123516
2021-08-24 22:22:25 +00:00
Sebastian Hengst
8136109b66 Bug 1725702 - pretty print dictionary of variables available for reftest annotations. r=gbrown
Depends on D123499

Differential Revision: https://phabricator.services.mozilla.com/D123500
2021-08-24 22:15:04 +00:00
Sebastian Hengst
b33e353ec2 Bug 1725702 - print mozinfo dictionary with environment variables during mochitest execution. r=gbrown
These variables can be used to skip tests conditionally.

Differential Revision: https://phabricator.services.mozilla.com/D123499
2021-08-24 22:15:03 +00:00
Sebastian Hengst
2abb776724 Bug 1724596 - 'ExperimentalFeatures' annotation in crash report should only list enabled ones. r=jaws
Array's `filter` method is synchronous which caused its arrow function to
always return true-ish Promises instead of a Boolean value.

No other `filter(async` can be found in the code base.

Differential Revision: https://phabricator.services.mozilla.com/D122051
2021-08-24 22:06:41 +00:00
Gerald Squelart
a2f14f5c02 Bug 1716959 - Don't use lock from profiler_capture_backtrace_into - r=canaltinova
`profiler_capture_backtrace_into` now only uses thread-safe functions: ThreadRegistration::WithOnThreadRefOf, Register::SyncPopulate, DoSyncSample.
So we don't need to lock the main profiler mutex anymore.

This means that on-thread sampling (typically used in markers) can happen at the same time the periodic sampler has locked the profiler mutex and is sampling this and other threads.

Differential Revision: https://phabricator.services.mozilla.com/D122089
2021-08-24 21:58:44 +00:00
Gerald Squelart
a6575f5d1c Bug 1716959 - Remove compulsory proof-of-lock in DoNativeBacktrace and DoSyncSample - r=canaltinova
Since these functions don't need to access profiler functions requiring a lock, they themselves don't need that lock anymore.

Differential Revision: https://phabricator.services.mozilla.com/D122088
2021-08-24 21:58:44 +00:00
Gerald Squelart
2ab9046c97 Bug 1716959 - On-thread sampling uses a per-thread JS frame buffer that's only allocated when there's also a JSContext - r=canaltinova
MergeStack requires a fairly large buffer to store JS frames, too big to be allocated on the stack without risking a stack overflow.
Until now, there was only one buffer, stored in CorePS, and only accessible while holding the Profiler gPSMutex.

Now each thread that has a JSContext, also has its own JS frame buffer, which is accessible on the thread without needing any lock.
The Profiler's Sampler still uses the CorePS buffer for its periodic sampling, but it won't prevent parallel on-thread sampling anymore.

The appropriate buffer is passed to ExtractJsFrames and then MergeStacks.
MergeStacks accepts a null pointer, which happens on threads where there is no JSContext, and therefore no JS to sample.

Differential Revision: https://phabricator.services.mozilla.com/D122087
2021-08-24 21:58:43 +00:00
Gerald Squelart
f82b0d2ff3 Bug 1716959 - Pass features to DoSharedSamples to remove lock-dependent feature requests - r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D122086
2021-08-24 21:58:43 +00:00
Gerald Squelart
b654d8d392 Bug 1716959 - Lock is not needed anymore in DoNativeBacktrace - r=canaltinova
All implementations of DoNativeBacktrace are now thread-safe, so it's not necessary to make their use dependent on the Profiler's gPSMutex being locked.

Differential Revision: https://phabricator.services.mozilla.com/D122085
2021-08-24 21:58:42 +00:00
Gerald Squelart
9964959d01 Bug 1716959 - Make CorePS::mLul atomic, to avoid using the profiler lock to access it - r=canaltinova
Also added extra nullptr checks to avoid surprises if calling code ever tries to use lul before it's first set.

Differential Revision: https://phabricator.services.mozilla.com/D122084
2021-08-24 21:58:42 +00:00
Gerald Squelart
0e09b66701 Bug 1716959 - Make Registers::SyncPopulate() re-entrant on Linux, for safe use in parallel stack unwinding calls - r=canaltinova
`Registers::SyncPopulate()` now uses a ucontext_t that's stored with the `Registers` object, so it can safely be called from parallel threads.

Differential Revision: https://phabricator.services.mozilla.com/D122083
2021-08-24 21:58:42 +00:00
Hiroyuki Ikezoe
ddfdfeba69 Bug 1723727 - Specify a meta viewport tag to each files in /css/css-shapes/shape-outside/values/ to avoid auto-scaling on mobile. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D123402
2021-08-24 21:44:56 +00:00
James Teh
6e56411410 Bug 1727227: Add a static assert to ensure that the size of the AccAttributes value variant isn't unintentionally changed. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D123415
2021-08-24 21:44:43 +00:00
Gerald Squelart
7f3c9eb118 Bug 1727036 - SpliceableJSONWriter::Time... functions output milliseconds with nanosecond precision - r=mstange
Instead of blindly outputting floating-point numbers of milliseconds, which leads to things like 363.03499999999997, times in ms are now converted to integer number of nanoseconds, stringified, and then manually adjusted to milliseconds again, so we get smaller and friendlier outputs like 363.035.

Eventually, bug 1726675 may change all times to integer number of nanoseconds anyway, but this patch is already helpful in reducing the output, and paves the way by separating the time-output functions from other number outputs.

Differential Revision: https://phabricator.services.mozilla.com/D123329
2021-08-24 21:33:05 +00:00
Mike Hommey
94b191e702 Bug 1726544 - Only remove --gc-sections when LIBFUZZER_FLAGS is actually used. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D123407
2021-08-24 21:17:15 +00:00
Mike Hommey
f76d71a198 Bug 1725881 - Mark --enable-{alsa,jack} as incompatible with bootstrapped sysroot. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D123405
2021-08-24 21:11:30 +00:00
Markus Stange
510742ae47 Bug 1726471 - Use PathUtils.join in the symbolication worker. r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D123021
2021-08-24 20:32:50 +00:00
Alex Lopez
4ae24b1f1b Bug 1696251: Refactor docstrings in mach commands. r=mhentges,webdriver-reviewers,geckoview-reviewers,agi
The purpose of this is to remove as many docstrings from CommandProvider
classes to make the step of moving commands out of classes simpler.
Where possible, the docstring has been moved to or merged with the function.

Differential Revision: https://phabricator.services.mozilla.com/D123288
2021-08-24 20:16:05 +00:00
Joel Maher
6f136d59ce Bug 1727407 - do not allow android power tests to run on s7 phones. r=aerickson
Differential Revision: https://phabricator.services.mozilla.com/D123531
2021-08-24 20:07:26 +00:00
Niklas Baumgardner
99f9824eef Bug 1635548 - Migrated browser-context.inc to Fluent. r=emalysz,flod
Differential Revision: https://phabricator.services.mozilla.com/D123233
2021-08-24 19:48:32 +00:00
Gijs Kruitbosch
aceb2debf8 Bug 1726501 - don't use pdf.js for file: links when the user has configured an external app as the default handler for PDFs, r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D123270
2021-08-24 19:46:10 +00:00
Jeff Muizelaar
8c1b1dcb3d Bug 1727398 - Remove ClientLayerManager. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D123525
2021-08-24 19:44:27 +00:00
Andrew Halberstadt
aac357d350 Bug 1726573 - [taskgraph] Remove remaining uses of 'six', r=taskgraph-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D123235
2021-08-24 19:35:47 +00:00
Andrew Halberstadt
d024a31639 Bug 1726573 - Run 'pyupgrade --py36-plus' on taskcluster/taskgraph directory, r=taskgraph-reviewers,bhearsum
This patch was generated via:

  $ pyupgrade --py36-plus $(find taskcluster/taskgraph -name "*.py" -type f)
  $ autoflake --remove-all-unused-imports -i $(find taskcluster/taskgraph -name "*.py" -type f)

The same set of commands are being applied to standalone taskgraph as well so
they remain in sync.

Differential Revision: https://phabricator.services.mozilla.com/D123234
2021-08-24 19:35:46 +00:00
Bryce Seager van Dyk
22375f4be4 Bug 1725704 - Add test to cover CDM protection query. r=alwu
This adds coverage via the clearkey CDM to ensure that the output protection
query is working as intended. These tests ensure that the output protection
machinery recognizes when browsers windows are being captured, and this is
reflected by the clear key CDM changing key status on a test key id.

Two cases are covered:
1. Media playback is started, then during media playback a screen capture is
started and stopped. The test checks that we set restricted key status while
capture is active, and stop doing so once the capture stops.
2. Start a screen capture then start media playback, then stop capture while
playback is still active. This is similar to the first case, but the media
should start in a restricted state, as capture is ongoing when playback starts.

Differential Revision: https://phabricator.services.mozilla.com/D122784
2021-08-24 19:32:01 +00:00
Jeff Muizelaar
2937dbb0e1 Bug 1727395 - Remove unused ClientLayerManager.h includes. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D123518
2021-08-24 19:27:26 +00:00
Andrew Halberstadt
2290c61201 Bug 1726603 - [taskgraph] Improve fission detection in mozinfo guess, r=jmaher
We've added a bunch of new fission-based variants (e.g 'fission-webgl-ipc',
'webrender-sw-fission', etc). Update the mozinfo guess logic to better detect
this.

This also changes the default for 'webrender' to True as it's not possible to
disable webrender anymore. We should clean up manifests and remove this value
there entirely, but another bug for another time.

Differential Revision: https://phabricator.services.mozilla.com/D123257
2021-08-24 19:22:55 +00:00
Michelle Goossens
8d70b6f5d9 Bug 1723315 - Disable browser_test_scrollbar_in_extension_popup_window.js for intermittent failures on Windows 10 x64 2004 r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D123508
2021-08-24 18:41:02 +00:00
Michelle Goossens
85396529de Bug 1727097 - Disable browser_contentBlockingTelemetry.js for intermittent failures on Windows 10 x64 2004 r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D123507
2021-08-24 18:41:02 +00:00
Michelle Goossens
7f8d2d273d Bug 1727171 - Disable browser_fxa_config.js for intermittent failures on Windows 10 x64 2004 r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D123506
2021-08-24 18:41:02 +00:00
Michelle Goossens
13a9365478 Bug 1727170 - Disable browser_contextmenu.js for intermittent failures on Windows 10 2004 r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D123505
2021-08-24 18:41:01 +00:00
Michelle Goossens
e671100f93 Bug 1727186 - Migrate crashtest-qr from virtual with GPU to regular virtual r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D123509
2021-08-24 18:41:01 +00:00
Michelle Goossens
c96cc571a7 Bug 1727275 - Migrate Windows 10 jsreftest from mdc1 to Azure r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D123429
2021-08-24 18:41:01 +00:00
Sandor Molnar
bb9a848857 Backed out changeset d0f659f7ea9b (bug 1696045) for causing gtest failures in image/decoders/nsAVIFDecoder. CLOSED TREE 2021-08-24 21:27:20 +03:00
Jeff Muizelaar
e8908dd3bd Bug 1727360 - Remove WindowRenderer::AsShadowForwarder() r=aosmond
We shouldn't ever be hitting this path.

Differential Revision: https://phabricator.services.mozilla.com/D123495
2021-08-24 17:58:46 +00:00
Bernard Igiri
331ae34b67 Bug 1708866 - Adjust padding and minimum size in Download Panel r=desktop-theme-reviewers,dao,jaws
Changed the margin and padding to match the figma mock up. Updated broken test.

Differential Revision: https://phabricator.services.mozilla.com/D123009
2021-08-24 17:53:58 +00:00
Kajal Sah
337d8e8e1c Bug 1725432 - Disables toolbar button when new screenshots UI is showing. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D122965
2021-08-24 17:49:28 +00:00
Rob Wu
9cb377d63a Bug 1727272 - Improve performance of GeckoViewWebExtension.ensureBuiltIn r=agi,rpl
Differential Revision: https://phabricator.services.mozilla.com/D123431
2021-08-24 17:40:29 +00:00
Jon Bauman
fc5f21743a Bug 1696045 - Add AVIF telemetry for unimplemented features and performance. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D123378
2021-08-24 17:20:02 +00:00
Ting-Yu Lin
4613910b3e Bug 1726620 Part 2 - Add structs representing strong-type app units coordinates. r=botond
The motivation of introducing the structs is to use 64-bit integer
arithmetic to prevent 32-bit integer overflow. One application is to fix
the integer overflow when resolving flex item's main size in Bug 1469649.

The structs can be a start point to add more useful methods to explore
saturation arithmetic.

Differential Revision: https://phabricator.services.mozilla.com/D123266
2021-08-24 17:19:21 +00:00
Ting-Yu Lin
8035e9dde5 Bug 1726620 Part 1 - Generalize IntCoordTyped template to take a parameter as the underlying type. r=botond
This shouldn't change the behavior, but it allows us to define 64-bit
`IntCoordTyped` in Part 2.

Differential Revision: https://phabricator.services.mozilla.com/D123265
2021-08-24 17:19:21 +00:00
Sandor Molnar
d6e6c4a9a2 Bug 1633189 - disable toolkit/components/extensions/test/mochitest/test_ext_webrequest_basic.html for frequent linux-asan-opt failures. r=intermittent-reviewers,jmaher,robwu DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D123339
2021-08-24 17:04:26 +00:00
Gijs Kruitbosch
c56ae6e965 Bug 1723742 - make privacy pref pane highlights more high-contrast friendly, r=morgan,preferences-reviewers,desktop-theme-reviewers,dao,jaws
Differential Revision: https://phabricator.services.mozilla.com/D123161
2021-08-24 16:29:27 +00:00
Paul Zuehlcke
8fbed29742 Bug 1727316 - ClearDataService tests to ensure that we do not fallback to clearAll for non user requests. r=johannh,tgiles
Differential Revision: https://phabricator.services.mozilla.com/D122882
2021-08-24 16:18:23 +00:00
Paul Zuehlcke
c58de4bf8d Bug 1727316 - Avoid over-clearing data in ClearDataService if we do not have user input. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D122881
2021-08-24 16:18:23 +00:00
Jeff Muizelaar
ebfed4b7a4 Bug 1727351 - Remove mVsyncEnabledLock. r=aosmond
Just make mVsyncEnabled an Atomic<bool>

Differential Revision: https://phabricator.services.mozilla.com/D123488
2021-08-24 16:02:46 +00:00
Alexandru Michis
c8ea016b87 Backed out 13 changesets (bug 1724031) for causing dt failures in js/src/gc/Cell.h
CLOSED TREE

Backed out changeset 3a79fb5a7a07 (bug 1724031)
Backed out changeset 7991bfb259ae (bug 1724031)
Backed out changeset 5673e5c4f996 (bug 1724031)
Backed out changeset 75f1f67429e1 (bug 1724031)
Backed out changeset 3327c1d290b7 (bug 1724031)
Backed out changeset ae06621c5728 (bug 1724031)
Backed out changeset bb4c2384f676 (bug 1724031)
Backed out changeset 1a4a5c11b9f1 (bug 1724031)
Backed out changeset 58dd7d7a733e (bug 1724031)
Backed out changeset e4d4251e86a3 (bug 1724031)
Backed out changeset a7f3f8eb7ac0 (bug 1724031)
Backed out changeset d0fe0b0b2b84 (bug 1724031)
Backed out changeset 0cca6901539d (bug 1724031)
2021-08-24 19:28:49 +03:00
Molly Howell
31b4b6a762 Bug 1705684 - Correct download details panel spacing. r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D123401
2021-08-24 15:58:06 +00:00