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

862226 Коммитов

Автор SHA1 Сообщение Дата
Makoto Kato cafeef4d11 Bug 1863694 - Part 1. Run ./mach lint -l file-whitespace --fix. r=geckoview-reviewers,sylvestre,calu
Differential Revision: https://phabricator.services.mozilla.com/D193044
2023-11-09 05:44:35 +00:00
James Teh acdf382ad2 Bug 1863480: Expose all relations via xpcAccessible::GetRelations. r=morgan,devtools-reviewers,nchevobbe
Previously, only an outdated hard-coded subset was being exposed.
This meant that missing relations such as details and error message were not exposed in the DevTools Accessibility Inspector.
We now expose all relations in the RelationType enum so we don't need to keep this up to date.

Differential Revision: https://phabricator.services.mozilla.com/D193008
2023-11-09 05:19:01 +00:00
Norisz Fay 76b13c585e Backed out changeset 41fb585df057 (bug 1862306) for causing high bc failure rate on test_group_mouseevents.html | helper_drag_root_scrollbar_mouse_not_over_thumb.html CLOSED TREE 2023-11-09 07:50:42 +02:00
Emilio Cobos Álvarez 0c2cda4dd8 Bug 1863620 - Make animation traversal work for style roots other than the document element. r=boris
This fixes some flickering when transitioning doc-level anonymous
content.

Differential Revision: https://phabricator.services.mozilla.com/D193046
2023-11-08 20:48:56 +00:00
Erik Nordin 452d133583 Bug 1861516 - Update Translations language-identification source docs r=gregtatum
Updates the Firefox source docs related to Translations
language identification to reflect that fastText is no
longer used by Translations, and that we use CLD2 only.

Depends on D192659

Differential Revision: https://phabricator.services.mozilla.com/D192660
2023-11-09 04:59:05 +00:00
Erik Nordin be10801abf Bug 1861516 - Remove Translations fastText third-party files r=sylvestre,gregtatum
Removes all third-party files related to fastText since it is
no longer used in this code base.

Depends on D192658

Differential Revision: https://phabricator.services.mozilla.com/D192659
2023-11-09 04:59:05 +00:00
Erik Nordin ba7544062d Bug 1861516 - Remove Translations Remote Settings language-identification infrastructure r=gregtatum
Removes the infrastructure to download language-identification
dependencies for Translations via Remote Settings. This was used
only for the fastText LanguageIdEngine code. The current
language detector, CLD2, lives in tree and does not require
Remote Settings dependencies.

Depends on D192657

Differential Revision: https://phabricator.services.mozilla.com/D192658
2023-11-09 04:59:04 +00:00
Erik Nordin bd90c5a1d9 Bug 1861516 - Remove Translations fastText LanguageIdEngine r=gregtatum
Removes the source code for the Translations LanguageIdEngine
which utilized fastText as its underlying mechanism.

Depends on D192656

Differential Revision: https://phabricator.services.mozilla.com/D192657
2023-11-09 04:59:04 +00:00
Erik Nordin 7fdd2a33e1 Bug 1861516 - Remove Translations useFastText pref r=gregtatum
Removes the browser.translations.languageIdentification.useFastText
pref, making CLD2 the only option for language identification
for Translations.

Differential Revision: https://phabricator.services.mozilla.com/D192656
2023-11-09 04:59:04 +00:00
Byron Campen a4a59fd615 Bug 1762391: Loosen these comparisons; we have no guarantee that more than one packet has been sent. r=ng
Depends on D193131

Differential Revision: https://phabricator.services.mozilla.com/D193132
2023-11-09 04:12:05 +00:00
Byron Campen 658ce6bb99 Bug 1791212: Disable this test on android, because those testers are too slow to run it reliably. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D193131
2023-11-09 04:12:04 +00:00
Jim Blandy 59409930ee Bug 1863573: Update explanation of Naga's `cargo vet` audit policy. r=supply-chain-reviewers,bholley
Differential Revision: https://phabricator.services.mozilla.com/D192971
2023-11-09 01:25:49 +00:00
Masayuki Nakano 4eb06aa944 Bug 1861603 - Make `HTMLEditUtils::IsEmptyNode` refer the computed style r=m_kato
Gecko starts referring computed style to consider whether block or inline and
`HTMLEditUtils::IsEmptyNode` is used with them to check a node like these:
https://searchfox.org/mozilla-central/rev/40d51bef58b8e901d6ab4b60dd280f372a0e417d/editor/libeditor/HTMLEditUtils.h#543,554

However, `IsEmptyNode` still checks only the tag names when the caller wants
to treat "list items" and/or "table cells" are visible (not empty).  Therefore,
this mismatch may cause the assertion failure reported in the bug.

