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

731075 Коммитов

Автор SHA1 Сообщение Дата
Andreas Pehrson 8b6f27b098 Bug 1582294 - Implement MediaStreamTrackSource::HasAlpha for HTMLCanvasElement sources. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D92900
2020-10-16 19:20:20 +00:00
Andreas Pehrson d1aeaca86a Bug 1582294 - Implement MediaStreamTrackSource::HasAlpha for MediaDecoder sources. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D92899
2020-10-19 15:35:29 +00:00
Andreas Pehrson d5227f851c Bug 1582294 - Set up HTMLMediaElement to convey video track alpha channel when playing a MediaStream. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D92898
2020-10-19 15:35:13 +00:00
Andrew Halberstadt f43cef5517 Bug 1668645 - [xpcshell] Don't fail CI when no specified test paths contain tests, r=jmaher
If *all* test paths don't resolve to any tests and we're running in CI, exit without
causing the task to fail. This situation can happen due to moz.build traversal that
causes manifests to not exist under certain configurations.

Ideally I'd love if we could prevent those cases from happening in the first place (i.e
generate the 'all-tests.pkl' file via a file-system traversal and then rely on skip-if's
to not run things), but until then this fixes a fairly frequent intermittent.

Differential Revision: https://phabricator.services.mozilla.com/D93684
2020-10-16 16:37:45 +00:00
Markus Stange a3df98b877 Bug 1671660 - Use CFNumber for the axis keys in the font variation dictionary. r=jrmuizel
It seems that, starting with Big Sur, CTFontDescriptorCreateCopyWithAttributes
(and similar functions) no longer accepts axis names as the attribute dictionary
keys. Instead, the dictionary keys need to be CFNumbers of the axis tag.

Differential Revision: https://phabricator.services.mozilla.com/D93872
2020-10-17 02:06:18 +00:00
Dorel Luca c2f3625a7e Backed out changeset 431f3b75086b (bug 1671660) for Build bustage. CLOSED TREE 2020-10-17 04:47:32 +03:00
Markus Stange 49bebf0ffb Bug 1671660 - Use CFNumber for the axis keys in the font variation dictionary. r=jrmuizel
It seems that, starting with Big Sur, CTFontDescriptorCreateCopyWithAttributes
(and similar functions) no longer accepts axis names as the attribute dictionary
keys. Instead, the dictionary keys need to be CFNumbers of the axis tag.

Differential Revision: https://phabricator.services.mozilla.com/D93872
2020-10-17 01:22:40 +00:00
Andreas Pehrson 420e2b99a6 Bug 1582294 - Add reftest for media element capture with an alpha channel. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D93750
2020-10-16 14:07:27 +00:00
Andreas Pehrson 88943b46a7 Bug 1582294 - Change webm-alpha reftest to grey background. r=bryce
One could imagine an alpha failure mode where alpha 0 blends with black (also 0,
in rgb). If that happened the webm-alpha reftest becomes a false positive.

Feeding a video track with alpha frames into a peer connection results in black
on the remote side.

Grey should handle this case. The other channels in the test video show four
quadrants of different colors, so a failure mode where alpha is ignored would
render those quadrants instead, keeping testing of that mode unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D93749
2020-10-16 14:07:19 +00:00
Emma Malysz eed3ecc2aa Bug 1670008, Once margins are reevaluated, make sure it's possible to switch to "none" r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D93136
2020-10-19 15:37:15 +00:00
Emma Malysz 0b4294a82f Bug 1669696: update custom margins if both values are valid r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D93118
2020-10-19 15:36:42 +00:00
Connor Sheehan 676ffafaec Bug 1670031: update fallback fingerprint in `run-task` r=zeid
Differential Revision: https://phabricator.services.mozilla.com/D94018
2020-10-19 15:37:23 +00:00
Byron Campen [:bwc] 7c4942b547 Bug 1626278: Shutdown MediaTransportHandlerSTS on profile-change-net-teardown. Also add some logging. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D93655
2020-10-19 15:13:55 +00:00
Cameron McCormack d7eee82ba1 Bug 1671401 - Use separate Scrollbar and ThemedScrollbar ColorIDs. r=spohl
Otherwise on Windows, we have a ColorID::Scrollbar but not any of the other scrollbar part
colors, and the Windows-provided value for Scrollbar doesn't work well
with the default values for the other scrollbar parts that come from the
non-native theme.

