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

793254 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey c5fea3fa51 Bug 1766549 - Remove some char16ptr_t operators that allow implicit const-casting. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D144777
2022-04-27 22:28:24 +00:00
Mike Hommey 00732bfa12 Bug 1766375 - Fix implicit-fallthrough warnings in Windows builds. r=media-playback-reviewers,necko-reviewers,rkraesig,xpcom-reviewers,nika,bryce,kershaw
dom/media/platforms/wmf/WMFEncoderModule.cpp(31,5): error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
    case MediaDataEncoder::CodecType::VP9:
    ^
dom/media/platforms/wmf/WMFEncoderModule.cpp(31,5): note: insert '[[fallthrough]];' to silence this warning
    case MediaDataEncoder::CodecType::VP9:
    ^
    [[fallthrough]];
netwerk/test/gtest/TestNamedPipeService.cpp(212,5): error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
    default:  // error
    ^
netwerk/test/gtest/TestNamedPipeService.cpp(212,5): note: insert '[[fallthrough]];' to silence this warning
    default:  // error
    ^
    [[fallthrough]];
widget/windows/KeyboardLayout.cpp(1973,5): error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
    default:
    ^
widget/windows/KeyboardLayout.cpp(1973,5): note: insert 'U_FALLTHROUGH;' to silence this warning
    default:
    ^
    U_FALLTHROUGH;
widget/windows/WinMouseScrollHandler.cpp(633,5): error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
    case SB_PAGEDOWN:
    ^
widget/windows/WinMouseScrollHandler.cpp(633,5): note: insert 'U_FALLTHROUGH;' to silence this warning
    case SB_PAGEDOWN:
    ^
    U_FALLTHROUGH;
widget/windows/WinMouseScrollHandler.cpp(640,5): error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
    case SB_LINEDOWN:
    ^
widget/windows/WinMouseScrollHandler.cpp(640,5): note: insert 'U_FALLTHROUGH;' to silence this warning
    case SB_LINEDOWN:
    ^
    U_FALLTHROUGH;
widget/windows/nsLookAndFeel.cpp(188,5): error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
    case ColorID::MozMenuhovertext:
    ^
widget/windows/nsLookAndFeel.cpp(188,5): note: insert 'U_FALLTHROUGH;' to silence this warning
    case ColorID::MozMenuhovertext:
    ^
    U_FALLTHROUGH;
widget/windows/nsLookAndFeel.cpp(194,5): error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
    case ColorID::Highlighttext:
    ^
widget/windows/nsLookAndFeel.cpp(194,5): note: insert 'U_FALLTHROUGH;' to silence this warning
    case ColorID::Highlighttext:
    ^
    U_FALLTHROUGH;
widget/windows/nsLookAndFeel.cpp(469,15): error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
              case ABE_BOTTOM:
              ^
widget/windows/nsLookAndFeel.cpp(469,15): note: insert 'U_FALLTHROUGH;' to silence this warning
              case ABE_BOTTOM:
              ^
              U_FALLTHROUGH;
widget/windows/nsNativeThemeWin.cpp(2540,5): error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
    case StyleAppearance::Button:
    ^
widget/windows/nsNativeThemeWin.cpp(2540,5): note: insert 'U_FALLTHROUGH;' to silence this warning
    case StyleAppearance::Button:
    ^
    U_FALLTHROUGH;
widget/windows/nsNativeThemeWin.cpp(3278,5): error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
    case StyleAppearance::Checkbox:
    ^
widget/windows/nsNativeThemeWin.cpp(3278,5): note: insert 'U_FALLTHROUGH;' to silence this warning
    case StyleAppearance::Checkbox:
    ^
    U_FALLTHROUGH;
widget/windows/nsNativeThemeWin.cpp(3332,5): error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
    case StyleAppearance::Tabpanel:
    ^
widget/windows/nsNativeThemeWin.cpp(3332,5): note: insert 'U_FALLTHROUGH;' to silence this warning
    case StyleAppearance::Tabpanel:
    ^
    U_FALLTHROUGH;
