868970 Commits

Author SHA1 Message Date
Stanca Serban
5a73b57894 Backed out changeset d88982ef09c8 (bug 1871447) as requested for landing under the wrong bug number and for better understanding of the changes made in the future. CLOSED TREE 2024-01-10 00:31:35 +02:00
Nikki Sharpley
808439ab98 Bug 1864517 - "See tabs from synced devices" should link to the synced tabs category in Firefox View r=fxview-reviewers,markh,kcochrane
Previously the "See tabs from synced devices" button redirected to `about:firefoxview`.

This patch updates the `openTab` function to accept a category instead of an entryPoint or event.

For previous instances where `openTab` passed an event, `openTab` has been replaced with `openToolbarMouseEvent` to handle event.

We should open an issue in FxA to update the following `entryPoint` from "preferences" to "syncedtabs".
2b2ee47c4b/packages/fxa-content-server/app/scripts/views/pair/auth_complete.js (L55-L63)

Depends on D196208

Differential Revision: https://phabricator.services.mozilla.com/D196881
2024-01-09 22:11:25 +00:00
Robert Longson
e2612abe35 Bug 1872907 - stop marking SVG symbol elements as display:none r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D197760
2024-01-09 22:02:13 +00:00
Jonathan Kew
5f3a5d409a Bug 1851952 - Update references for existing reftests where a line-break after hyphen now occurs. r=layout-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D197937
2024-01-09 21:59:56 +00:00
Jonathan Kew
3977755320 Bug 1851952 - Allow line-wrapping after hyphen if necessary to avoid overflow, even if the hyphen would not normally be a break opportunity (e.g. between numerals). r=layout-reviewers,emilio
We don't line-break after a hyphen when it occurs between numerals, like in page or date ranges,
preferring to keep the range together as a unit when wrapping text.

However, if the available space is very narrow, e.g. in a small table cell, this may lead to
undesirable overflow. So to try and avoid this, this patch allows an "emergency" line-break
opportunity (similar to what `overflow-wrap: break-word` would do) after the hyphen in such
a case.

This affects a number of existing reftests, but the changes in behavior make us more like
WebKit/Blink (which generally allow a break after hyphen between numerals) in these cases,
so it seems unlikely to lead to webcompat issues; rather, it will help with existing issues
where people assume the content can wrap.

Differential Revision: https://phabricator.services.mozilla.com/D197936
2024-01-09 21:59:56 +00:00
Jared Hirsch
6468af16a1 Bug 1868602 - Fixes to dedupe shopping surface displayed Glean counts. r=Gijs,tabbrowser-reviewers,mconley
Differential Revision: https://phabricator.services.mozilla.com/D195727
2024-01-09 21:56:37 +00:00
Daniel Holbert
ed467eb996 Bug 1873300: Add overflow:scroll to buttons in a WPT reference case, to match styling in testcase. r=emilio
`overflow:scroll` doesn't add scrollbars to buttons in Firefox right now (per
bug 1873301) but it does add them in other browsers, so we need to include it
in the reference case (matching the testcase) so that the reference case is
valid/robust.

This patch doesn't change the reference case's rendering in Firefox, but it
seems to be sufficient to make this WPT pass in other browsers.

Differential Revision: https://phabricator.services.mozilla.com/D197832
2024-01-09 21:45:25 +00:00
Daniel Holbert
99c503d9ab Bug 1873763: Add 'overflow:hidden' to root scroller in some grid reftests, to avoid running afoul of scrollbar-presence nondeterminism. r=hiro
This is a workaround for an edge-case where the default 'overflow:auto' setup
can lead to a layout with or without a scrollbar, depending on whether the
first layout happens before vs. after the DOM is fully complete.  See
explanations in https://bugzilla.mozilla.org/show_bug.cgi?id=1873763#c0 and in
https://bugzilla.mozilla.org/show_bug.cgi?id=1873749 for more details. This
behavior seems to be common to all major browser engines, so it's probably not
worth worrying about too much, which is why I'm simply working around it in
these tests.

The changes to the -001 test files will address intermittent bug 1522442, and
the changes to the -010 and -011 test files are to address intermittent
bug 1809735.

Differential Revision: https://phabricator.services.mozilla.com/D198080
2024-01-09 21:40:44 +00:00
Nikki Sharpley
51ecff85f5 Bug 1817794 - Remove Firefox View feature pref r=fxview-reviewers,sclements
As we are no longer experimenting with turning this pref on and off and have moved to the newer
implementation of Firefox View, this pref has been removed.

