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

864568 Коммитов

Автор SHA1 Сообщение Дата
Alex Jakobi 91a6e5b8ff Bug 1560024 - Use sticky axis locking on mobile. r=botond,geckoview-reviewers,owlish
Differential Revision: https://phabricator.services.mozilla.com/D194430
2023-11-23 18:40:55 +00:00
Mike Conley 5660daf955 Bug 1529276 - Add the ability to enable the new Windows Jump List mechanism via Experimenter. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D193694
2023-11-23 18:28:33 +00:00
Mike Conley 95b7f2040e Bug 1529276 - Limit the IShellLinkW description to MAX_PATH. r=mhowell,win-reviewers
According to the Microsoft documentation, this is the maximum length
of the string allowed for the description property of an IShellLinkW.
This also adds a test for long descriptions to ensure that they are
properly truncated.

This patch also:

- Adjusts the tests a little bit to be less race-y, particularly with the
  SetAppID routine in the JumpListBuilder constructor.

- Fixes the issue where the tests weren't properly copying in the intended
  strings for test titles and descriptions.

Differential Revision: https://phabricator.services.mozilla.com/D193693
2023-11-23 18:28:32 +00:00
Mike Conley 3a84ac2989 Bug 1529276 - Write Gtests for the new JumpListBuilder. r=mhowell,bhearsum,win-reviewers
We use a mock JumpListBackend to act as a stand-in for the win32 API
for populating the JumpList, and test that it gets called with the
expected arguments for each major function of JumpListBuilder.

Differential Revision: https://phabricator.services.mozilla.com/D189407
2023-11-23 18:28:32 +00:00
Mike Conley 1fd405291e Bug 1529276 - Update WindowsJumpList module to select the jump list backend via a pref. r=mhowell,bhearsum
In practice, we have never enabled showing the "Recent" list in the Jump
List, and have only ever shown "Frequent" by default. For now, we only
implement "Frequent".

The "Frequent" SQL query was derived by examining
nsNavHistory::ConstructQueryString and deriving the resulting SQL
query string that the original frequent visits query was using.
This is as opposed to using the actual original buildFrequent
routine, as that uses deprecated Places APIs.

Differential Revision: https://phabricator.services.mozilla.com/D189406
2023-11-23 18:28:32 +00:00
Mike Conley 131e0c53af Bug 1529276 - Create a new JumpListBuilder implementation that is simpler and doesn't block the main thread. r=mhowell,win-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D181675
2023-11-23 18:28:31 +00:00
Mike Conley fb7f92f4a0 Bug 1529276 - Rename the old Windows jump list mechanism to LegacyJumpListBuilder. r=mhowell,bhearsum,win-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D181674
2023-11-23 18:28:31 +00:00
Stanca Serban 41f7486e5f Backed out 2 changesets (bug 1670633) as requested for causing Bug 1866014. CLOSED TREE
Backed out changeset be8e9a8eaa80 (bug 1670633)
Backed out changeset bace8b9c91dc (bug 1670633)
2023-11-23 20:03:07 +02:00
Manuel Bucher 136d9ce7a4 Bug 1866041 - Add http/3 upload speed preset to about:logging r=necko-reviewers,fluent-reviewers,kershaw,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D194377
2023-11-23 17:49:39 +00:00
Katherine Patenio 0d75435c36 Bug 1858762 - add animation on sidebar expand/collapse r=desktop-theme-reviewers,shopping-reviewers,dao,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D192903
2023-11-23 17:46:44 +00:00
Mike Conley b3bcb92854 Bug 1866295 - Land new strings for ASRouter spotlight message to encourage users without FxA accounts to create one. r=aminomancer,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D194547
2023-11-23 17:30:08 +00:00
Kagami Sascha Rosylight aabf259365 Bug 1849860 - Keep UnderlyingSourceAlgorithms alive until it's explicitly closed r=smaug,asuth
1. Adding mAsyncWaitAlgorithms to match mAsyncWaitWorkerRef and keep the algorithms object just like how the workerref is kept right now.
2. Closing mInput also on the window teardown, to prevent memory leak as Fetch does not close the stream automatically.

Depends on D193295