Differential Revision: https://phabricator.services.mozilla.com/D93728
2020-10-16 12:49:47 +00:00
Markus Stange 7c5c0899bf Bug 1670023 - Emulate native scrollbar colors and sizes with custom drawing. r=haik
This removes the CoreUI draw calls for scrollbars.

We already have code to manually draw scrollbars, which is used to support the
scrollbar-color CSS property. But this code was only used for non-overlay
scrollbars in the past, because scrollbar-color only affects non-overlay scrollbars.
This patch adjusts that custom drawing code to work for overlay scrollbars as well.
It computes the correct sizes, positions, and colors, to match native scrollbars.

The scrollbar track drawing code is changed from "background fill with strokes on
top" to "multiple adjacent non-overlapping filled rectangle segments" so that it
works better with translucent track colors.

Differential Revision: https://phabricator.services.mozilla.com/D93715
2020-10-16 23:11:50 +00:00
Molly Howell d1a5ae0ea5 Bug 1671715 - Don't try to reboot if cleaning up UpdateLogs fails. r=agashlin
My patch for bug 1665195 included a REBOOTOK flag because I wanted to make
sure the UpdateLogs directory would get deleted even if doing so failed at the
moment. What I didn't realize is that the RmDir instruction will set the reboot
flag if removing the directory fails for any reason whatsoever, even if it's
just because the directory wasn't empty, in which case rebooting wouldn't help.
For some reason I thought there was a check for that condition, but having now
had a look in the NSIS source, there is not.

There's no easy way to check for ourselves whether the directory is empty or
not, so to avoid a spurious reboot prompt from either the installer or the
uninstaller, this patch just gives up on the REBOOTOK flag.

Differential Revision: https://phabricator.services.mozilla.com/D93860
2020-10-16 22:50:11 +00:00
Byron Campen [:bwc] c3182f0329 Bug 1626278: Remove transports from main, just like we do under normal circumstances. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D93262
2020-10-15 20:31:13 +00:00
Byron Campen [:bwc] f6dd76e473 Bug 1626278: Ensure that pcid is unique. r=mjf
This fixes a failure in browser_WebrtcGlobalInformation.js on windows opt.

Differential Revision: https://phabricator.services.mozilla.com/D93261
2020-10-15 20:31:10 +00:00
Byron Campen [:bwc] e6969a8105 Bug 1626278: Move sigslot stuff to STS, and ensure we disconnect before releasing our ref to the MediaTransportHandler. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D90626
2020-10-15 20:27:35 +00:00
Byron Campen [:bwc] caa58b2223 Bug 1626278: Stash for ICE logs, and move log filtering into a single place. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D89677
2020-10-15 20:27:53 +00:00
Byron Campen [:bwc] 789c175c1a Bug 1626278: Filter stats for closed PeerConnections the same way we do for live ones. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D88498
2020-10-15 20:18:10 +00:00
Byron Campen [:bwc] 02a62e624e Bug 1626278: Add a stats stash to WebrtcGlobalInformation, to avoid stats from being lost when a content process goes away. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D88497
2020-10-15 20:15:48 +00:00
Byron Campen [:bwc] 6fabb4ea9d Bug 1626278: Simplify/promisify PWebrtcGlobal. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D88496
2020-10-15 20:18:08 +00:00
Byron Campen [:bwc] 82d0b39ee2 Bug 1626278: Test case for MozPromise::AllSettled. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D92652
2020-10-15 20:11:37 +00:00
Byron Campen [:bwc] 0274cc3c29 Bug 1626278: Implement MozPromise::AllSettled, based on JS Promise API. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D91467
2020-10-15 20:24:43 +00:00
Byron Campen [:bwc] ba4aa19c91 Bug 1626278: Use NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_DESTROY to ensure that MediaTransportHandler stays around long enough to finish pending stats queries. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D87180
2020-10-15 20:08:05 +00:00
Byron Campen [:bwc] e537c26404 Bug 1626278: Add a browser-chrome test for the WebrtcGlobalInformation interface. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D92637
2020-10-15 19:51:55 +00:00
Dzmitry Malyshau e67967d1df Bug 1671477 - Fix warning in a trivial cast in wgpu on Android r=padenot. CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D94028
2020-10-19 15:56:00 +00:00
Myeongjun Go 10359c348a Bug 1663708 - [perfdocs] Find tests to add to documentation using manifests instead of path searching r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D91703
2020-10-19 15:17:04 +00:00
Edgar Chen 83a3099eea Bug 1671849 - Move drag threshold setting to nsLookAndFeel; r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D93902
2020-10-19 15:16:49 +00:00
Dzmitry Malyshau 84fe9a5693 Bug 1622846 - WebGPU new mapping API r=webidl,jgilbert,smaug
This PR updates wgpu to 64ae59072d
It has a number of things (API updates, correctness fixes, etc), but the biggest part is the new mapping API.