We may want to notify users who prefer this feature hidden.

Differential Revision: https://phabricator.services.mozilla.com/D196887
2024-01-09 21:08:54 +00:00
Nicholas Rishel
4e88da9ecc Bug 1873545 - Correct topic to "alertshow" in ASRouter Toast Notification. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D197973
2024-01-09 21:08:36 +00:00
Stanca Serban
c9bbde88a4 Backed out 2 changesets (bug 1872397) for causing build bustages in nsFilePicker.cpp. CLOSED TREE
Backed out changeset 199101385cfb (bug 1872397)
Backed out changeset 393815a4d499 (bug 1872397)
2024-01-09 23:24:14 +02:00
Nikki Sharpley
f26d7471aa Bug 1869833 - Remove all legacy Firefox View files and assets. r=sfoster,fxview-reviewers,extension-reviewers
- removes all old View related files and assets
- removes legacy telemetry
- removes tests related to prefs that have since been removed
- remove `browser_all_files_referenced.js` exceptions added in Bug 1869833

Depends on D196093

Differential Revision: https://phabricator.services.mozilla.com/D196208
2024-01-09 20:52:58 +00:00
Kelly Cochrane
bb600ec34a Bug 1870703 - Resolve intermittent test failure on Windows 11 for virtual-list updates on window resize r=fxview-reviewers,jsudiaman
Differential Revision: https://phabricator.services.mozilla.com/D197820
2024-01-09 20:45:27 +00:00
Gregory Pappas
7b6b8a038f Bug 1872784 - Remove layout.css.font-display.enabled pref r=jfkthame,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D197558
2024-01-09 20:44:39 +00:00
Joel Maher
23271e7f18 Bug 1859911 - migrate raptor .ini to .toml. r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D197392
2024-01-09 20:43:41 +00:00
Ray Kraesig
57ffe819df Bug 1872397 - [2/2] Refactor to eliminate nested pseudonamespace struct r=win-reviewers,mhowell
As much as I like the "all-static uninstantiable struct" projection of
Rust-style modules, they're an unnecessary weirdness in C++.

Shuffle the code around to just use a collection of nested namespaces.

No functional changes.

Differential Revision: https://phabricator.services.mozilla.com/D197627
2024-01-09 20:36:33 +00:00
Ray Kraesig
97ad91fe45 Bug 1872397 - [1/2] Add telemetry for in-process file-picker fallback r=win-reviewers,mhowell
Add a new Glean event for the out-of-process file-dialog, marking when
it breaks and forces us to fall back to the existing in-process
behavior.

This creates a new nested pseudo-namespace struct, which is just weird
enough that it probably needs to be replaced with a true namespace. That
will be done in the next commit.

Differential Revision: https://phabricator.services.mozilla.com/D197626
2024-01-09 20:36:33 +00:00
Daniel Holbert
eec12e877e Bug 1860705: Use pushPrefEnv instead of setBoolPref in mochitest test_statechange.html. r=eeejay
setBoolPref has a persistent effect for the rest of the test run (potentially
affecting the behavior of other prefs), so we don't want to use
that. This test is currently failing when run in test-verify mode as a result
of this.  With pushPrefEnv, the test will properly undo its pref-modification
when it completes.

Note: I'm moving the pref-toggle statement inside of a function so that I can
use the ergonomic `await` syntax. This is still essentially right at the start
of the test, since `doTests` is the main function here.

Differential Revision: https://phabricator.services.mozilla.com/D197830
2024-01-09 20:22:57 +00:00
Ben Hearsum
5e6ef0e003 Bug 1865845: stop caching mac attribution data in a separate file r=nalexander
This is mostly removing code and tests related to reading/writing the cache file on macOS and updating of tests. Aside from that, the most notable part is the change to `setAttributionString` to automatically prepend `__MOZCUSTOM__` when writing an attribution code. This is mostly done to make things simpler and cleaner in the majority of the tests, but seeing as `getAttributionString` is also aware of it, it seems like a generally nicer way to do this.

Differential Revision: https://phabricator.services.mozilla.com/D197204
2024-01-09 20:21:54 +00:00
Ben Hearsum
ce9d6f5d50 Bug 1865845: refactor attribution code to clearly separate out flows for mac, nsis, and msix r=nalexander
This function has been difficult to read for awhile. This patch cleans it up in preparation to adjust it for the removal of the cache file on macOS.