From code design point of view, `HTMLEditUtils::IsListItem` and
`HTMLEditUtils::IsTableCell` should refer the computed style.  However, the
former is mostly used for checking the logical structure of HTML, and in the
latter case, we should keep the table structure even if table cells are styled
as inline because browsers do not support table structure recreation except
the Gecko specific editing UI (called inline table editor).  Therefore, it does
not make sense that we would change them.

Instead, we should change `IsEmptyNode` which is used only for visibility check.
So, using computed style is always reasonable.

Note that this patch changes the behavior in some edge cases.  The method always
treat a list item or a table cell which contains a sub-list or a sub table.
However, I would not like to add new `EmptyCheckOption` for it to check the
complicated style check.  Therefore, this patch changes the behavior to treat
them visible if and only if they have another list item or another table cell.
Basically, `<table>` and list elements should have a least one table cell or
one list item.  Therefore, this change should not appear in the web apps in the
wild.

Differential Revision: https://phabricator.services.mozilla.com/D192442
2023-11-09 00:49:07 +00:00
sotaro 30014df55f Bug 1863106 - Set D3D11_BIND_UNORDERED_ACCESS if texture usage has STORAGE_BINDING r=lsalzman
wgpu dx12 requests to Texture that if its usage has STORAGE_BINDING, D3D12 resource needs to have D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS.

The equivalent of D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS in D3D11 is D3D11_BIND_UNORDERED_ACCESS. Therefore, D3D11 textures in ExternalTextureD3D11 also require D3D11_BIND_UNORDERED_ACCESS if STORAGE_BINDING is used.

Differential Revision: https://phabricator.services.mozilla.com/D192976
2023-11-09 00:42:41 +00:00
Norisz Fay 33e4b4bf8e Backed out changeset 2c84b8379060 (bug 1863620) for causing failures on test_group_mouseevents.html | helper_drag_root_scrollbar_mouse_not_over_thumb.html CLOSED TREE 2023-11-09 03:44:13 +02:00
Cristina Horotan 2e51c47d14 Backed out 5 changesets (bug 1861516) for causing generate failure. CLOSED TREE
Backed out changeset 59284ad6706a (bug 1861516)
Backed out changeset f523baf65417 (bug 1861516)
Backed out changeset a765b373c3f1 (bug 1861516)
Backed out changeset 2aab5a2ea289 (bug 1861516)
Backed out changeset 96624994d2cb (bug 1861516)
2023-11-09 02:23:16 +02:00
Mike Hommey 6813086faf Bug 1863628 - Refresh rust workspace hack. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D192994
2023-11-09 00:02:41 +00:00
Mike Hommey a1295ac7c0 Bug 1863441 - Don't filter out flags for debug info when building relrhack injected code. r=firefox-build-system-reviewers,sergesanspaille
When the injected code is used by elfhack, the debug info is thrown away
because elfhack doesn't know what to do with it, but in the case of
relrhack, the normal linker can handle it, so there's no reason not to
include the debug info anymore.

Differential Revision: https://phabricator.services.mozilla.com/D192904
2023-11-09 00:01:25 +00:00
Mike Hommey e32e90ef8a Bug 1862547 - Adjust revert-llvmorg-18-init-6188-gc649f29c24c9.patch to upstream changes. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D192906
2023-11-08 23:52:30 +00:00
Mike Hommey d0ccf0ff36 Bug 1861566 - Remove direct dependencies to non root-nodes in the compile graph in root-deps.mk. r=firefox-build-system-reviewers,ahochheiden
As the comment said, adding these dependencies was showing good results
back when it was done. 6~7 years later, things have changed, and
removing them makes the build faster across the board (tested from -j4
to -j48, they're up to 10% faster, with the biggest difference at -j16
and -j24)

Differential Revision: https://phabricator.services.mozilla.com/D192045
2023-11-08 23:47:33 +00:00
Mike Hommey c57fa1ee4f Bug 1861566 - Allow some missing generated source files. r=firefox-build-system-reviewers,sergesanspaille
When gtest is not linked as part of the build, the source files that are
generated for it are not necessarily created during the build, so we
won't be able to find them when packaging them. We make this an allowed
situation. Ideally, we'd "just" figure out which files these are, and
not emit them in the list of generated sources, but at the moment, it's
a lot of work to be able to do so.

Differential Revision: https://phabricator.services.mozilla.com/D193003
2023-11-08 23:47:32 +00:00
Mike Hommey 62415ee9cd Bug 1863668 - Record a profile even when the build fails. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D193013
2023-11-08 23:44:52 +00:00
Erik Nordin 6d863a9095 Bug 1861516 - Update Translations language-identification source docs r=gregtatum
Updates the Firefox source docs related to Translations
language identification to reflect that fastText is no
longer used by Translations, and that we use CLD2 only.

