Commit Graph

917997 Commits

Author SHA1 Message Date
Andrew Osmond
ef5511ef68 Bug 1896758 - Part 1. Make MediaDataEncoder refcounting virtual. r=media-playback-reviewers,padenot
This patch makes MediaDataEncoder declare its refcounting as virtual.
This will allow a future patch in this series to add subclasses that
have multiple superclasses using refcounting.

Differential Revision: https://phabricator.services.mozilla.com/D211650
2024-05-27 17:03:11 +00:00
Andrew Osmond
f6fbab7de5 Bug 1899043 - Ensure we consistently teardown GMP video decoder state. r=media-playback-reviewers,padenot
This patch makes it so we are consistent in how we teardown the GMP
video decoder, in particular when we encounter an error callback from
the plugin. We may fail during a call to initialize the decoder for
example, and should not attempt to use any GMP APIs on our proxy after
it because its internal state is default initialized and it doesn't
check always for null pointers.

Differential Revision: https://phabricator.services.mozilla.com/D211679
2024-05-27 17:03:11 +00:00
sotaro
a17e341822 Bug 1899096 - Update FwdTransactionTracker::mFwdTransactionId in ShareableCanvasRenderer::UpdateCompositableClient() even when canvas is not dirty r=gfx-reviewers,lsalzman
ShareableCanvasRenderer::UpdateCompositableClient() does not update FwdTransactionTracker::mFwdTransactionId when canvas is not dirty. It caused small emoteTextureTxnId in RecordedTextureData::~RecordedTextureData(). It caused too early remote texture owner removal. And it caused Bug 1898650 comment 2.

Differential Revision: https://phabricator.services.mozilla.com/D211713
2024-05-27 16:39:17 +00:00
Niklas Baumgardner
82745ae4d2 Bug 1897371 - Handle selectionchange events in screenshots overlay.r=kcochrane
Differential Revision: https://phabricator.services.mozilla.com/D210813
2024-05-27 16:38:53 +00:00
Niklas Baumgardner
16de0305a2 Bug 1893693 - Create SelectableProfile and SelectableProfileService. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D210201
2024-05-27 16:36:43 +00:00
Niklas Baumgardner
30fdfcf7c3 Bug 1897208 - Set config for MOZ_SELECTABLE_PROFILES for JS module loading. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D210684
2024-05-27 16:36:43 +00:00
Paul Adenot
e3090f78ae Bug 1898769 - Reaply patches on libcubeb. r=cubeb-reviewers,pehrsons
Depends on D211568

Differential Revision: https://phabricator.services.mozilla.com/D211569
2024-05-27 16:01:02 +00:00
Paul Adenot
f8d426a8ae Bug 1898769 - Update libcubeb to revision dabff. r=cubeb-reviewers,pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D211568
2024-05-27 16:01:02 +00:00
Cristian Tuns
fc392b89ab Backed out changeset 9b708a1dc402 (bug 1890748) for causing bc failures in browser_permission_delegate_geo.js CLOSED TREE 2024-05-27 12:25:10 -04:00
mcarare
e76ec3b41e Bug 1809824 - Properly check collection size before deleting tab. r=android-reviewers,boek
Differential Revision: https://phabricator.services.mozilla.com/D211050
2024-05-27 15:46:47 +00:00
Julien Cristau
5e0f155a42 Bug 1899142 - don't show android-components dummy tasks on treeherder. r=aryx,releng-reviewers,bhearsum
These tasks will never fail, and don't have logs, so having them on
treeherder can be confusing.

Rename `post-signing` to `post-signing-dummy` to benefit from the
special handling in `verify_dependency_tiers`.

Differential Revision: https://phabricator.services.mozilla.com/D211746
2024-05-27 15:45:53 +00:00
Cristian Tuns
b8e588ce76 Backed out changeset 42e1983d8cae (bug 1784963) for causing mochitest failures in test_beaconContentPolicy.html CLOSED TREE 2024-05-27 11:18:43 -04:00
Jonathan Watt
69329d0484 Bug 1897619 p2. Enable layout.css.anchor-positioning.enabled for css/css-anchor-position/position-anchor-basics.html. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D210883
2024-05-27 14:43:11 +00:00
Jonathan Watt
9fe31d66da Bug 1897619. Implement parsing of CSS 'position-anchor' property. r=emilio,firefox-style-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D210880
2024-05-27 14:43:11 +00:00
andrej
fd6895e3b6 Bug 1898351 - Disable chrome responsiveness tests. r=perftest-reviewers,taskgraph-reviewers,gbrown,kshampur
Chrome responsiveness test have been running every Monday, Wednesday, and Friday on the general_perf_testing cron
We have been exeriencing issues with these tests, and this patches disables their running on the GPT cron