Differential Revision: https://phabricator.services.mozilla.com/D197203
2024-01-09 20:21:54 +00:00
Ben Hearsum
e44cf24b67 Bug 1865845: verify that xattrs are on .app are preserved across updates r=bytesized,application-update-reviewers,nalexander
We will be relying the `com.apple.application-instance` xattr being preserved for attribution data to be persisted across updates and channel changes. This change adds an extra check to most of the updater tests to ensure that this is the case.

I don't _think_ we need to do anything special here around verifying that it happens for channel changes since those are just regular MARs that happen to include a bit that changes the channel - but I'm happy to add something if it's useful.

Differential Revision: https://phabricator.services.mozilla.com/D197195
2024-01-09 20:21:54 +00:00
Narcis Beleuzu
26f49749a4 Backed out changeset b1f46ae76bf0 (bug 1872907) for causing BP bustages on SVGSymbolFrame.cpp . CLOSED TREE 2024-01-09 22:23:33 +02:00
Narcis Beleuzu
b4faecdec2 Backed out changeset f760cb85cb74 (bug 1871011) as requested by dkeeler 2024-01-09 22:22:31 +02:00
James Teow
ce8decc058 Bug 1872878 - Update search-telemetry-v2 schema with searchPageMatches - r=Standard8
While the new property is essential for matching SERPs, it is required so that the change
can be uplifted this change to other builds and avoid test_search_telemetry_config_validation.js
breaking when search-telemetry-v2.json is updated.

It is probably safer to update the schema on various builds, and only land the code changes
that depend on the update to search-telemetry-v2 on Nightly so that if we encounter an error
in search telemetry, its impact is minimal.

We can always update the schema to include the new property in required when all clients
have an updated search-telemetry-v2 dump.

Differential Revision: https://phabricator.services.mozilla.com/D197746
2024-01-09 20:05:58 +00:00
Catherine
f0978e95f5 Bug 1873656 - Fix typo "sticked" -> "stuck". r=truber DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D198040
2024-01-09 19:24:54 +00:00
Narcis Beleuzu
b7ba2ef9c7 Backed out 3 changesets (bug 1865845) for bc failures on browser_AttributionCode_telemetry.js . CLOSED TREE
Backed out changeset 4f799b89c628 (bug 1865845)
Backed out changeset e825fb03ff56 (bug 1865845)
Backed out changeset 9a8c396a22db (bug 1865845)
2024-01-09 21:26:48 +02:00
Narcis Beleuzu
a8c700aee3 Backed out 2 changesets (bug 1851952) for reftest failure on hyphens-1.html
Backed out changeset e6e18eed2d76 (bug 1851952)
Backed out changeset 3c81bf22f846 (bug 1851952)
2024-01-09 21:15:52 +02:00
Mozilla Releng Treescript
2f962cf032 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
bg -> e84076a8a3ac4e206c59a5340033e85611c555a8
br -> 01f2a9c6ef734b84b252709c91aa41aa818ed94a
de -> 8e4986a042cf447ce038a198dcdac2f8cbdce03f
nn-NO -> 10c0dd9f91e55dfd07eaa67d7dacb2001d9f7e02
pt-BR -> 2a8a8fc2dd794379bbec4f7a8b5c8c1c67e67ab2
tr -> dab423c1b84aaa23f3157a16f5bec6086e41159b
2024-01-09 19:01:03 +00:00
Robert Longson
6841504948 Bug 1872907 - stop marking SVG symbol elements as display:none r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D197760
2024-01-09 18:24:38 +00:00
Jonathan Kew
49824bb547 Bug 1851952 - Update references for existing reftests where a line-break after hyphen now occurs. r=layout-reviewers,emilio
Depends on D197936

Differential Revision: https://phabricator.services.mozilla.com/D197937
2024-01-09 18:07:17 +00:00
Jonathan Kew
8689d9591e Bug 1851952 - Allow line-wrapping after hyphen if necessary to avoid overflow, even if the hyphen would not normally be a break opportunity (e.g. between numerals). r=layout-reviewers,emilio
We don't line-break after a hyphen when it occurs between numerals, like in page or date ranges,
preferring to keep the range together as a unit when wrapping text.

However, if the available space is very narrow, e.g. in a small table cell, this may lead to
undesirable overflow. So to try and avoid this, this patch allows an "emergency" line-break
opportunity (similar to what `overflow-wrap: break-word` would do) after the hyphen in such
a case.

This affects a number of existing reftests, but the changes in behavior make us more like
WebKit/Blink (which generally allow a break after hyphen between numerals) in these cases,
so it seems unlikely to lead to webcompat issues; rather, it will help with existing issues
where people assume the content can wrap.

