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

911721 Коммитов

Автор SHA1 Сообщение Дата
Boris Chiou f28ff20558 Bug 1889496 - Part 2: Implement CSSStartingStyleRule interface. r=webidl,firefox-style-system-reviewers,layout-reviewers,emilio
Introduce CSSStartingStyleRule and add one extra parsing test for
@starting-style rule.

Differential Revision: https://phabricator.services.mozilla.com/D206564
2024-04-05 21:03:07 +00:00
Boris Chiou 8bc06baebe Bug 1889496 - Part 1: Parse @starting-style rule. r=layout-reviewers,firefox-style-system-reviewers,emilio
We introduce this rule and parse it in this patch. Also, fix some wpt
expectations for ERROR.

We will introduce CSSStartingStyleRule in the following patch, and test
it there.

Differential Revision: https://phabricator.services.mozilla.com/D206428
2024-04-05 21:03:06 +00:00
Boris Chiou a1ca30417e Bug 1889496 - Fix the potential incomplete type when accessing nsPluginElement with RefPtr. r=layout-reviewers,emilio
We may get build bustages for fuzzer/asan build without this change:
`member access into incomplete type 'nsPluginElement'`.

nsMimeTypeArray.h forward-declares the `nsPluginElement` type, so it's not
supposed to have any code that calls methods on instances of that type.
The `do_AddRef` inline function internally calls `AddRef` on the passed-in
thing, so we need to move that to the .cpp file which has the actual type
definition available.

Differential Revision: https://phabricator.services.mozilla.com/D206724
2024-04-05 21:03:06 +00:00
Byron Campen 7fc0ce825d Bug 1818283: Make DOMMediaStream::TrackListener cycle-collected. r=pehrsons
This prevents HTMLMediaElements from being prematurely cycle-collected, and
also makes things a bit safer.

Differential Revision: https://phabricator.services.mozilla.com/D205734
2024-04-05 20:55:53 +00:00
Byron Campen 647fcd0a58 Bug 1818283: Test that GC doesn't collect a video element with a webrtc src stream. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D205733
2024-04-05 20:55:52 +00:00
Joel Maher 1b907a01a9 Bug 1889658 - Remove Windows XP/7 references from some test scripts. r=gbrown,perftest-reviewers,taskgraph-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D206651
2024-04-05 20:47:41 +00:00
Andrew McCreight acd0d42547 Bug 1890021 - Reimplement loginToVanillaObject in content JS. r=credential-management-reviewers,sgalich
This code is being run as content JS because this is in a plain Mochitest, but
it is calling into the chrome JS function LoginHelper.loginToVanillaObject().
That function returns a chrome JS object, so it ends up in a cross-compartment
wrapper (CCW). The code then attempts to send the CCW over JS actor IPC, via
JSActor::SendQuery. That method attempts to structured clone the CCW by calling
into nsFrameMessageManager::GetParamsForMessage(), but structured cloning
can't deal with a CCW to a plain object, so it falls back to the stringify
JSON method. JS_Stringify apparently can deal with a CCW, so it produces
a JSON string which gets turned into a new JS value, which can be successfully
structured cloned.

The goal of this patch is to avoid relying on that JSON fallback for structured
clone. It does this by reimplementing loginToVanillaObject in content JS, so the
resulting object is content JS, so we avoid the CCW.

Differential Revision: https://phabricator.services.mozilla.com/D206809
2024-04-05 20:44:18 +00:00
Lee Salzman f24f2d4861 Bug 1882538 - Convert some TextureClient assertions into warnings. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D206810
2024-04-05 20:35:48 +00:00
Nikki Sharpley 91d3dc863c Bug 1881107 - Remove delay opening context menu due to awaiting fetched devices r=fxview-reviewers,jsudiaman,sfoster
I've moved the call to fetch devices to occur in connectedCallback rather than holding up the context menu toggle function.
https://profiler.firefox.com/from-browser/calltree/?globalTrackOrder=80w7&hiddenGlobalTracks=1w6&hiddenLocalTracksByPid=56852-134~56853-0~56859-0~56860-0~56858-0~56861-0~56857-0~56856-0&thread=c&v=10