Differential Revision: https://phabricator.services.mozilla.com/D211279
2024-05-27 14:39:07 +00:00
andrej
aebc4d8d9e Bug 1836287 - Run essential pageload tests on android chrome in CI. r=perftest-reviewers,kshampur,taskgraph-reviewers,gbrown
As part of our okr goals of being competative in pageload we are running essential pageload tests on chrome on android to have an idea of how we compare to chrome on android

Differential Revision: https://phabricator.services.mozilla.com/D209981
2024-05-27 14:38:27 +00:00
Cristian Tuns
acd8a13933 Backed out changeset d07e792e7623 (bug 1811374) for causing xpcshell failures in test_TelemetryController.js CLOSED TREE 2024-05-27 10:48:02 -04:00
Harshit Sohaney
55d4a9cdad Bug 1893168 - Added new clear on shutdown prefs to migrate during cookie lifetime policy migration. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D209139
2024-05-27 14:34:11 +00:00
Arturo Mejia
3d50d98a6d Bug 1889807 - Add extra debug information for crash on InstalledAddonDetailsFragment r=willdurand
Differential Revision: https://phabricator.services.mozilla.com/D211611
2024-05-27 14:20:37 +00:00
Malte Juergens
6a1787e9e9 Bug 1885893 - Only collect HTTPS-First telemetry on successful request r=freddyb
This patch addresses the problem that we currently collect HTTPS-First telemetry
for sites that are not reachable at all, be it through always causing a error or
through always timing out.

- On a downgrade, do not collect telemetry instantly, but instead save the
  telemetry data in the load state for the downgraded request
- That telemetry data will then be copied over into the document load listener
  of the new request
- On a successful request, if we have downgrade data in the load listener, we
  collect the downgrade telemetry, as the downgrade seems to have been
  successful
- Similar to the downgrade case, we only count the upgrade metric once we
  encounter a successful request annotated with the information that it was
  upgraded by HTTPS-First, instead of counting it instantly on the decision to
  upgrade. This also means the upgrade metric will not include loads that are
  downgraded again anymore
- Add a testcase for a site which is neither reachable via HTTP nor HTTPS, and
  ensure no telemetry is collected

Differential Revision: https://phabricator.services.mozilla.com/D210792
2024-05-27 14:20:11 +00:00
Julien Cristau
6a0db54bce Bug 1889299 - switch windows signing to autograph_authenticode_202404 format. r=taskgraph-reviewers,releng-reviewers,bhearsum,application-update-reviewers,bytesized
This switches us away from the code signing certificate expiring in
June, to a new one valid until 2027.

Update subject pin in msix repackaging and issuer pin in the stub installer.

Differential Revision: https://phabricator.services.mozilla.com/D208633
2024-05-27 14:19:49 +00:00
Ben Hearsum
c658370b22 Bug 1896868: update InetBgDL.dll nsis plugin with a statically linked version r=nalexander,jcristau
This was built in a shippable win32 build on Try in https://treeherder.mozilla.org/jobs?repo=try&revision=0d8c6bee15ce9bc54a7749717033fa24e15ca0bf, which was based on 730319d762dc822e7319087f50a31ee268d4fb00, with updated versions of the patches from https://bugzilla.mozilla.org/show_bug.cgi?id=1771192 applied to it that statically link InetBgDL.dll.

From there, I sent it through adhoc-signing in https://github.com/mozilla-releng/adhoc-signing/pull/208.