Differential Revision: https://phabricator.services.mozilla.com/D92636
2020-10-19 15:08:55 +00:00
Andrew Halberstadt 00f7e29eac Bug 1668288 - [ci] Enable 'webrender-sw' variant on more talos platforms and tests, r=perftest-reviewers,sparky
This will add the following tasks to mozilla-central:
> test-linux64-qr/opt-talos-chrome-swr-e10s
> test-linux64-qr/opt-talos-damp-swr-e10s
> test-linux64-qr/opt-talos-g3-swr-e10s
> test-linux64-qr/opt-talos-g5-swr-e10s
> test-linux64-qr/opt-talos-perf-reftest-swr-e10s
> test-linux64-qr/opt-talos-sessionrestore-many-windows-swr-e10s
> test-linux64-qr/opt-talos-tabswitch-swr-e10s
> test-linux64-qr/opt-talos-tp5o-swr-e10s
> test-linux64-qr/opt-talos-webgl-swr-e10s
> test-linux64-shippable-qr/opt-talos-chrome-swr-e10s
> test-linux64-shippable-qr/opt-talos-damp-swr-e10s
> test-linux64-shippable-qr/opt-talos-g3-swr-e10s
> test-linux64-shippable-qr/opt-talos-g5-swr-e10s
> test-linux64-shippable-qr/opt-talos-perf-reftest-swr-e10s
> test-linux64-shippable-qr/opt-talos-sessionrestore-many-windows-swr-e10s
> test-linux64-shippable-qr/opt-talos-tabswitch-swr-e10s
> test-linux64-shippable-qr/opt-talos-tp5o-swr-e10s
> test-linux64-shippable-qr/opt-talos-webgl-swr-e10s
> test-macosx1014-64-shippable-qr/opt-talos-bcv-swr-e10s
> test-macosx1014-64-shippable-qr/opt-talos-chrome-swr-e10s
> test-macosx1014-64-shippable-qr/opt-talos-damp-swr-e10s
> test-macosx1014-64-shippable-qr/opt-talos-g1-swr-e10s
> test-macosx1014-64-shippable-qr/opt-talos-g4-swr-e10s
> test-macosx1014-64-shippable-qr/opt-talos-g5-swr-e10s
> test-macosx1014-64-shippable-qr/opt-talos-perf-reftest-swr-e10s
> test-macosx1014-64-shippable-qr/opt-talos-sessionrestore-many-windows-swr-e10s
> test-macosx1014-64-shippable-qr/opt-talos-svgr-swr-e10s
> test-macosx1014-64-shippable-qr/opt-talos-tp5o-swr-e10s
> test-windows10-64-qr/opt-talos-bcv-swr-e10s
> test-windows10-64-qr/opt-talos-chrome-swr-e10s
> test-windows10-64-qr/opt-talos-damp-swr-e10s
> test-windows10-64-qr/opt-talos-g1-swr-e10s
> test-windows10-64-qr/opt-talos-g4-swr-e10s
> test-windows10-64-qr/opt-talos-g5-swr-e10s
> test-windows10-64-qr/opt-talos-other-swr-e10s
> test-windows10-64-qr/opt-talos-perf-reftest-swr-e10s
> test-windows10-64-qr/opt-talos-sessionrestore-many-windows-swr-e10s
> test-windows10-64-qr/opt-talos-svgr-swr-e10s
> test-windows10-64-qr/opt-talos-tabswitch-swr-e10s
> test-windows10-64-qr/opt-talos-tp5o-swr-e10s
> test-windows10-64-qr/opt-talos-webgl-swr-e10s
> test-windows10-64-qr/opt-talos-xperf-swr-e10s
> test-windows10-64-shippable-qr/opt-talos-bcv-swr-e10s
> test-windows10-64-shippable-qr/opt-talos-chrome-swr-e10s
> test-windows10-64-shippable-qr/opt-talos-damp-swr-e10s
> test-windows10-64-shippable-qr/opt-talos-g1-swr-e10s
> test-windows10-64-shippable-qr/opt-talos-g4-swr-e10s
> test-windows10-64-shippable-qr/opt-talos-g5-swr-e10s
> test-windows10-64-shippable-qr/opt-talos-other-swr-e10s
> test-windows10-64-shippable-qr/opt-talos-perf-reftest-swr-e10s
> test-windows10-64-shippable-qr/opt-talos-sessionrestore-many-windows-swr-e10s
> test-windows10-64-shippable-qr/opt-talos-svgr-swr-e10s
> test-windows10-64-shippable-qr/opt-talos-tabswitch-swr-e10s
> test-windows10-64-shippable-qr/opt-talos-tp5o-swr-e10s
> test-windows10-64-shippable-qr/opt-talos-webgl-swr-e10s
> test-windows10-64-shippable-qr/opt-talos-xperf-swr-e10s

