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

793087 Коммитов

Автор SHA1 Сообщение Дата
Cristian Tuns 1ea913ec8d Backed out 2 changesets (bug 1644102, bug 1752392) for causing mochitest failures in test_parseStyleSheetImport.html CLOSED TREE
Backed out changeset b5c0bdafaf5e (bug 1644102)
Backed out changeset 092814d96f1d (bug 1752392)
2022-04-28 05:37:52 -04:00
Jonathan Kew dbecbdfdfe Bug 1766356 - Replace the specified font-size with the computed value when serializing the canvas2d font attribute. r=hiro
This requires updating a couple of our old dom/canvas mochitests that assume the size element
of the font attribute will be serialized as specified, which conflicts with the current spec
requirement.

On the other hand, this also resolves a few current WPT test failures that are specifically
testing the behavior described in the spec (e.g. a size specified as percentage gets serialized
as the computed px value).

Differential Revision: https://phabricator.services.mozilla.com/D144812
2022-04-28 08:50:12 +00:00
nchevobbe 00c36d79e1 Bug 1766629 - [devtools] Update webidl-deprecated-list.js. r=bomsy
The file was automatically updated by the GenerateDataFromWebIdls.py script.

Differential Revision: https://phabricator.services.mozilla.com/D144808
2022-04-28 08:46:11 +00:00
Florian Quèze 3b0ccd8cf7 Bug 1732447 - browser_preferences_usage.js - adjust minimum counts for prefs accessed while creating content processes on Linux, to account for preallocated content processes, r=Gijs.
Differential Revision: https://phabricator.services.mozilla.com/D144795
2022-04-28 08:37:43 +00:00
kernp25 52565ac870 Bug 1654355 - Fix activeTab with middle click. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D143876
2022-04-28 08:35:41 +00:00
Julian Descottes d5c7dd239f Bug 1759559 - [wdspec] Add webplatform tests for browsingContext.create r=webdriver-reviewers,whimboo
Depends on D143649

Differential Revision: https://phabricator.services.mozilla.com/D143650
2022-04-28 08:27:05 +00:00
Julian Descottes cfd94e222f Bug 1759559 - [wdspec] Add create command to browsing context module of WebDriver BiDi client r=webdriver-reviewers,whimboo
Depends on D143648

Differential Revision: https://phabricator.services.mozilla.com/D143649
2022-04-28 08:27:05 +00:00
Julian Descottes 668c1c61e7 Bug 1759559 - [webdriver-bidi] Implement browsingContext.create command r=webdriver-reviewers,whimboo
Depends on D144453

Differential Revision: https://phabricator.services.mozilla.com/D143648
2022-04-28 08:27:05 +00:00
Julian Descottes 43ad9bf453 Bug 1759559 - [remote] Add focus and window parameters to TabManager.addTab r=webdriver-reviewers,whimboo
Update the addTab API to support BiDi's browsingContext.create, including the context argument

Differential Revision: https://phabricator.services.mozilla.com/D144453
2022-04-28 08:27:04 +00:00
Seinlin e1304c5ced Bug 1766718 - Add NS_PRINT to prevent build break. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D144888
2022-04-28 08:09:14 +00:00
Mathieu Leplatre 4e4cb627e7 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-28 06:21:19 +00:00
Mathieu Leplatre fb73f4ab3d 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-28 06:21:19 +00:00
Sam Foster bd470bc9de 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-28 06:14:05 +00:00
Jim Blandy 5c765edf96 Bug 1766754: Document WebGPU FFI `ErrorBuffer` types. r=jgilbert DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D144904
2022-04-28 05:27:25 +00:00
Jim Blandy 2910e76efe Bug 1766569: Remove `wgpu_bindings::server::GlobalExt` trait. r=jgilbert
Replace the `GlobalExt` trait with a simple `impl Global` block, which
has exactly the same effect.

Differential Revision: https://phabricator.services.mozilla.com/D144782
2022-04-28 05:26:26 +00:00
Jim Blandy ae320ef7fa Bug 768048: Remove outdated FIXME. r=lsalzman,asuth DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D143847
2022-04-28 05:26:00 +00:00
Butkovits Atila 19ed218d60 Backed out changeset a901a6c26367 (bug 1766560) for causing failures at browser_caching_text. CLOSED TREE 2022-04-28 05:47:17 +03:00
James Teh 60745bde34 Bug 1748393: Fire a name change event when a document's title changes. r=morgan
This causes the cache to be updated.