Depends on D192659

Differential Revision: https://phabricator.services.mozilla.com/D192660
2023-11-08 23:38:38 +00:00
Erik Nordin 10889587c3 Bug 1861516 - Remove Translations fastText third-party files r=sylvestre,gregtatum
Removes all third-party files related to fastText since it is
no longer used in this code base.

Depends on D192658

Differential Revision: https://phabricator.services.mozilla.com/D192659
2023-11-08 23:38:37 +00:00
Erik Nordin 936fbb95eb Bug 1861516 - Remove Translations Remote Settings language-identification infrastructure r=gregtatum
Removes the infrastructure to download language-identification
dependencies for Translations via Remote Settings. This was used
only for the fastText LanguageIdEngine code. The current
language detector, CLD2, lives in tree and does not require
Remote Settings dependencies.

Depends on D192657

Differential Revision: https://phabricator.services.mozilla.com/D192658
2023-11-08 23:38:37 +00:00
Erik Nordin 6470d31c0f Bug 1861516 - Remove Translations fastText LanguageIdEngine r=gregtatum
Removes the source code for the Translations LanguageIdEngine
which utilized fastText as its underlying mechanism.

Depends on D192656

Differential Revision: https://phabricator.services.mozilla.com/D192657
2023-11-08 23:38:37 +00:00
Erik Nordin fd6099b149 Bug 1861516 - Remove Translations useFastText pref r=gregtatum
Removes the browser.translations.languageIdentification.useFastText
pref, making CLD2 the only option for language identification
for Translations.

Differential Revision: https://phabricator.services.mozilla.com/D192656
2023-11-08 23:38:36 +00:00
Brad Werth 35000161a2 Bug 1863134: Stop hiding the nav toolbox when the menubar is animated away. r=edgar
This was done erroneously in an earlier code fix that was trying to fix
the showing and hiding of the menubar. It is not necessary to hide the
nav toolbox when the menubar is animated away. The nav toolbox will be
hidden when the user moves the cursor out of the nav toolbox area.

Differential Revision: https://phabricator.services.mozilla.com/D192972
2023-11-08 23:38:09 +00:00
Mike Hommey 966b549a98 Bug 1863649 - Use rustc 1.70 as compiler for toolchains. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D193004
2023-11-08 23:08:15 +00:00
Andrew Halberstadt d3cb43827e Bug 1850536 - Enable mochitest-webgl suites with Wayland debug, r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D192499
2023-11-08 21:56:23 +00:00
Boris Chiou 9cd466df70 Bug 1583429 - Keep repeat() information for specified/computed value for subgrid. r=layout-reviewers,firefox-style-system-reviewers,emilio
We introduce a different rust type for `<line-name-list>` for subgrid,
which keeps `repeat()` information at computed time. At this moment,
we don't expand `repeat()`.

Also, we precompute the possible expanded list length, so we can expand
`repeat(auto-fill)` in a single iteration in nsGridContainerFrame. If we
don't have this precompution, we have to go through `<line-name-list>`
first to know how many items we have after expanding `repeat(Integer)`.

Differential Revision: https://phabricator.services.mozilla.com/D192876
2023-11-08 21:44:36 +00:00
Dana Keeler 8c244360cc Bug 1862062 - rework PSM TLS cipher suite telemetry r=jschanck
Differential Revision: https://phabricator.services.mozilla.com/D192402
2023-11-08 21:37:56 +00:00
Dana Keeler 336cd61c68 Bug 1862062 - change some PSM TLS telemetry to opt-out rather than opt-in on release r=jschanck
Differential Revision: https://phabricator.services.mozilla.com/D192401
2023-11-08 21:37:56 +00:00
Dana Keeler cb95888896 Bug 1862062 - remove unnecessary and outdated metadata from PSM telemetry probes r=jschanck
Differential Revision: https://phabricator.services.mozilla.com/D192400
2023-11-08 21:37:55 +00:00
Dana Keeler 9c3e6f0e30 Bug 1862062 - remove expired SSL_CT_POLICY_COMPLIANCE_OF_EV_CERTS telemetry probe r=jschanck
Differential Revision: https://phabricator.services.mozilla.com/D192399
2023-11-08 21:37:55 +00:00
Dana Keeler 70be8fb3b3 Bug 1862062 - remove defunct TLS_ERROR_REPORT_UI telemetry probe r=jschanck
Differential Revision: https://phabricator.services.mozilla.com/D192398
2023-11-08 21:37:54 +00:00
Paul Zuehlcke 0e9dc5fabc Bug 1863701 - Remove SSTabClosing event. r=sessionstore-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D193069
2023-11-08 21:23:38 +00:00
John Schanck e17a30add4 Bug 1861484 - move isUserVerifyingPlatformAuthenticatorAvailable to parent process. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D191998
2023-11-08 21:20:15 +00:00
Norisz Fay ced0683cec Backed out changeset c8561b4726a2 (bug 1852947) for causing bustage on nsClipboardProxy.cpp CLOSED TREE 2023-11-08 23:44:50 +02:00
Dana Keeler 9d4a3c9bdb Bug 1863786 - avoid duplicate symbols in web-platform-test public-key-credential-to-json.https.window.html wpt r=jschanck
Differential Revision: https://phabricator.services.mozilla.com/D193090
2023-11-08 21:10:44 +00:00
Emilio Cobos Álvarez 9f47428819 Bug 1863620 - Make animation traversal work for style roots other than the document element. r=boris
This fixes some flickering when transitioning doc-level anonymous
content.