Differential Revision: https://phabricator.services.mozilla.com/D190058
2023-11-23 17:17:40 +00:00
Kagami Sascha Rosylight 406c01bc16 Bug 1862244 - Add GlobalTeardownHelper r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D193295
2023-11-23 17:17:39 +00:00
Narcis Beleuzu 66d0e3cac0 Backed out 2 changesets (bug 1816258) for bustages on WebSocketChannel.cpp . CLOSED TREE
Backed out changeset 872aa271adfd (bug 1816258)
Backed out changeset 8e259edabb62 (bug 1816258)
2023-11-23 19:14:52 +02:00
Emilio Cobos Álvarez 76f6266d3b Bug 1784757 - Wait for one frame before asserting restyling state. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D194209
2023-11-23 16:52:58 +00:00
Andrew Creskey 64727bead0 Bug 1816258 - Add wpt tests for Websocket repeated failures to same address r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D193465
2023-11-23 15:54:32 +00:00
Andrew Creskey 7d8b067953 Bug 1816258 - Websocket opening takes ages after repeated failures to same address r=necko-reviewers,valentin
Although our implementation follows the intention of rfc6455#section-4.1, we can handle the described situation more gracefully by prioritizing new WS connections to paths that have _not_ previously failed.

Differential Revision: https://phabricator.services.mozilla.com/D193386
2023-11-23 15:54:31 +00:00
Jim Blandy 2066c0bf96 Bug 1859673: Document that Rust and C++ use compatible heap allocators in Firefox. r=firefox-source-docs-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D191254
2023-11-23 15:49:40 +00:00
Dão Gottwald 5e3a2ed049 Bug 1853896 - Hide non-overlink statuses in DOM fullscreen. r=Gijs
This is the first of two planned fixes. For bug 1850993 ("The link URL status bar often gets stuck on YouTube (persists into full screen mode and beyond)"), I want to make it so that we invalidate any existing status as we go fullscreen, without suppressing new overlink statuses while in DOM fullscreen; I checked Chrome and it shows overlink statuses in DOM fullscreen too.

Differential Revision: https://phabricator.services.mozilla.com/D193922
2023-11-23 15:32:52 +00:00
Mirko Brodesser cfdd6e8bcb Bug 1865610: part 6) Separate tests for `<link rel=preload as=font>` from other preload tests. r=valentin
Allows the separate tests to pass. Otherwise passes are shadowed by
failures. The next parts make use of that.

The tests for images might be adapted in a following part to match the
priorities at
<https://web.dev/articles/fetch-priority#browser_priority_and_fetchpriority>.

Differential Revision: https://phabricator.services.mozilla.com/D193435
2023-11-23 14:45:22 +00:00
Mirko Brodesser 9df16ef139 Bug 1865610: part 5) Separate tests for `<link rel=preload as=fetch>` from other `<link rel=preload>` tests. r=valentin
Allows passing the separated tests once `as=fetch` is supported, which
will happen in a following part.

For interoperability the expectations for `as=fetch` are adapted too
(https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/web_tests/http/tests/priority-hints/link-preload-initial-load.html;l=39-52;drc=a7b04c9f4d4083e8e1a9d3ba15ba8030fe819719).

Differential Revision: https://phabricator.services.mozilla.com/D192332
2023-11-23 14:45:22 +00:00
Mirko Brodesser 135eba69cf Bug 1865610: part 4) Add `fetchpriority` attribute support for `rel=modulepreload` and `rel=preload as=script`. r=smaug,valentin
Differential Revision: https://phabricator.services.mozilla.com/D192331
2023-11-23 14:45:21 +00:00
Yury Delendik cf0128dfe7 Bug 1866252 - Disable tails call test if WebAssembly.Function is not available. r=jpages
Differential Revision: https://phabricator.services.mozilla.com/D194521
2023-11-23 14:43:52 +00:00
Mirko Brodesser c7f6b261d8 Bug 1865610: part 3) Add `fetchpriority` attribute support for preloaded stylesheets. r=smaug,emilio,necko-reviewers,jesup
Includes corresponding Link header fields.

Differential Revision: https://phabricator.services.mozilla.com/D191866
2023-11-23 14:36:12 +00:00
Mirko Brodesser 49a3f2c3eb Bug 1865610: part 2) Separate tests for `<link rel=preload as=style>` and corresponding `Link` header tests from other `as=` tests. r=emilio
This allows enabling the style tests in a following part. The other
tests can be separated when needed.

Differential Revision: https://phabricator.services.mozilla.com/D191746
2023-11-23 14:36:11 +00:00
Mirko Brodesser ac16c226e0 Bug 1865610: part 1) Add partial support for the "fetchpriority" attribute for loading style sheets from `<link>` elements or `Link` header fields. r=smaug,emilio,valentin
Includes only support for dynamically loading style sheets from `<link>`
elements and `Link` header fields.
The remaining support, including preloading, is completed in part 3.