Differential Revision: https://phabricator.services.mozilla.com/D144770
2022-04-28 02:12:29 +00:00
James Teh ff8c09efee Bug 1766560: Don't ignore the first line start of a RemoteAccessible when retrieving the next line. r=morgan
The code previously returned failure for array index 0, but it did this for both movement directions.
It should only do this for eDirPrevious, since we decrement index in that case.

Differential Revision: https://phabricator.services.mozilla.com/D144785
2022-04-28 02:11:53 +00:00
James Teh 6743bc23ee Bug 1766206: TextLeafPoint: When determining whether an Accessible is at the start of a line, compare with the last continuation of the previous leaf. r=morgan
Previously, we were always comparing with the primary frame of the previous leaf.
If the previous leaf crossed lines, this meant we incorrectly reported that the following leaf started a new line even if it didn't, since the primary frame of the previous leaf was always on a different line.
Now, we use the last continuation (line) of the previous leaf.
This way, if the next leaf continues the final line of the previous leaf, they will have the same line number and so we won't incorrectly report that the next leaf starts a new line.

Differential Revision: https://phabricator.services.mozilla.com/D144781
2022-04-28 02:09:16 +00:00
Zaggy1024 f96894e4be Bug 1757823 - Use D3D11 APIs to check specific video codec profiles on Windows to determine hardware support. r=alwu
This will enable hardware decoding for 10-bit VP9 and AV1 on supported systems.

Differential Revision: https://phabricator.services.mozilla.com/D144258
2022-04-28 01:59:20 +00:00
Glenn Watson 0f5e770788 Bug 1766710 - Temporarily disable backdrop-filter again r=gfx-reviewers,bradwerth
There are a few bugs remaining to be sorted that won't be fixed in
time for the next beta. Even though it's behind a off-by-default
preference, there are a significant number of users that have this
pref enabled (either manually and forgetting about it, or via a
theme etc). Disable it temporarily while working through these
bugs and we'll aim to enable again in nightly in a week or so.

Differential Revision: https://phabricator.services.mozilla.com/D144885
2022-04-28 01:27:15 +00:00
Emily McDonough f7af34aa62 Bug 1740366 - Implement paginated fragmentation on page-name boundaries r=dholbert
This has a TODO about empty page names on previous sibling frames, to match
Chrome's behavior of page break coalescing we should be looking to the frame
before that sibling and check for page breaks there instead.

Differential Revision: https://phabricator.services.mozilla.com/D140423
2022-04-28 00:03:19 +00:00
Butkovits Atila 94e2a597f6 Backed out changeset 0599b2a0913a (bug 1691122) for causing failures at test_peerConnection_basicAudioNATRelayTLS.html. CLOSED TREE 2022-04-28 03:58:05 +03:00
Emilio Cobos Álvarez b297e19bb0 Bug 1644102 - Turn on constructable stylesheets by default. r=edgar,preferences-reviewers,mstriemer
All known issues have patches. Let's try this after these land.

Differential Revision: https://phabricator.services.mozilla.com/D144570
2022-04-27 23:50:48 +00:00
Emilio Cobos Álvarez f334bb494a Bug 1752392 - Don't drop CSSStyleSheet.cssRules from CSSStyleSheet.replace/Sync(). r=firefox-style-system-reviewers,layout-reviewers,boris
As per spec this object should always return the same JS object.

Differential Revision: https://phabricator.services.mozilla.com/D144569
2022-04-27 23:50:48 +00:00
Butkovits Atila dc9b8a9f33 Backed out changeset 9958701c1640 (bug 1757823) for causing bustages. CLOSED TREE 2022-04-28 02:35:34 +03:00
Zaggy1024 1a95f6b127 Bug 1757823 - Use D3D11 APIs to check specific video codec profiles on Windows to determine hardware support. r=alwu
This will enable hardware decoding for 10-bit VP9 and AV1 on supported systems.

Differential Revision: https://phabricator.services.mozilla.com/D144258
2022-04-27 23:19:35 +00:00
Steve Fink 8506100a6c Bug 1760811 - Move CCSlice markers from TimelineOverview -> TimelineMemory r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D144865
2022-04-27 22:59:34 +00:00
Eitan Isaacson 9995cf770e Bug 1765430 - P4: Remove RemoteAccessibleWrap. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D144483
2022-04-27 22:44:46 +00:00
Eitan Isaacson c9311969b2 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 22:44:45 +00:00
Eitan Isaacson f45be3470b Bug 1765430 - P2: Manage Android accessible/id mappings in SessionAccessibility. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D144481
2022-04-27 22:44:45 +00:00
Eitan Isaacson 15f4639e31 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 22:44:45 +00:00
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