Differential Revision: https://phabricator.services.mozilla.com/D205390
2024-04-05 19:53:53 +00:00
Nan Jiang 8512684c46 Bug 1886601 - Wire up the relevancy Rust component r=bdk,ttran,firefox-desktop-core-reviewers ,mconley
Differential Revision: https://phabricator.services.mozilla.com/D205708
2024-04-05 19:33:15 +00:00
Jonathan Kew 4482057789 Bug 1888566 - Move font loader cancellation for individual entries outside the scope of the font-family lock. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D206798
2024-04-05 19:28:31 +00:00
Emilio Cobos Álvarez 089ca4e279 Bug 1889670 - Add code to track accurate allocation size in servo-arc. r=firefox-style-system-reviewers,zrhoffman
See comments.

Differential Revision: https://phabricator.services.mozilla.com/D206659
2024-04-05 19:23:42 +00:00
Sandor Molnar dc0417c889 Backed out changeset 6ceb34e525f4 (bug 1888975) for causing bc failures @ toolkit/mozapps/extensions/test/browser/browser_html_detail_permissions.js CLOSED TREE 2024-04-06 00:11:16 +03:00
Tomislav Jovanovic 86374767c5 Bug 1880162 - Split off portPromises from ProxyMessenger.ports, r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D206231
2024-04-05 19:19:33 +00:00
Florian Quèze 4806eb02d3 Bug 1888483 - Use UniquePtr for PowerCounters::mCounters, r=sergesanspaille,profiler-reviewers,canaltinova.
Differential Revision: https://phabricator.services.mozilla.com/D206370
2024-04-05 19:10:34 +00:00
Florian Quèze fdaacfde35 Bug 1888483 - Support power profiling on Android, r=profiler-reviewers,canaltinova.
Differential Revision: https://phabricator.services.mozilla.com/D206038
2024-04-05 19:10:34 +00:00
Valentin Gosu 7c9f1121a8 Bug 1887614 - Incorrect parsing of <file:.> URL r=edgul,tschuster
Differential Revision: https://phabricator.services.mozilla.com/D206625
2024-04-05 18:59:02 +00:00
Luca Greco b2b3c7855d Bug 1820569 - Implement webRequestAuthProvider permission for webRequest.onAuthRequired. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D206499
2024-04-05 18:55:03 +00:00
Shane Hughes fa713e2883 Bug 1889885 - Fix Review Checker regression caused by no_rdm feature. r=omc-reviewers,hanna_a
Differential Revision: https://phabricator.services.mozilla.com/D206802
2024-04-05 18:54:08 +00:00
Tim Giles 4389dd7da5 Bug 1843627 - Add ref to contributing code doc in quick ref doc. r=sylvestre DONTBUILD
We have the "Contributing to Mozilla projects" link in the quick ref
doc, might as well have a link to the
"How to Contribute Code to Firefox" doc.

Differential Revision: https://phabricator.services.mozilla.com/D206803
2024-04-05 18:52:50 +00:00
alwu 09967a75b0 Bug 1888238 - part6 : make the process of getting capabilities async. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D205893
2024-04-05 18:32:43 +00:00
alwu 8bccbb92be Bug 1888238 - part5 : let MediaKeySystemAccessRequest have its own DecoderDoctorDiagnostics to track its error status. r=jolin
A pre-requirement for making the process of getting capabilities async.

Differential Revision: https://phabricator.services.mozilla.com/D205892
2024-04-05 18:32:43 +00:00
alwu a381a9e129 Bug 1888238 - part4 : move the deprecation function to EMEUtils. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D205891
2024-04-05 18:32:43 +00:00
alwu 2b4eaf4e7d Bug 1888238 - part3 : create a helper class WMFCDMCapabilities to get capabilities asynchronously. r=jolin
In following patches, we will use this new method to replace
`WMFCDMImpl::GetCapabilities()`.

Differential Revision: https://phabricator.services.mozilla.com/D205890
2024-04-05 18:32:42 +00:00
alwu 10d6cce0f9 Bug 1888238 - part2 : make ipdl method 'GetCapabilities()' independent with the MFCDM's key system. r=jolin
In following patches, we will make the method be able to get
capabilities from all different key systems. This is a
pre-requirement refactoring.

