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

730882 Коммитов

Автор SHA1 Сообщение Дата
Paul Adenot fb3387d796 Bug 1346880 - Always initialize an AudioChannelAgent when initializing an AudioContext. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D92644
2020-10-19 08:45:04 +00:00
Florin Strugariu 70251b3778 Bug 1524545 Run raptor-unity-webgl only on autoland r=davehunt,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D93496
2020-10-19 09:04:44 +00:00
Valentin Gosu b5dcdc80bb Bug 1669780 - Backed out changeset 29d1be2b96f9 (Bug 1569715) for causing us to skip CORS preflight cache for POST requests r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D93746
2020-10-19 07:45:46 +00:00
Makoto Kato 179a0134a9 Bug 1670731 - Key down event isn't fired during composition when using Wayland IM Module. r=masayuki
Wayland IM module (im-wayland.so, [*1]) doesn't use `gtk_key_snooper_install`,
so snooper mode is different of other IM modules.

*1 https://gitlab.gnome.org/GNOME/gtk/-/blob/master/gtk/gtkimcontextwayland.c

Differential Revision: https://phabricator.services.mozilla.com/D93894
2020-10-18 09:46:41 +00:00
Petr Sumbera fd342d7126 Bug 1671623 - don't overloaded log10 r=pbone
Differential Revision: https://phabricator.services.mozilla.com/D93762
2020-10-19 06:42:45 +00:00
Hubert Boma Manilla 3d1f26e2cd Bug 1663523 - [devtools] Add the network event stacktrace watcher r=ochameau,devtools-backward-compat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D86809
2020-10-19 01:19:39 +00:00
Bogdan Tara 61728de827 Backed out changeset de71a00c6f68 (bug 1663523) for devtools/shared/ failures CLOSED TREE 2020-10-18 20:53:17 +03:00
Razvan Maries b1583c4745 Bug 1667240 - Disabled browser_autocomplete_import.js on Linux. r=intermittent-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D93876
2020-10-18 09:03:35 +00:00
Hubert Boma Manilla 403ec0015b Bug 1663523 - [devtools] Add the network event stacktrace watcher r=ochameau,devtools-backward-compat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D86809
2020-10-18 17:11:36 +00:00
Andreea Pavel 2612acac43 Bug 1502992 - set RTCRtpTransceiver.https.html as intermittent on Android r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D93878
2020-10-18 08:59:45 +00:00
Dão Gottwald e113867b83 Bug 1671568 - Add "Sponsored" label to sponsored top site tiles. r=mikedeboer,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D93743
2020-10-18 15:11:36 +00:00
James Teh 29fd7c7753 Bug 1670846: Treat line break characters in pre-formatted text as a11y paragraph boundaries. r=MarcoZ
In pre-formatted text (including textareas), text leaf nodes can contain line break characters ("\n").
Therefore, when searching for a paragraph boundary, we must match these.
Pivot can't return an ofset, only an Accessible, so we store the offset for the last match on the rule.
Because our origin point might be within a text leaf which contains a line break before/after it, we must also pass in the offset in our origin in this case so we can begin the text search from the right place.

Differential Revision: https://phabricator.services.mozilla.com/D93719
2020-10-18 09:19:23 +00:00
Jeff Walden 819be4899a Bug 1502355 - Allocate |PipeToState| as tenured, for perhaps marginally greater efficiency. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D92350
2020-10-18 05:12:44 +00:00
Narcis Beleuzu 0845b85075 Bug 1656364 - Fix skip browser_toggleMode_1.js on linux64 r=jmaher 2020-10-17 22:02:55 +03:00
Sean Feng 6eb1ed8c33 Bug 1671592 - Remove PuppetWidget::PaintTask and PuppetWidget::Paint r=emilio
After Bug 1669239, The way we use `PuppetWidget::Paint` starts to be
more async. For instance, `PuppetWidget::Invalidate` will schedule
an async `PaintTask`, when the `PaintTask` runs, it'll request
the next `Tick` to paint which is also async.

It starts to cause some tests to fail because of the timing. This
patch just improves the overall usage to be less async.

Differential Revision: https://phabricator.services.mozilla.com/D93855
2020-10-17 18:07:03 +00:00
Haik Aftandilian 8264ddfcc9 Bug 1650615 - Part 2 - Library search field has incorrect styling r=mstange
For Big Sur toolbar search fields, don't return YES from _isToolbarMode(). And adjust the search field border for better spacing after the search icon.

Differential Revision: https://phabricator.services.mozilla.com/D93705
2020-10-17 13:59:51 +00:00
Haik Aftandilian 94b553fca4 Bug 1650615 - Part 1 - Manually draw toolbar button backgrounds on Big Sur r=mstange
Draw toolbar button segment backgrounds manually on Big Sur to workaround a problem where they are filled with the toolbar gradient.

Differential Revision: https://phabricator.services.mozilla.com/D93578
2020-10-17 13:59:49 +00:00
Akshat Dixit f71808cc4b Bug 1669833 - Removed else after the return statement. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D93873
2020-10-17 13:47:13 +00:00
Sylvestre Ledru c47fc76053 Bug 1671775 - Provide the correct using namespace to fix a build failure r=stransky DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D93879
2020-10-17 12:19:22 +00:00
Andreea Pavel 43b4621abb Backed out changeset 2c30c54dea46 for not fixing bug 1671594 2020-10-17 13:35:04 +03: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
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
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
Kirk Steuber 65afc76646 Bug 1647313 - Fix update tests to wait on the update badge before they test for it r=mhowell
Updated tests to wait a moment for the update badge. The badge is added on a timeout, so it may not be there when we first look.

Some tests actually already use this mechanism:
  browser_doorhanger_bc_downloadOptIn_bgWin.js
  browser_doorhanger_bc_downloadAutoFailures_bgWin.js
I'm not sure why it wasn't used consistently, but it seems to fix the intermittent failures with browser_aboutDialog_fc_downloadAuto.js to add the mechanism.

Differential Revision: https://phabricator.services.mozilla.com/D93837
2020-10-16 19:51:23 +00:00
emcminn f05dbba317 Bug 1668429 - New RTAMO UI r=pdahiya,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D93668
2020-10-16 19:03:48 +00:00
Dorel Luca 44946f3402 Backed out changeset 6d63e8bc04bf (bug 1671503) for Crashtest failures in layout/printing/crashtests/1671503.html. CLOSED TREE 2020-10-16 22:13:43 +03:00
Dave Townsend b313c5f808 Bug 1666035: Strip ccache compilation wrappers from the clangd compilation database. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D93533
2020-10-16 18:47:28 +00:00
Simon Giesecke dca2f401ab Bug 1671345 - Fix invalid C++ code w.r.t. parameter pack expansion in lambda capture in IDBResult.h. r=dom-workers-and-storage-reviewers,asuth
Also remove workaround for XGILL_PLUGIN.

Differential Revision: https://phabricator.services.mozilla.com/D93648
2020-10-16 15:45:20 +00:00
Andrew McCreight 1425ce2012 Bug 1671577 - Use OtherPid() in AddProfilerMarker(). r=jld
Aside from its use in AddProfilerMarker(), after initialization mPeerPid
is only used on the IO thread, so the write to it does not hold the monitor.
This means that the read in AddProfilerMarker() can cause a race, even
though we hold the monitor. This method is only called when we hold
the monitor and everything is set up, so I think we can just use
mListener->OtherPid() to get the PID.

Differential Revision: https://phabricator.services.mozilla.com/D93810
2020-10-16 17:53:42 +00:00