Differential Revision: https://phabricator.services.mozilla.com/D197936
2024-01-09 18:07:17 +00:00
Jonathan Kew
804ccfe3b8 Bug 1873680 - Use a strongly-typed enum class instead of raw integer indexes for selection style lookup in nsTextPaintStyle. r=layout-reviewers,emilio
This should not change any behavior.

Differential Revision: https://phabricator.services.mozilla.com/D198030
2024-01-09 18:06:12 +00:00
Connor Sheehan
4a83ca270c Bug 1856590: create a function to return --remotes arg and use in get_branch_nodes r=ahochheiden
In bug 1866395 I added a function to return the canonical Firefox
remote and use it when determining the base ref. I overlooked
that this also needs to be used for `get_branch_nodes` to avoid
returning a set of branch nodes that doesn't begin from the same
base ref. Move the building of the `--remotes` arg to a separate
function and use it in `get_branch_nodes`.

Differential Revision: https://phabricator.services.mozilla.com/D198032
2024-01-09 18:04:09 +00:00
Connor Sheehan
7ce68fd0c5 Bug 1871425: disable Lando autoformatting r=TYLin DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D198044
2024-01-09 17:59:10 +00:00
Ben Hearsum
cf8b861503 Bug 1869384: re-enable attributable builds for macOS r=releng-reviewers,taskgraph-reviewers,gbrown,hneiva
This was disabled in https://bugzilla.mozilla.org/show_bug.cgi?id=1862703 while we waited for dynamic attribution to be ready. This is now just about done, and we need to start shipping the attributable builds soon.

Differential Revision: https://phabricator.services.mozilla.com/D196088
2024-01-09 17:57:39 +00:00
Alexandre Poirot
3a7e238d3b Bug 1873007 - [devtools] Show the reason why the JS tracer stopped. r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D197660
2024-01-09 17:49:02 +00:00
Alexandre Poirot
9afad8393d Bug 1870801 - [devtools] Allow limiting depth and max top level frames when tracing javascript. r=devtools-reviewers,nchevobbe,fluent-reviewers,flod
These two settings are only available via the web console commands as they expect number as arguments
which is hard to implement via the context menu on the debugger button.

Move stdout logging to a dedicated method as onEnterFrame reached eslint complexity limit.

Differential Revision: https://phabricator.services.mozilla.com/D196832
2024-01-09 17:49:02 +00:00
Alexandre Poirot
2124160fff Bug 1870801 - [devtools] Log JS tracer start/stop, even when not initiated from console command. r=devtools-reviewers,nchevobbe
The JavaScript Tracer may be initiated by the debugger, or stoped by itself when reaching some limit.
In these cases, the start and stop messages wouldn't have been logged in the console.

Differential Revision: https://phabricator.services.mozilla.com/D196831
2024-01-09 17:49:01 +00:00
Sandor Molnar
19cfb1bddc Backed out changeset 41ae953b0227 (bug 1866098) for causing bug 1873667 CLOSED TREE 2024-01-09 19:50:37 +02:00
Itiel
630b1a8f1f Bug 1869574 - Refactor the headerText setter to cater for more panelview needs r=twisniewski,Gijs,translations-reviewers
This introduces `mainview-with-header` attribute for panels that their
mainview should have a header (no matter where they appear); and
`has-custom-header` for panels that their panelview (not necessarily a
mainview) has a custom design for a header, one that headerText setter
can't anticipate in advance (due to UX needs that may arise).
If one of these attributes are set on the panel, this signals headerText
that the panelview's header should NOT be removed and that the markup
should be respected.

Differential Revision: https://phabricator.services.mozilla.com/D196671
2024-01-09 17:01:25 +00:00
Gabriele Svelto
60e4672370 Bug 1873665 - Include the HANDLE data stream in Windows minidumps r=afranchuk
Differential Revision: https://phabricator.services.mozilla.com/D198027
2024-01-09 16:44:27 +00:00
Barret Rennie
4c1a2eca24 Bug 1784923 - Require variables field for feature definitions r=emcminn
Differential Revision: https://phabricator.services.mozilla.com/D197210
2024-01-09 16:20:51 +00:00
Benjamin VanderSloot
57b9951a5d Bug 1872896 - Add deprecation console message for cookies that are foreign and not Partitioned - r=timhuang,cookie-reviewers,anti-tracking-reviewers
In order to do this, I had to alter how we do third-party cookie blocking under CHIPS + TCP.