Differential Revision: https://phabricator.services.mozilla.com/D205889
2024-04-05 18:32:42 +00:00
alwu a8fb1947ab Bug 1888238 - part1 : refactor 'KeySystemConfig::CreateKeySystemConfigs' for the preparation of making it return an async result. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D205888
2024-04-05 18:32:41 +00:00
Harshit Sohaney 79f048ad1a Bug 1888673 - Add new clearOnShutdown prefs to policy. r=pbz,mkaply
Differential Revision: https://phabricator.services.mozilla.com/D206513
2024-04-05 18:28:47 +00:00
Tomislav Jovanovic 9f75cd6492 Bug 1888975 - Move common optional permissions validation to ExtensionPermissions.sys.mjs r=willdurand
Differential Revision: https://phabricator.services.mozilla.com/D206722
2024-04-05 18:23:36 +00:00
Adam Brouwers-Harries ef3858d5d8 Bug 1889935 - Stub out profiler_lookup_download_directory when MOZ_GECKO_PROFILER is not defined. r=canaltinova,profiler-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D206774
2024-04-05 18:06:05 +00:00
Cosmin Sabou e17a5122e8 Backed out changeset a50f4437c923 (bug 1888880) for crashreporter osx build bustages. CLOSED TREE 2024-04-05 23:23:02 +03:00
Cosmin Sabou 9961676b27 Backed out changeset b4d5b910ccdf (bug 1885993) for bc failures on browser_preferences_usage. 2024-04-05 23:21:58 +03:00
abhishekmadan30 26103d9b93 Bug 1834213 - Fix potential test race condition in UrlQueryStrippingListService#init. r=pbz,anti-tracking-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D206691
2024-04-05 17:56:06 +00:00
Makoto Kato ca7c0f6ea4 Bug 1889508 - Don't override InputConnection.commitText on Samsung Galaxy J7. r=geckoview-reviewers,ohall
It seems to occur unexpected crash on Android 6 with Samsung Galaxy J7
only.

I don't know why Editable.replace throws null pointer exception. As long
as AOSP code, there is no reason to throw it. I guess this causes Samsung's
customizations etc.

So I would like to turn off the optimization by bug 1837931 on Galaxy J7
only.

Differential Revision: https://phabricator.services.mozilla.com/D206519
2024-04-05 17:46:38 +00:00
Tim Giles 5814664326 Bug 1888952 - Add 'buildtokens' mach command. r=reusable-components-reviewers,mach-reviewers,hjones
This new command will make it easier to work with the JSON source of
truth for our design tokens. Unfortunately the noisy output when
building the tokens is expected. We can fix this issue by upgrading
to Style Dictionary v4 when it is available and changing the logging
level.[1]

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1889645

Differential Revision: https://phabricator.services.mozilla.com/D206561
2024-04-05 17:43:11 +00:00
Tim Giles 71d46638de Bug 1889469 - Add 'addstory' command to MACH_COMMANDS. r=reusable-components-reviewers,mstriemer,mach-reviewers
Looks like this command didn't get added to the MACH_COMMANDS list which
means 'addstory' will throw an error when you try and use it.

Differential Revision: https://phabricator.services.mozilla.com/D206548
2024-04-05 17:43:11 +00:00
Alex Franchuk fdff870c5d Bug 1888880 - Add application icons to the crashreporter r=gsvelto
This adds a window/application icon to the linux and windows GUIs.

The icon was already added on macOS, but it is irrelevant right now as
it's run as a background application.

This also changes out the `lazy_static` crate for `once_cell` throughout
the application.

Differential Revision: https://phabricator.services.mozilla.com/D206392
2024-04-05 17:16:55 +00:00
Nika Layzell a3f9d28206 Bug 1887029 - Simplify TabAttributes to explicitly specify supported attributes, r=sessionstore-reviewers,sfoster,dao
The only tab attribute which is ever persisted by SessionStore is
"customizemode". This patch limits the logic to only allow persisting and
restoring this attribute.

The browser_attributes.js test is also updated to use the "customizemode"
attribute for testing, rather than a custom specified attribute.