The output from that (https://firefox-ci-tc.services.mozilla.com/tasks/EHnFhv77SO6K8D_ZS32fGQ) is what is included in this revision.

Differential Revision: https://phabricator.services.mozilla.com/D210581
2024-05-27 14:19:48 +00:00
William Durand
a3fca22df4 Bug 1898446 - Introduce a new sendAbuseReport() method on the AddonManager web API (mozAddonManager). r=rpl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D209017
2024-05-27 14:11:08 +00:00
Arturo Mejia
09a14c53a9 Bug 1896739 - Define a dummy microsurvey for testing r=android-reviewers,vdreghici
Differential Revision: https://phabricator.services.mozilla.com/D210373
2024-05-27 13:31:32 +00:00
Nipun Shukla
208a5d428e Bug 1811374 - Include installation.first_seen event details in new_profile ping, r=chutten,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D176497
2024-05-27 13:25:57 +00:00
Sean
1b9454cdef Bug 1893313 - Leaks in nsMIMEHeaderParamImpl::DoParameterInternal() r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D211607
2024-05-27 13:08:49 +00:00
Sean
141fb31205 Bug 1894995 - Remove deprecated nslCacheEntry methods and their implementations r=valentin,necko-reviewers,places-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209460
2024-05-27 13:08:19 +00:00
Alex Finder
af063a188c Bug 1824194 - Enable python code coverage for raptor unit tests r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D210937
2024-05-27 13:08:16 +00:00
Alex Finder
8616a830e7 Bug 1850905 - Link Raptor unit tests to mozperftest locally r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D210936
2024-05-27 13:08:16 +00:00
Rob Wu
a454329c7b Bug 1898471 - Re-enable test_ext_manifest.js in condprof r=willdurand
Differential Revision: https://phabricator.services.mozilla.com/D211342
2024-05-27 12:48:14 +00:00
Olli Pettay
c9f32debe1 Bug 1898343 - Don't fire selectionchange if there is one pending, r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D211263
2024-05-27 12:47:53 +00:00
ohall-m
977c6db99e Bug 1898520 - Update AC isTranslateProcessing r=android-reviewers,giorga
In bug 1892715 the wait states for translations changed; however,
`isTranslateProcessing` logic did not change. This is to fix `isTranslateProcessing`
to use the longer wait state.

Differential Revision: https://phabricator.services.mozilla.com/D211439
2024-05-27 12:46:53 +00:00
Marco Bonardo
7f35c45fa5 Bug 1626741 - Roll-up other panels when the Address Bar results panel opens. r=NeilDeakin,jteow
Differential Revision: https://phabricator.services.mozilla.com/D210711
2024-05-27 12:24:54 +00:00
ffxbld
0543a4aba3 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D211726
2024-05-27 12:03:42 +00:00
Cristian Tuns
ddd96fe689 Backed out changeset 43694f8d9326 (bug 1898217) for causing mochitest failures in test_largemenu.html CLOSED TREE 2024-05-27 08:36:52 -04:00
Mathew Hodson
f9249a7e94 Bug 1898869 - Set relative color pref for some WPT CSS tests r=tlouw
Differential Revision: https://phabricator.services.mozilla.com/D211675
2024-05-27 11:58:46 +00:00
Sean
5adf6c6e35 Bug 1381499 - Remove expired HTTP_RESPONSE_STATUS_CODE probe r=necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D211555
2024-05-27 11:58:04 +00:00
Jens Stutte
177096b722 Bug 1863560 - Relax mClosed check to warning only in Database::RecvBlocked. r=dom-storage-reviewers,aiunusov,janv
Differential Revision: https://phabricator.services.mozilla.com/D211717
2024-05-27 11:52:57 +00:00
Rob Wu
cded1a802f Bug 1897113 - Require match_origin_as_fallback for blob:-URLs r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D210638
2024-05-27 11:49:15 +00:00
Nicolas Chevobbe
634f9902ab Bug 1899106 - [devtools] Display color swatch for light-dark() parameters. r=devtools-reviewers,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D211715
2024-05-27 11:41:41 +00:00
Valentin Gosu
8d84f8d985 Bug 1784963 - Clear beacon state after each test r=sunil
Differential Revision: https://phabricator.services.mozilla.com/D211354
2024-05-27 11:18:07 +00:00
AndiAJ
671a3b1245 Bug 1896363 - Fix openTotalCookieProtectionLearnMoreLinkTest UI test r=ohorvath
The UI test was disabled because it failed to properly verify the url after opening the learn more link.
In some cases a "too many requests" error page was displayed instead of the sumo page, most likely because of the repeated requests sent by the UI tests.

While investigating, I've noticed that after clicking the "learn more link" there's actually a redirect happening.
When the "too many requests" error occurs the redirect link is actually being displayed (https://support.mozilla.org/1/mobile/1.0.2421/Android/en-US/enhanced-tracking-protection-android)

I've searched for this link in our project and found it in the SupportUtils object.

To overcome the fact that we might need to check 2 URLs, I've created a new verifyETPURL function in which:
  - We'll first try to verify the link after properly being redirected to the enhanced-tracking-protection
  - If the error occurs verify the redirect link using getSumoURLForTopic from the SupportUtils object

The UI test successfully passed 200x on Firebase 

Differential Revision: https://phabricator.services.mozilla.com/D211538
2024-05-27 11:15:16 +00:00
Andreas Farre
ec8d5be38a Bug 1890748 - Move responsibility of FeaturePolicy initialization to nsILoadInfo. r=freddyb,necko-reviewers,jesup,dom-core,sefeng
Differential Revision: https://phabricator.services.mozilla.com/D207140
2024-05-27 10:06:58 +00:00
Alexandre Poirot
0a06605e7c Bug 1651518 - [devtools] Enable server side worker targets for browser toolbox. r=devtools-reviewers,nchevobbe
Note that the ignore code for subprocess is being ported from the legacy worker watcher.

The Worker Target URL is now correctly set to the Absolute URL,
this has an impact on the context selector as we are displaying it.

Also, this patch highlights some issues around Common JS Loader and the distinct compartment
to be used when debugging privileged page, or when running the browser toolbox.
It caused leaks when running browser toolbox tests in debug builds.
The JS Process Actor is directly loaded in a distinct global and compartment "DevTools global",
thanks to `loadInDevToolsLoader` flag of BrowserToolboxDevToolsProcess JS Process Actor configuration.
There is no need to use `useDistinctSystemPrincipalLoader` helper as Loader.sys.mjs, loaded from
the JS Process Actor will also be loaded in the distinct global.
Then, we only need to ensure that the CommonJS Loader will also pick up the "DevTools global"
when it is loaded in that distinct global.
Things will be significantly easier once we migrate from CommonJS to ESM as the `{ global: "contextual" }`
option passed to `ChromeUtils.importESModule` will do the right thing, as well as static `import` statements.

Differential Revision: https://phabricator.services.mozilla.com/D204874
2024-05-27 09:53:55 +00:00
Alexandre Poirot
8c2b7e0766 Bug 1651518 - [devtools] Ensure cleaning up workers which are destroyed during their initilization. r=devtools-reviewers,nchevobbe
We may unwatch for workers, while the creation of the target actor is still ongoing.

Differential Revision: https://phabricator.services.mozilla.com/D210367
2024-05-27 09:53:55 +00:00
Alexandre Poirot
0820f8bcfb Bug 1651518 - [devtools] Ensure destroying active target actors on toolbox closing. r=devtools-reviewers,nchevobbe
The cleanup work done from didDestroy was only calling `unwatch` on the Watcher classes,
which was typically unregistering the platform listeners.
We were missing calling `destroyTargetsForWatcher` on them which is meant to destroy
the target actors, which can also register platform listeners and be leaking data.

Differential Revision: https://phabricator.services.mozilla.com/D210366
2024-05-27 09:53:55 +00:00
Alexandre Poirot
7710239d70 Bug 1651518 - [devtools] Unregister the JS Process Actor only on watcher actor destruction. r=devtools-reviewers,nchevobbe
Stop unregistering the JS Process actor when removing the last watched target/resource type.
Instead only unregister it when the Watcher Actor is destroyed.

It prevents some race condition where unwatch request (which aren't awaited for)
unregister the actor late and the next test/next toolbox opening would have its actor
unregistered by late destruction code related to the previously closed toolbox.

Differential Revision: https://phabricator.services.mozilla.com/D210365
2024-05-27 09:53:54 +00:00
Alexandre Poirot
b4a695c2c0 Bug 1651518 - [devtools] Ensure spawning DistinctSystemPrincipalLoader.sys.mjs only once. r=devtools-reviewers,nchevobbe
This is important to spawn this ESM only once between regular and browser toolbox,
and especially between various callsites used by the browser toolbox.
Otherwise we may start loading modules in two distinct system loaders
and may have inconsistancies when using `instanceof`.

Differential Revision: https://phabricator.services.mozilla.com/D207432
2024-05-27 09:53:54 +00:00
Alexandre Poirot
7b27af09b0 Bug 1651518 - [devtools] ResourceCommand.watchResources should be protected from mutation made to its array argument. r=devtools-reviewers,nchevobbe
Modifying the content of the list of resources may suddently start or stop receiving new resources types,
that, without calling (un)watchResources again!

Differential Revision: https://phabricator.services.mozilla.com/D205603
2024-05-27 09:53:53 +00:00
Alexandre Poirot
20591eed8f Bug 1651518 - [devtools] Ensure waiting for CSS Warning full listening when toggling the filter from tests. r=devtools-reviewers,nchevobbe
The enhancer was brittle as nothing was waiting for its completion.
We should rather do such work from the action layer. At least this can delay the action completion,
which the test header (setFilterState) already wait for.

Differential Revision: https://phabricator.services.mozilla.com/D205602
2024-05-27 09:53:53 +00:00