Differential Revision: https://phabricator.services.mozilla.com/D191745
2023-11-23 14:36:11 +00:00
ffxbld 01232ad8e6 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D194516
2023-11-23 14:30:08 +00:00
Greg Mierzwinski 63a5381a68 Bug 1866055 - Apply backstop optimization for mozperftest tasks. r=kshampur,perftest-reviewers,taskgraph-reviewers,ahal DONTBUILD
This patch adds a transform that applies the backstop optimization strategy to all perftest tasks. At the same time, the tier for all perftest tasks is limited here to tier 2, and 3. We shouldn't have any tier 1 tasks running at this stage.

Differential Revision: https://phabricator.services.mozilla.com/D194378
2023-11-23 14:14:07 +00:00
Julien Cristau 8c9523c0eb Bug 1866258 - fix release-partner-attribution-beetmover task schema. r=ahal,taskgraph-reviewers,releng-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D194514
2023-11-23 14:12:48 +00:00
James Hendry 5f24f5b790 Bug 1739307 - [mozbase-rust] Use thiserror crate. r=webdriver-reviewers,jgraham,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D193352
2023-11-23 13:50:00 +00:00
Sarah Clements b8cd7eaa7f Bug 1848459 - add telemetry to count closed tabs lost in session restore r=sfoster,sessionstore-reviewers
* Add histogram to sessionrestore code to count how often and the number of
closed tabs that aren't saved on window close due to no open saveable tabs
* Add test coverage

Differential Revision: https://phabricator.services.mozilla.com/D193055
2023-11-23 13:38:06 +00:00
Emilio Cobos Álvarez 4ab2bf820c Bug 1866239 - Do the UTF16->UTF8 conversion in IOUtils in the background thread. r=smaug
See the profile in the blocked bug, this is about half of the time spent
there. It doesn't help with the json serialization being slow (maybe
huge object graph?), but should be an easy win.

Differential Revision: https://phabricator.services.mozilla.com/D194476
2023-11-23 13:03:57 +00:00
Luca Greco f98ce05e32 Bug 1865840 - AbuseReport button should be shown for dictionaries when the AMO port is enabled. r=willdurand
Differential Revision: https://phabricator.services.mozilla.com/D194382
2023-11-23 12:15:48 +00:00
Kershaw Chang fbad32a5f2 Bug 1865633 - Process HTTP/3 server output immediately, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D194083
2023-11-23 12:10:33 +00:00
Emilio Cobos Álvarez 231bc44aa2 Bug 1864442 - Add a more exhaustive test for the kind of expression tested in calc-complex-sign-function-crash.html. r=tlouw
Rather than just test that it didn't crash.

Differential Revision: https://phabricator.services.mozilla.com/D194074
2023-11-23 11:35:10 +00:00
Kagami Sascha Rosylight f6c394d464 Bug 1865640 - Part 2: Grab StrongWorkerRef in StartConsuming instead of Create r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D194090
2023-11-23 11:34:25 +00:00
Kagami Sascha Rosylight f26d8fb5ba Bug 1865640 - Part 1: Drop SCRIPT_HOLDER from FetchStreamReader r=smaug
It's not holding any JS objects anymore, probably since the migration to DOM streams.

Differential Revision: https://phabricator.services.mozilla.com/D194089
2023-11-23 11:34:25 +00:00
Nicolas Chevobbe 568c17e7f0 Bug 1844058 - [devtools] Use <button> for Rules view filter property icon. r=devtools-reviewers,accessibility-frontend-reviewers,ayeddi,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D193290
2023-11-23 11:14:52 +00:00
Nicolas Chevobbe d54ad20f82 Bug 1844053 - [devtools] Make selector highlighter icon keyboard accessible. r=devtools-reviewers,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D190262
2023-11-23 11:14:52 +00:00
Nicolas Chevobbe 433c9f4430 Bug 1844055 - [devtools] Make property-toggle checkbox keyboard accessible. r=devtools-reviewers,accessibility-frontend-reviewers,ochameau,morgan.
Differential Revision: https://phabricator.services.mozilla.com/D192059
2023-11-23 11:14:51 +00:00
Nicolas Chevobbe ea9659c687 Bug 1861674 - [devtools] Change focus behavior for inplace editor in the Rules view. r=devtools-reviewers,ochameau.
For the selector, property name and property value editors, we don't want the
Enter key to trigger editing the next inplace editor.
We only want to close the current editor and focus the associated element so the
user can use regular keyboard navigation.
We still want the Tab key to trigger "editor navigation", so we pass the appropriate
options to editableField.

Existing test that were not specifically asserting the moving focus behaviour
are updated. If they were using Enter only to commit and move to the next input,
we update them to use Tab instead.