Differential Revision: https://phabricator.services.mozilla.com/D205481
2024-04-05 16:42:51 +00:00
Nika Layzell 75268ef527 Bug 1886892 - Part 2: Remove non-SHIP cases from SessionStore tests, r=sessionstore-reviewers,sfoster
These cases will no longer be run, as SHIP is always on for desktop firefox, so
can be removed.

Differential Revision: https://phabricator.services.mozilla.com/D205480
2024-04-05 16:42:51 +00:00
Nika Layzell 72006e5961 Bug 1886892 - Part 1: Remove non-SHIP code from desktop SessionStore, r=sessionstore-reviewers,tabbrowser-reviewers,mconley,farre,geckoview-reviewers,owlish
In bug 1804140, we shipped SHIP everywhere on desktop. Unfortunately, we
never removed the now-dead code from SessionStore.

This patch removes the easy to identify SessionStore code for non-SHIP,
now that it is a fully unsupported configuration.

Differential Revision: https://phabricator.services.mozilla.com/D205479
2024-04-05 16:42:51 +00:00
Nipun Shukla ec8eef7f5e Bug 1888958 - Added documentation for building NSIS plugins to source docs r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D206262
2024-04-05 16:35:22 +00:00
Andrew Sutherland e48ed13952 Bug 1634872 - Improve worker import tests. r=dom-worker-reviewers,smaug
Differential Revision: https://phabricator.services.mozilla.com/D84096
2024-04-05 16:29:47 +00:00
Karandeep d65329ee39 Bug 1888905 - Remove the start and discard notifications. r=mak,adw
Differential Revision: https://phabricator.services.mozilla.com/D206238
2024-04-05 16:15:08 +00:00
Erik Nordin 159289ab92 Bug 1889837 - Fix FullPageTranslationsPanel Error Strings r=translations-reviewers,gregtatum
Fixes some call sites where the data-l10n-ids for
some error strings were accidentally renamed to
non-existent strings in the FullPageTranslationsPanel.

Differential Revision: https://phabricator.services.mozilla.com/D206737
2024-04-05 16:00:03 +00:00
Nicolas Silva d66485ea0f Bug 1889873 - Remove IsOpen in favor of CanSend. r=webgpu-reviewers,teoxoy
They are the same and the latter is more self explanatory.
The patch also addresses a couple of Cleanup methods where I forgot to check the bridge pointer.

Differential Revision: https://phabricator.services.mozilla.com/D206785
2024-04-05 15:59:38 +00:00
Otto Länd d460699a68 Bug 1865376, 1881079: apply code formatting via Lando
# ignore-this-changeset
2024-04-05 19:30:53 +00:00
Paul Adenot 891176370c Bug 1881079 - Port 1865376 to the encoding side. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D204274
2024-04-05 15:39:22 +00:00
Paul Adenot 536cd02ca4 Bug 1881079 - Allow reseting a decoder to error out. r=chunmin
It goes like this:
- Configure is called. State is configured.
- Configure fails. It dispatches to the main thread its runnable A to close the
encoder with NOT_SUPPORTED
- Reset is called. State is now Unconfigured.
- Configure is called again
- Configure fails. It dispatches to the main thread its runnable A to close the
encoder with NOT_SUPPORTED
- Runnable from first configure runs, CloseInternal is called, it calls
ResetInternal with NOT_SUPPORTED, State is now Closed
- Runnable from second configure runs, CloseInternal is called, it calls
ResetInternal, this returns an error, and we assert on this at CloseInternal
call site in the lambda.

Differential Revision: https://phabricator.services.mozilla.com/D204273
2024-04-05 15:39:21 +00:00
Paul Adenot d0f6276062 Bug 1881079 - Add a crashtest. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D204272
2024-04-05 15:39:21 +00:00
Paul Adenot ab9687a059 Bug 1881079 - Improve const-correctness on EncoderTemplate and instances. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D204278
2024-04-05 15:39:20 +00:00
Paul Adenot 8bd7580b0a Bug 1881079 - Fix printing of non-ascii when logging encoder configuration. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D204277
2024-04-05 15:39:20 +00:00