Differential Revision: https://phabricator.services.mozilla.com/D93525
2020-10-19 15:06:07 +00:00
Simon Giesecke 64de9bfc62 Bug 1671897 - Fix test naming. r=janv,dom-workers-and-storage-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D94013
2020-10-19 15:00:55 +00:00
Kagami Sascha Rosylight 756976ae2b Bug 1615296 - Part 3: Fix remaining MOZ_CAN_RUN_SCRIPT warnings r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D93600
2020-10-15 19:12:47 +00:00
Kagami Sascha Rosylight 2c5fb988f2 Bug 1615296 - Part 2: Fix MOZ_CAN_RUN_SCRIPT warnings in editor module r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D93599
2020-10-15 19:12:44 +00:00
Kagami Sascha Rosylight 1aea01d4ff Bug 1615296 - Part 1: Remove MOZ_CAN_RUN_SCRIPT_BOUNDARY from Selection::Collapse r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D93598
2020-10-16 22:22:48 +00:00
Gerald Squelart a37e92d240 Bug 1671536 - Remove BaseProfilerMarkerPayload.h and dependents - r=gregtatum
Everything related to Base Profiler legacy markers can now be removed, only the new API from BaseProfilerMarkers.h should now be used.

Depends on D93737

Differential Revision: https://phabricator.services.mozilla.com/D93738
2020-10-16 22:10:36 +00:00
Gerald Squelart 2c7e587da0 Bug 1671536 - Stop using baseprofiler::TextMarkerPayload - r=gregtatum
TextMarkerPayload is the only legacy marker type that is still used in the Base Profiler. We're converting it to the new BASE_PROFILER_MARKER_TEXT.

Depends on D93736

Differential Revision: https://phabricator.services.mozilla.com/D93737
2020-10-16 14:09:24 +00:00
Gerald Squelart 500ebb3b30 Bug 1670954 - MarkerThreadId::MainThread() - r=gregtatum
Since the main thread is almost always being profiled, this makes it easy to direct important markers there (e.g., FileIO markers from unregistered threads).