widget/windows/nsNativeThemeWin.cpp(3461,5): error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
    case StyleAppearance::Menuarrow: {
    ^
widget/windows/nsNativeThemeWin.cpp(3461,5): note: insert 'U_FALLTHROUGH;' to silence this warning
    case StyleAppearance::Menuarrow: {
    ^
    U_FALLTHROUGH;
widget/windows/nsWindow.cpp(1339,5): error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
    case eWindowType_toplevel:
    ^
widget/windows/nsWindow.cpp(1339,5): note: insert 'U_FALLTHROUGH;' to silence this warning
    case eWindowType_toplevel:
    ^
    U_FALLTHROUGH;
widget/windows/nsWindow.cpp(1422,5): error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
    case eWindowType_toplevel:
    ^
widget/windows/nsWindow.cpp(1422,5): note: insert 'U_FALLTHROUGH;' to silence this warning
    case eWindowType_toplevel:
    ^
    U_FALLTHROUGH;
widget/windows/nsWindow.cpp(3379,5): error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
    case eTransparencyGlass:
    ^
widget/windows/nsWindow.cpp(3379,5): note: insert 'U_FALLTHROUGH;' to silence this warning
    case eTransparencyGlass:
    ^
    U_FALLTHROUGH;
widget/windows/nsWindow.cpp(5595,5): error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
    case WM_MOUSELEAVE: {
    ^
widget/windows/nsWindow.cpp(5595,5): note: insert 'U_FALLTHROUGH;' to silence this warning
    case WM_MOUSELEAVE: {
    ^
    U_FALLTHROUGH;
xpcom/io/SpecialSystemDirectory.cpp(572,5): error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
    case Win_Programs: {
    ^
xpcom/io/SpecialSystemDirectory.cpp(572,5): note: insert '[[fallthrough]];' to silence this warning
    case Win_Programs: {
    ^
    [[fallthrough]];

Differential Revision: https://phabricator.services.mozilla.com/D144668
2022-04-27 22:12:53 +00:00
Mike Hommey e317b0e119 Bug 1766375 - Disable implicit-fallthrough warnings in Windows builds like other platforms. r=firefox-build-system-reviewers,andi
Also disable it for Windows-specific third-party code.

Differential Revision: https://phabricator.services.mozilla.com/D144667
2022-04-27 22:12:53 +00:00
Dennis Schubert a695eab30d Bug 1752988 - Ship v101.0.0 of the WebCompat System Addon. r=ksenia,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D144857
2022-04-27 22:12:25 +00:00
Masayuki Nakano 0a1678b1c0 Bug 1765091 - Make `IMContextWrapper` set focus to IME immediately if IME was blurred by disabling the input context r=m_kato
In bug 1753173, we needed to make `IMContextWrapper` wait for a focus
notification from `IMEContentObserver` because it's not ready to query
content when the input context is enabled.

However, this means that, if the input context is enabled without focus change,
`IMContextWrapper` does not have a change to set focus to IME.  Therefore,
if `IMContextWrapper` blurs IME without focus move, the state should be
remembered as IME blurred but it's caused by that the input context is disabled.
Then, `IMContextWrapper` can restore focus immediately if the input context
gets enabled and focus has not been changed.

Differential Revision: https://phabricator.services.mozilla.com/D144804
2022-04-27 22:03:05 +00:00
Butkovits Atila 20e2d30582 Backed out 4 changesets (bug 1765430) for causing android bustage. CLOSED TREE
Backed out changeset 72e27e3813d3 (bug 1765430)
Backed out changeset 47bbf5bd9315 (bug 1765430)
Backed out changeset e8161b463a3b (bug 1765430)
Backed out changeset 30c05f76d21e (bug 1765430)
2022-04-28 01:15:37 +03:00
Butkovits Atila ce35a465cf Merge mozilla-central to autoland. CLOSED TREE 2022-04-28 00:40:13 +03:00
Andreea Pavel 86c98c486f Merge autoland to mozilla-central a=merge 2022-04-28 00:33:50 +03:00
Mike Hommey b19d8a79aa Bug 1766378 - Enable thread-safety warnings in Windows builds. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D144755
2022-04-27 21:23:19 +00:00
Andrew Osmond 6e033cd6a3 Bug 1709951 - Make WebGPU handle GPU process loss. r=gfx-reviewers,webidl,jgilbert,smaug
Differential Revision: https://phabricator.services.mozilla.com/D143247
2022-04-27 21:13:21 +00:00
Eitan Isaacson 3ee5a34515 Bug 1765430 - P4: Remove RemoteAccessibleWrap. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D144483
2022-04-27 21:01:36 +00:00
Eitan Isaacson 4dd84acb54 Bug 1765430 - P3: Refactor Android Pivot methods. r=Jamie
This creates a clearer distinction between local pivots and remote
pivots. The former happens in the parent process and the latter happens
in the remote content process.

Differential Revision: https://phabricator.services.mozilla.com/D144482
2022-04-27 21:01:36 +00:00
Eitan Isaacson a010f500aa Bug 1765430 - P2: Manage Android accessible/id mappings in SessionAccessibility. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D144481
2022-04-27 21:01:35 +00:00
Eitan Isaacson d5e1e3314e Bug 1765430 - P1: Move ToBundle to SessionAccessibility. r=Jamie
Since remote accessibles won't share AccessibleWrap as a base class
anymore this can't be an instance method. Move it to
SessionAccessibility, the sole consumer.

Note: ToBundle will hopefully get removed entirely once CTW is fully adopted.

Differential Revision: https://phabricator.services.mozilla.com/D144480
2022-04-27 21:01:35 +00:00
John Schanck ea5479a8d7 Bug 1691122 - Remove subject common name fallback support in CertVerifier. r=keeler,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D143808
2022-04-27 20:57:31 +00:00
Scott 58882d8497 Bug 1766679 - Fix save to Pocket saved panel sizes while loading. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D144877
2022-04-27 20:52:57 +00:00
Butkovits Atila 0755140382 Bug 1764659 - Lint fix. r=fix. CLOSED TREE 2022-04-27 23:30:54 +03:00
Mark Striemer d653e19400 Bug 1765634 - Simple Storybook for local development r=mconley,hjones
This provides a basic Storybook set up for us to develop with
Storybook locally.

Quick start (MacOS, Linux, WSL):
  ./mach npm --prefix=browser/components/storybook ci
  ./mach npm --prefix=browser/components/storybook run storybook

Differential Revision: https://phabricator.services.mozilla.com/D144223
2022-04-27 20:10:16 +00:00
Tom Ritter 63ed48b5e1 Bug 1764659: Add wgpu bindings to Updatebot r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D143766
2022-04-27 20:09:38 +00:00
Butkovits Atila 04a3fefa59 Backed out 2 changesets (bug 1725660, bug 1719560) for causing build bustages. CLOSED TREE
Backed out changeset 6e11829eec98 (bug 1719560)
Backed out changeset 66571899587f (bug 1725660)
2022-04-27 22:59:47 +03:00
Ben Hearsum f251e7d5e6 Bug 1766510: fix windows 7 taskbar pinning code in mingw builds r=rkraesig
Differential Revision: https://phabricator.services.mozilla.com/D144826
2022-04-27 19:51:18 +00:00
Jeff Muizelaar 00d62a96a1 Bug 1765898. Expose GetEncoderInfo() for out of tree encoders. r=bwc
The Qp thresholds are taken from h264_encoder_impl.cc

Adding a ScalingSettings for WebrtcGmpVideoEncoder will enable the quality
scaler for WebrtcGmpVideoEncoder which will fix the resolution not being
changed at low bitrates.

Differential Revision: https://phabricator.services.mozilla.com/D144485
2022-04-27 19:35:13 +00:00
Bob Owen 09a4cd7a93 Bug 1760340: Re-allow forward slashes in windows sandbox file system policy rules. r=handyman
Differential Revision: https://phabricator.services.mozilla.com/D144849
2022-04-27 19:27:28 +00:00
Shane Hughes fc1e219e48 Bug 1752095 - Don't record URLClassifier histograms in content. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D143673
2022-04-27 19:27:06 +00:00
Jeff Muizelaar 3b0f25b5de Bug 1766311. Disable hardware encoders on non-Android. r=jolin
Chrome has had a variety of issues with hardware encoders:
https://github.com/W3C/webrtc-extensions/issues/98#issuecomment-1054005251

We'll disable hardware encoders for now so that we can get consistent
behaviour everywhere. Once we've updated to a modern libwebrtc we
can reenable them.

This also makes it so that we can get resolution scaling on H264 without having
to cherrypick patches from upstream libwebrtc.

Differential Revision: https://phabricator.services.mozilla.com/D144773
2022-04-27 19:19:50 +00:00
Jeff Muizelaar 6e2effa62e Bug 1766473. Implement some inbound-rtc/outbound-rtc stats needed for MS Teams. r=ng,emilio
The calculation of framesSent/framesReceved matches webrtc_video_engine.cc.

framesSent:
https://source.chromium.org/chromium/chromium/src/+/main:third_party/webrtc/media/engine/webrtc_video_engine.cc;l=2611;drc=edab26bf11e993e5069d433e8c2186ad2dee012e

framesReceived:
https://source.chromium.org/chromium/chromium/src/+/main:third_party/webrtc/media/engine/webrtc_video_engine.cc;l=3159;drc=edab26bf11e993e5069d433e8c2186ad2dee012e

Differential Revision: https://phabricator.services.mozilla.com/D144724
2022-04-27 19:12:37 +00:00
Dimi cfe7d108aa Bug 1763081 - Use IsVisible to check whether a dropdown is shown instead of waiting for a 3 sec timeout r=sgalich,tgiles
Differential Revision: https://phabricator.services.mozilla.com/D144809
2022-04-27 19:08:23 +00:00
Mozilla Releng Treescript fbda844614 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
bg -> 4ac436d4effd9bfad2e6788ac2f3c0bd6cbdc3c1
gn -> 4d647221a1148789b566b6441363fac67f0989de
hye -> 7614394293599ac3793d4d5984a732e403a0d463
ia -> 3c26285af82eb99a88c46c34c9d80ea8efdf299e
it -> c106d96261f62de268c3d8788001e7a1efbaa8b1
kab -> 706b8beb79fdf99bf80c17f5d8208bc835f4d7f6
pt-BR -> 47b64d52e167f2b26ef08cb0c974a179982b65f2
tg -> 3bcc47cdf8c1ba22a1a46eaa4699a3b28218b280
zh-CN -> 172def6256a7b1dc3ce16cf6c04f2d1443be6d92
zh-TW -> ff1578d057cac647e0bc8f30aee559dc79eb6ec6
2022-04-27 19:04:33 +00:00
Lee Salzman ca716f7083 Bug 1765911 - Support cloning Patterns with internal weak references. r=aosmond
Currently calling Pattern::Clone() produces a heap-allocated Pattern with RefPtrs
to any internal resources such as SourceSurfaces or GradientStops. While this is
okay if the Pattern is transient, this causes problems if the clone is long-lived
and causes via the RefPtr the stored resource to stay alive, even when there are
no other external references to the resource.

In the case of DrawTargetWebgl's PathCache, we need to be able to create Pattern
clones that have internal weak references, while also still supporting the original
use-case of strong references. To this end we template-ize some of the Pattern
derivatives so that we can make either strong or weak versions according to use-case.
This case way we store a weak clone of a Pattern in the PathCache key, the reference
will automatically invalidate itself when all other external strong references to it
go away, without having to do external crawling of the PathCache to constantly prune
the last reference manually.

Differential Revision: https://phabricator.services.mozilla.com/D144381
2022-04-27 18:48:59 +00:00
Emilio Cobos Álvarez c808d42538 Bug 1766110 - Try to avoid intermittent race in PromptDelegateTest. r=agi
Differential Revision: https://phabricator.services.mozilla.com/D144707
2022-04-27 18:42:42 +00:00
Jonathan Kew 18ea0ed0c9 Bug 1766378 followup - Don't require the font-list lock to be held before calling gfxPlatformFontList::FindFontForFamily, just lock internally. r=lsalzman
It turns out the only caller of this method is one obscure edge-case in gfxDWriteFont,
so it should simply be an external API that makes no assumptions about locking.

Differential Revision: https://phabricator.services.mozilla.com/D144792
2022-04-27 18:40:12 +00:00
Andrew Osmond 6921ea66d8 Bug 1765816 - Expose front buffer canvas contents when painting for Firefox Screenshots for WebGPU. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D144868
2022-04-27 18:27:37 +00:00
Alexandre Lissy 23e4d9ffd9 Bug 1766275 - Dont create WMF video decoders for utility process r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D144608
2022-04-27 17:58:24 +00:00
Jonathan Watt f2a529bd7b Bug 1766651 - Remove nsIPrintSettings.isCancelled and nsIPrintSettings.saveOnCancel. r=bobowen
nsIPrintSettings.isCancelled was only being set to true by the Windows widget
code ShowNativePrintDialog nowadays. That seems pointless since that widget
code is only invoked under the _showPrintDialog call in print.js, and in the
case that the widget code throws, the print is never invoked and the
nsIPrintSettings object isn't used.

nsIPrintSettings.saveOnCancel was set in some places but never read.

Differential Revision: https://phabricator.services.mozilla.com/D144830
2022-04-27 17:55:24 +00:00
Butkovits Atila 955cca94c2 Backed out changeset 3edfe1be6842 (bug 1599061) for causing bug 1766031. CLOSED TREE 2022-04-27 21:24:12 +03:00
Butkovits Atila 67bc50b71b Backed out changeset 2c76f5df35f1 (bug 1763138) for causing leaks. CLOSED TREE 2022-04-27 21:21:04 +03:00
Butkovits Atila 95691e9784 Bug 1766322 - Lint fix. r=fix. CLOSED TREE 2022-04-27 20:45:18 +03:00
Butkovits Atila 674a7a5f27 Backed out changeset d45b16f97f9f (bug 1718228) for causing failures at test_webauthn_loopback.html. CLOSED TREE 2022-04-27 20:36:20 +03:00
Cathy Lu 1d8822e53e Bug 1766322 - Check browser.frameLoader for tab prioritization r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D144844
2022-04-27 17:17:53 +00:00
John Schanck 86bd5cb77a Bug 1765012 - expire CRLite filters after 10 days. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D144619
2022-04-27 17:15:06 +00:00
Sam Foster 915a24904a Bug 1763138 - Hook up the tabs-setup flow to the sync status and fxa device list to enable the first steps. r=dao,fluent-reviewers,flod
* The FxA signin/signup step is wired up
* The signin with another device step to open the about:preferences deep-link is mostly wired up

Not implemented here:
* Detecting and displaying recent remote tabs is not implemented yet
* Offline and other error conditions not handled
* We may need to wait for FxA to be ready
* Only the bare bones of markup/CSS is implemented
* String for all but the Step 1 of 3 in scope here are still placeholders

Differential Revision: https://phabricator.services.mozilla.com/D144354
2022-04-27 17:03:42 +00:00
R. Martinho Fernandes 9bcb6c6431 Bug 1718228 - Make CollectedClientData follow the spec r=dveditz,baku
Differential Revision: https://phabricator.services.mozilla.com/D136881
2022-04-27 16:49:13 +00:00
Zaggy1024 8fbdbc249c Bug 1765842 - Part 2 - Make AV1ChangeMonitor aware of errors while reading sequence headers from AV1 media. r=alwu
Rather than passing corrupted samples to a decoder, MediaChangeMonitor will now throw a decoding error if parsing fails, and a useful message will be printed to the developer console indicating what caused the issue.

Differential Revision: https://phabricator.services.mozilla.com/D144384
2022-04-27 16:47:30 +00:00
Zaggy1024 74100427a0 Bug 1765842 - Part 1 - Fix two inconsistencies between reading and writing AV1 sequence headers. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D144383
2022-04-27 16:47:29 +00:00
Mathieu Leplatre a1fc30b552 Bug 1719560 - Collect timestamps for all collections r=robwu
Instead of having complex build scripts that have to introspect which dump is packaged on which platform and in which circumptances, the `last_modified.json` now contains the timestamps of all dumps files present in the source tree.

Differential Revision: https://phabricator.services.mozilla.com/D144169
2022-04-27 16:47:25 +00:00
Mathieu Leplatre 10780e5f26 Bug 1725660 - Include timestamps in packaged dumps r=robwu
Since the dumps don't contain tombstones, this prevents situations where the dump would not be reloaded (with `loadDumpIfNewer`) if the last operation on the collection is a delete.

Differential Revision: https://phabricator.services.mozilla.com/D144428
2022-04-27 16:47:24 +00:00
Luca Greco fd30c36c79 Bug 1747813 - ExtensionPopups ViewPopup class should not block the parser when a browserAction popup navigated between extension pages. r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D143394
2022-04-27 16:35:46 +00:00
Emilio Cobos Álvarez 318739ac6b Bug 1762988 - Scale outline alpha with thumb face alpha. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D144833
2022-04-27 16:32:02 +00:00
Emilio Cobos Álvarez f65f5da5fc Bug 1766395 - Don't use click event to show date/time/datetime-local input. r=agi
MozShowDateTimePicker should be enough for this. We keep using click for
week / month because those don't implement a widget cross-platform.

Differential Revision: https://phabricator.services.mozilla.com/D144801
2022-04-27 16:27:56 +00:00
David Shin 834cc0ea32 Bug 1765654 - Simplify audio/video frame intrinsic sizing, and make audio elements report the correct intrinsic width during layout r=dholbert,emilio
Fix regression from returning zero intrinsic size for audio
elements, which caused the element to be positioned incorrectly
in absolutely positioned, orthogonal flow situations.

Differential Revision: https://phabricator.services.mozilla.com/D144182
2022-04-27 16:20:05 +00:00