Before we performed the block in CheckPrefs, where we haven't parsed the cookie header (which can have multiple cookie lines) yet.
Instead, I added a new argument into CanSetCookie, which says if the cookie needs to be partitioned to be accepted (TCP && foreign && not unpartitioned).
Then inside of CanSetCookie, if that is set we warn in the console and drop the cookie if the CHIPS preference is set. The warning changes based on that pref too.

Differential Revision: https://phabricator.services.mozilla.com/D197711
2024-01-09 15:52:30 +00:00
hsingh
79dda86c11 Bug 1863990: Created new helpers in quota_test_case.py.r=janv,dom-storage-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D195498
2024-01-09 15:42:26 +00:00
Jonathan Sudiaman
aeee249a4b Bug 1867828 - Find in Page shortcut should focus on search input in Firefox View r=fxview-reviewers,sclements
Disable Find in Page in Firefox View, intercept `Ctrl + F` event to focus the search textbox.

https://treeherder.mozilla.org/#/jobs?repo=try&revision=42e21485cf747dca611eb63c453438c8a3d13206

Differential Revision: https://phabricator.services.mozilla.com/D197790
2024-01-09 15:38:15 +00:00
Ben Hearsum
352258de42 Bug 1865845: stop caching mac attribution data in a separate file r=nalexander
This is mostly removing code and tests related to reading/writing the cache file on macOS and updating of tests. Aside from that, the most notable part is the change to `setAttributionString` to automatically prepend `__MOZCUSTOM__` when writing an attribution code. This is mostly done to make things simpler and cleaner in the majority of the tests, but seeing as `getAttributionString` is also aware of it, it seems like a generally nicer way to do this.

Differential Revision: https://phabricator.services.mozilla.com/D197204
2024-01-09 15:38:04 +00:00
Ben Hearsum
8d7a597741 Bug 1865845: refactor attribution code to clearly separate out flows for mac, nsis, and msix r=nalexander
This function has been difficult to read for awhile. This patch cleans it up in preparation to adjust it for the removal of the cache file on macOS.

Differential Revision: https://phabricator.services.mozilla.com/D197203
2024-01-09 15:38:03 +00:00
Ben Hearsum
5ca1ae8761 Bug 1865845: verify that xattrs are on .app are preserved across updates r=bytesized,application-update-reviewers,nalexander
We will be relying the `com.apple.application-instance` xattr being preserved for attribution data to be persisted across updates and channel changes. This change adds an extra check to most of the updater tests to ensure that this is the case.

I don't _think_ we need to do anything special here around verifying that it happens for channel changes since those are just regular MARs that happen to include a bit that changes the channel - but I'm happy to add something if it's useful.

Differential Revision: https://phabricator.services.mozilla.com/D197195
2024-01-09 15:38:03 +00:00
William Durand
1233bb68b3 Bug 1872169 - Honor extensions.update.enabled pref in GeckoView. r=amejiamarmol,rpl,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D197896
2024-01-09 15:33:04 +00:00
Lee Salzman
cb94ee0aa5 Bug 1873075 - Delay UnregisterTextureOwner until all potential UseRemoteTextures are received. r=aosmond
UnregisterTextureOwner, if called before any use of UseRemoteTexture, can cause UseRemoteTexture to wait
for the texture owner to be created, since the texture owner does not exist, and there is no evidence it
was previously unregistered.

This patch attempts to address the issue by delaying the actual UnregisterTextureOwner until all such
UseRemoteTexture instances are processed. This is accomplished by noting that UseRemoteTexture ops come
in via transactions from a CompositableForwarder and so all are associated with a forwarder transaction
with a FwdTransactionId. RecordedTextureData on destruction reports the last FwdTransactionId associated
with its final UseRemoteTexture before it attempts to call UnregisterTextureOwner. If RemoteTextureMap
has not been notified of a given FwdTransactionId yet, then the UnregisterTextureOwner call will be
deferred until it has seen this FwdTransactionId.

This adds a RemoteTextureTxnScheduler to track the issuing of dependencies and waiting for FwdTransactionIds.

This patch also cleans up the issuing of FwdTransactionIds themselves to be associated with a given
top-level protocol so that all sub-protocols have transaction numbers that can be safely compared amongst
each other. This makes dependency expiration more robust since any advancement of the transaction number
from any source can help retire expired dependencies.

Differential Revision: https://phabricator.services.mozilla.com/D197895
2024-01-09 15:24:54 +00:00