Differential Revision: https://phabricator.services.mozilla.com/D193287
2023-11-23 11:14:51 +00:00
Nicolas Chevobbe 7fc2621b13 Bug 1861674 - [devtools] Add InplaceEditor options to move focus to next editor when commiting. r=devtools-reviewers,ochameau.
By default, when hitting Tab (and Enter if `stopOnReturn` is false), the focus
is moved to the next (previous if Shift+Tab) focusable element.
If such element is also an inplace editor, then we trigger the editing.
Here, we're adding options so the focus will try to move to the next inplace
editor, even if there are other focusable items before it.
When the option is set to true, we require a mandatory selector that matches
an element onto which we are searching for inplace editors to focus, so we
don't move the focus indefinitely.

Differential Revision: https://phabricator.services.mozilla.com/D193194
2023-11-23 11:14:51 +00:00
Emilio Cobos Álvarez 8a5d8dc30a Bug 1866063 - Prevent flickering of the source editor by hiding it till loaded. r=devtools-reviewers,nchevobbe
Much like we we do here:

  https://searchfox.org/mozilla-central/rev/d7f837add602d270f2b2958b3ab5206dc85965c0/devtools/client/framework/toolbox.js#2605

This is not an ideal fix but it fixes the immediate flicker.

The real fix would be addressing
https://github.com/w3c/csswg-drafts/issues/9624

Depends on D194395

Differential Revision: https://phabricator.services.mozilla.com/D194396
2023-11-23 11:05:53 +00:00
Tiaan Louw d620fedce4 Bug 1864258 - HSL and HWB syntax should allow numbers as well as percentage r=layout-reviewers,emilio
https://drafts.csswg.org/css-color-4/#the-hsl-notation
https://drafts.csswg.org/css-color-4/#the-hwb-notation

Change to the accepted types for the components are  discussed here:
https://github.com/w3c/csswg-drafts/issues/8322

Differential Revision: https://phabricator.services.mozilla.com/D193347
2023-11-23 10:42:48 +00:00
Jan Horak 593738583c Bug 1860269 Implement org.freedesktop.portal.Inhibit for wakelock listener; r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D192364
2023-11-23 10:32:26 +00:00
Emilio Cobos Álvarez 77d0bd4d37 Bug 1866063 - Always use an HTML iframe for codemirror. r=devtools-reviewers,nchevobbe
Using a XUL iframe introduces some flickering with about:blank that I
don't think I want to dig into much. Just use HTML here.

Depends on D194394

Differential Revision: https://phabricator.services.mozilla.com/D194395
2023-11-23 10:06:48 +00:00
Emilio Cobos Álvarez 53f0f885d2 Bug 1866063 - Simplify codemirror editor iframe set-up. r=devtools-reviewers,nchevobbe
This doesn't change behavior but makes it easier to reason about.

Differential Revision: https://phabricator.services.mozilla.com/D194394
2023-11-23 09:57:15 +00:00
Tiaan Louw 06e7aeea7a Bug 1864258 - Change HSL and HWB to store components as numbers r=emilio,layout-reviewers
The second and third components for HSL and HWB are stored as
percentages in the range [0..1], but as part of the change to allow
numbers for those two components, in addition to percentages, they now
act like all the other <number-or-percentage> components and should be
stored as numbers. The numbers are now in the range [0..100].

https://drafts.csswg.org/css-color-4/#the-hsl-notation
https://drafts.csswg.org/css-color-4/#the-hwb-notation

Change to the accepted types for the components are  discussed here:
https://github.com/w3c/csswg-drafts/issues/8322

Differential Revision: https://phabricator.services.mozilla.com/D193664
2023-11-23 09:53:29 +00:00
Valentin Gosu a17c836a5d Bug 1858570 - Add WPT for scheme relative URLs starting with multiple slashes r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D190785
2023-11-23 08:17:02 +00:00
Sam Foster 2cd97ee94c Bug 1863783 - Ensure fxview page content only listens/observes and renders updates when visible. r=fxview-reviewers,sclements,jsudiaman
* Add a type=page to the top-level ViewPage instances
* Rename viewTabVisibleCallback and viewTabHiddenCallback to view*Callback and call each when selectedness or visiblity changes
* Ensure active view/pages are always properly initialized during page load and category switching
* Add a test to verify no mutations happen when tabs change while firefox view is inactive
* Fix tests to better account for loading and readiness sequence when activating firefox view

Differential Revision: https://phabricator.services.mozilla.com/D193744
2023-11-23 07:57:33 +00:00