Tech note: The `#include "BaseProfiler.h"` line was moved to BaseProfilerMarkersPrerequesites.h so that `MarkerThreadId::MainThread()` there can access `profiler_main_thread_id()`.

Depends on D93735

Differential Revision: https://phabricator.services.mozilla.com/D93736
2020-10-16 22:07:20 +00:00
Gerald Squelart 334aa92a37 Bug 1670954 - profiler_main_thread_id() and profiler_is_main_thread() - r=gregtatum
These functions will be useful to get the main thread id, or check if we're in it, in some public code (e.g., markers).

Differential Revision: https://phabricator.services.mozilla.com/D93735
2020-10-16 22:06:53 +00:00
Eugen Sawin b96c1aa35e Bug 1671137 - [2.0] Add Autofill crash test for the case of id='value'. r=geckoview-reviewers,agi
Depends on D93693

Differential Revision: https://phabricator.services.mozilla.com/D93856
2020-10-16 21:06:13 +00:00
Eugen Sawin 3eedce4842 Bug 1671137 - [1.1] Only retrieve the value from HTMLInputElement instances and ensure non-null strings. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D93693
2020-10-16 21:06:19 +00:00
J.C. Jones cc8fbdccf6 Bug 1666567 - land NSS NSS_3_58_RTM UPGRADE_NSS_RELEASE, r=kjacobs
2020-10-16  J.C. Jones  <jjones@mozilla.com>

	* lib/nss/nss.h, lib/softoken/softkver.h, lib/util/nssutil.h:
	Set version numbers to 3.58 final
	[1f3db03bba02] [NSS_3_58_RTM] <NSS_3_58_BRANCH>

2020-10-12  J.C. Jones  <jjones@mozilla.com>

	* .hgtags:
	Added tag NSS_3_58_BETA1 for changeset 57bbefa79323
	[a8deadf7adbe]

Differential Revision: https://phabricator.services.mozilla.com/D93813
2020-10-16 17:35:33 +00:00
Emilio Cobos Álvarez 21a0be097f Bug 1671503 - Handle documents from iframes that haven't changed remoteness yet correctly. r=nordzilla
See the comment. A bit racy, but some of the time crashtest crashes
without the patch.

Null-check is just paranoia.

Differential Revision: https://phabricator.services.mozilla.com/D93756
2020-10-16 20:46:00 +00:00
Michael Kaply f0ac540cc4 Bug 1279647 - Switch titlebar and tooltip separators to emdash. r=flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D93620
2020-10-15 20:00:28 +00:00
Kris Maglione 39fa6e08dc Bug 1671705: Fix red herring InvalidStateError in ThumbnailsChild.jsm. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D93845
2020-10-16 19:57:36 +00:00
Dorel Luca 2aec5b3017 Backed out changeset ebe668f9d3dd (bug 1671477) for Build bustages. CLOSED TREE 2020-10-16 23:33:54 +03:00
Adam Gashlin b6096a99da Bug 1667726 - Clean up custom controls when leaving Welcome page. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D93706
2020-10-16 15:44:19 +00:00
Bryce Seager van Dyk cc05c909ab Bug 1671477 - Add profile markers and logs to help diagnose failures in WMF decoding. r=alwu
We have reports of VPx WMF failures in the wild causing performance issues, but
it can be hard to detect these failures. Having explicit markers in the profiler
with more information will make it easier to see if users are running into these
issues if they can provide profiles. I've also added logs to enrich cases where
we will use logging to debug.

Driveby fix a comment that says we're asserting when we no longer are.

Differential Revision: https://phabricator.services.mozilla.com/D93672
2020-10-16 19:28:36 +00:00
Jon Bauman ce053c88e0 Bug 1670341 - Update mp4parse-rust to eliminate multiple versions of hashbrown crate. r=emilio
Also update servo's `style` package to use hashbrown 0.9.

Differential Revision: https://phabricator.services.mozilla.com/D93616
2020-10-16 19:49:05 +00:00