Differential Revision: https://phabricator.services.mozilla.com/D193046
2023-11-08 20:48:56 +00:00
Mike Hommey ea148c98e5 Bug 1863666 - Downgrade searchfox builds to rustc 1.72. r=firefox-build-system-reviewers,emilio,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D193037
2023-11-08 20:30:06 +00:00
Razvan Cojocaru 37dfc39ae2 Bug 1862306 - Add a test that checks that dragging from a starting position that's not on the thumb. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D192409
2023-11-08 20:14:54 +00:00
Mike Hommey 52c87462c7 Bug 1863485 - Properly update section headers when swapping .rel.plt and .relr.dyn of the same size. r=firefox-build-system-reviewers,sergesanspaille
When .rel.plt and .relr.dyn are the same size, after the section header
for .relr.dyn has been updated, it matches the condition for .rel.plt,
and we ended up undoing the change.

Differential Revision: https://phabricator.services.mozilla.com/D192981
2023-11-08 20:13:13 +00:00
Edgar Chen 820da1024f Bug 1852947 - Redesign the async clipboard read API; r=nika
In bug 1755863, we introduce two async APIs in `nsIClipboard` to make async
clipboard API reads the clipboard data asynchronously. When reading, async
clipboard API first check the available types, and then retrieve the actual data
for that type. This process has a potential race condition: the clipboard content
might change between the time between the time we check the types and when we
retrieve the data. Although we currently fetch the actual data immediately after
checking available types (in line with the spec), this minimizes the chance of
encountering this race condition. However, if we would like to support retrieving
the data only when `getType()` is invoked (bug 1691825), this potential race
condition could become a significant issue.

Furthermore, bug 1777448 aims to have a way to track the clipboard data and suppress
the paste context menu when the clipboard data originates from a same-origin page.
This also requires a better way to track read requests, clipboard content and
invalidate the request when the system's clipboard content is changed.

After some refacting around nsBaseClipboard, all platform now use sequence
number to track clipboard content, so `nsIAsyncGetClipboardData` can be associated
with a sequence number and deemed invalid if the associated sequence number isn't
matched the latest system value.

With these new API, it also becomes possible to write some tests.

Depends on D191409

Differential Revision: https://phabricator.services.mozilla.com/D182108
2023-11-08 20:11:08 +00:00
Jonas Jenwald c3e7ecd99f Bug 1863716 - Remove the remnants of the unused PDF Viewer notification bar. r=pdfjs-reviewers,calixte
The PDF Viewer notification bar became unused in bug 1705327, which is well over two years ago, hence it seems reasonable to stop shipping this code when it's not being used.

Differential Revision: https://phabricator.services.mozilla.com/D193056
2023-11-08 19:34:52 +00:00
Mozilla Releng Treescript f745940004 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
da -> 848555bfe542aae9d390cf24b288d54e79446088
hy-AM -> c5fff064f64b1837bc06e97cb6b341b2a2f79f1c
2023-11-08 19:03:12 +00:00
Emilio Cobos Álvarez 22b27e2d75 Bug 1863620 - Remove a function that should land in one of the other patches in this bug.
MANUAL PUSH: Trivial bustage fix CLOSED TREE
2023-11-08 19:51:53 +01:00
Erich Gubler b86b667049 Bug 1863780: test(webgpu): make CTS green for changes since 2023-11-03 r=webgpu-reviewers,jimb
Differential Revision: https://phabricator.services.mozilla.com/D193089
2023-11-08 18:41:18 +00:00
Heitor Neiva 5b8ba81781 Bug 1856067 - Add macOS provisioning profiles r=releng-reviewers,taskgraph-reviewers,jlorenzo,ahal,mach-reviewers
Depends on D191705

Differential Revision: https://phabricator.services.mozilla.com/D192697
2023-11-08 18:38:36 +00:00