Commit Graph

913220 Commits

Author SHA1 Message Date
James Teh
ef39891ee4 Bug 1888649: Tweak the assertion when we can't get the parent DocAccessible in CreateDocOrRootAccessible to allow background extension pages. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D207497
2024-04-17 22:53:27 +00:00
Dongwoo Kang
16234c277e Bug 1891317 - Add missing document.createElement to gecko DOM typelib r=zombie DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D207382
2024-04-17 21:40:36 +00:00
alwu
d5a856996c Bug 1892081 - add EME:5 to default media logging. r=media-playback-reviewers,azebrowski
Differential Revision: https://phabricator.services.mozilla.com/D207791
2024-04-17 21:23:46 +00:00
Adam Brouwers-Harries
fb7547d900 Bug 1891751 - Remove extraneous xpcshell testing api calls. r=florian,profiler-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D207581
2024-04-17 21:20:55 +00:00
Randell Jesup
c9632cd18b Bug 1892045: Quiet a thread-safety warning by taking a mutex in v4l2 capture r=webrtc-reviewers,pehrsons
Just to make the analyzer happy, no risk here

Differential Revision: https://phabricator.services.mozilla.com/D207758
2024-04-17 21:10:58 +00:00
Chris Peterson
765855a457 Bug 1891332 - Replace MOZ_DIAGNOSTIC_ASSERT with MOZ_RELEASE_ASSERT in service worker tests. r=dom-worker-reviewers,smaug
MOZ_DIAGNOSTIC_ASSERT is only checked in Nightly and Early Beta builds, so Late Beta and Release builds' tests are not checking these assertions, though the tests might still fail later with a less-obvious error.

Depends on D207380

Differential Revision: https://phabricator.services.mozilla.com/D207381
2024-04-17 21:07:34 +00:00
Chris Peterson
69e3ee9859 Bug 1891332 - Replace debug NS_ASSERTION with MOZ_RELEASE_ASSERT in places tests. r=places-reviewers,mak
MOZ_ASSERT is only checked in debug builds, so release builds' tests are not checking these assertions.

Depends on D207379

Differential Revision: https://phabricator.services.mozilla.com/D207380
2024-04-17 21:07:33 +00:00
Chris Peterson
5f1d7af3a6 Bug 1891332 - Replace debug MOZ_ASSERT with MOZ_RELEASE_ASSERT in xpcom tests. r=xpcom-reviewers,emilio
MOZ_ASSERT is only checked in debug builds, so release builds' tests are not checking these assertions.

Depends on D207378

Differential Revision: https://phabricator.services.mozilla.com/D207379
2024-04-17 21:07:31 +00:00
Chris Peterson
37395249a0 Bug 1891332 - Replace debug MOZ_ASSERT with MOZ_RELEASE_ASSERT in Windows tests. r=win-reviewers,rkraesig
And MOZ_ASSERT_UNREACHABLE with MOZ_CRASH.

MOZ_ASSERT and MOZ_ASSERT_UNREACHABLE are only checked in debug builds, so release builds' tests are not checking these assertions (though these tests could still have failed later with less-obvious errors).

Depends on D207377

Differential Revision: https://phabricator.services.mozilla.com/D207378
2024-04-17 21:07:31 +00:00
Chris Peterson
6aba752b87 Bug 1891332 - Replace debug MOZ_ASSERT with MOZ_RELEASE_ASSERT in webrtc/signaling tests. r=webrtc-reviewers,mjf
And MOZ_ASSERT(false) with MOZ_CRASH.

MOZ_ASSERT is only checked in debug builds, so release builds' tests are not checking these assertions.

Depends on D207376

Differential Revision: https://phabricator.services.mozilla.com/D207377
2024-04-17 21:07:30 +00:00
Erich Gubler
2985a83ebf Bug 1876161 - test(webgpu): remove now-redundant refinement step in CTS vendoring r=webgpu-reviewers,teoxoy
`npm run wpt` now actually includes all prerequisite files, so we don't
need to steal any from an otherwise extraneous generation step. The
proof is in the pudding: no files are changed in the vendor copy after
this is removed! It's very satisfying to shorten a 2-minute process by
a minute (at least on my machine). 😀 🙌🏻

Differential Revision: https://phabricator.services.mozilla.com/D207466
2024-04-17 20:54:29 +00:00
Erich Gubler
dabb34cd6f Bug 1876161 - test(webgpu): update CTS to 5c8510ec0d47180d1cd4dd92790b5a69335e162c r=webgpu-reviewers,teoxoy
Aggregates WPT metadata updates using `moz-webgpu-cts` 0.8.1 with the
following invocations:

* `… process-reports --preset=new-fx …` with reports from [try:a3a9eccfa632](https://treeherder.mozilla.org/jobs?repo=try&tier=1%2C2%2C3&revision=a3a9eccfa632e9be7174dc1bbefeac76d7ae9c3e)
* `… process-reports --preset=same-fx …` with reports from [try:18c0779335a2](https://treeherder.mozilla.org/jobs?repo=try&tier=1%2C2%2C3&revision=18c0779335a294bdb9f1187ca03915d5325cce51&selectedTaskRun=UmTqpq4RTWmNhgGhyKNT-g.0)

Differential Revision: https://phabricator.services.mozilla.com/D199447
2024-04-17 20:54:19 +00:00
Mike Conley
4cd9dc862c Bug 1891141 - Create preferences for the pages per step and step delay used by BackupResources. r=backup-reviewers,fchasen
Differential Revision: https://phabricator.services.mozilla.com/D207568
2024-04-17 20:50:48 +00:00
Mike Conley
8b8218c610 Bug 1891141 - Add configuration parameters for pages per step and step delay to mozIStorageAsyncConnection.backupToFileAsync. r=mak
This also fixes a bug in the test_connection_online_backup.js test which wasn't
properly evaluating that the page_size PRAGMA was being copied properly.

Differential Revision: https://phabricator.services.mozilla.com/D207471
2024-04-17 20:50:47 +00:00
Jonathan Kew
50a66bfbd8 Bug 1890245 - Make gfxUserFontSet::mGeneration an atomic var, so we can read it safely without locking. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D207618
2024-04-17 20:45:42 +00:00
kpatenio
dca313655e Bug 1885941 - implement backup method for cookies, form history and sessions BackupResources. r=backup-reviewers,mconley
Differential Revision: https://phabricator.services.mozilla.com/D207495
2024-04-17 20:43:38 +00:00
Maxx Crawford
6f941afd67 Bug 1824019 - Adjust hover/focus/active states for HNT card context menu buttons r=home-newtab-reviewers,desktop-theme-reviewers,dao,nbarrett
This patch adjusts the background-color/border/outline of the three different context menu buttons across the HNT page: top sites, pocket stories and recent activity cards.

It addresses the different link states: :hover, :focus (inlcuding :focus-visible), and :active for this button. This patch also includes attribute values for dark mode.

Differential Revision: https://phabricator.services.mozilla.com/D207067
2024-04-17 20:33:11 +00:00
Paul Zuehlcke
8b93950196 Bug 1890782 - Add [[nodiscard]] to BounceTrackingProtection methods where missing. r=manuel
Differential Revision: https://phabricator.services.mozilla.com/D207154
2024-04-17 20:29:09 +00:00
Paul Zuehlcke
5594016c85 Bug 1889444 - Test for Bounce Tracking Protection purge Glean event. r=bvandersloot,anti-tracking-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D206657
2024-04-17 20:29:09 +00:00
Paul Zuehlcke
3c7185335c Bug 1889444 - Record a Glean event for sites purged by Bounce Tracking Protection. r=bvandersloot,anti-tracking-reviewers
The event is only collected in pre-release channels, since it contains siteHost which is considered
category 3 data.

Differential Revision: https://phabricator.services.mozilla.com/D206545
2024-04-17 20:29:08 +00:00
Paul Zuehlcke
862963d2c2 Bug 1890546 - Clean up BounceTrackingProtection site host handling. r=bvandersloot,anti-tracking-reviewers
* Do not add empty site hosts to bounce chains.
 * Skip processing OnResponseReceived when there are no site hosts to process. (e.g. about:blank)
 * Adds some logging.
 * Adds debug assertions for BounceTrackingState.

Differential Revision: https://phabricator.services.mozilla.com/D207033
2024-04-17 20:29:08 +00:00
Paul Zuehlcke
3f3f7e7d97 Bug 1843308 - Add tests for bounce tracking using popups and new tabs. r=bvandersloot,anti-tracking-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D206758
2024-04-17 20:29:08 +00:00
Paul Zuehlcke
94e36ac7ae Bug 1888504 - Add a dry-run mode for Bounce Tracking Protection. r=bvandersloot,anti-tracking-reviewers
Adds a mode where if bounce tracking protection is enabled it classifies
but does not purge trackers. This mode is helpful for testing the feature
without risking data loss. Telemetry is still collected normally.

Differential Revision: https://phabricator.services.mozilla.com/D206518
2024-04-17 20:29:07 +00:00
Paul Zuehlcke
5583c689e9 Bug 1888500 - Add a test to ensure we only record user activation for http(s) schemes. r=bvandersloot,anti-tracking-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D206506
2024-04-17 20:29:07 +00:00
Paul Zuehlcke
3453253bbd Bug 1888500 - Don't record bounce tracking data for non http(s) schemes or non content principals. r=bvandersloot,anti-tracking-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D206505
2024-04-17 20:29:06 +00:00
Paul Zuehlcke
b8efd324f2 Bug 1848406 - Add a stateful bounce test for nested web workers. r=asuth,bvandersloot
Differential Revision: https://phabricator.services.mozilla.com/D206039
2024-04-17 20:29:06 +00:00
Paul Zuehlcke
f7791787b4 Bug 1848406 - Split up cookies and storage bouncetracking tests. r=bvandersloot
Differential Revision: https://phabricator.services.mozilla.com/D205897
2024-04-17 20:29:06 +00:00
Paul Zuehlcke
8bcbe1d3a1 Bug 1848406 - Keep track of storage access in web workers. r=bvandersloot,asuth
Differential Revision: https://phabricator.services.mozilla.com/D203640
2024-04-17 20:29:05 +00:00
Paul Zuehlcke
75bcb2ae41 Bug 1848406 - Fix BounceTrackingState Init called more than once. r=bvandersloot,anti-tracking-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D203610
2024-04-17 20:29:05 +00:00
Paul Zuehlcke
36b433962e Bug 1848406 - Enable requireStatefulBounces pref by default. r=bvandersloot,anti-tracking-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D203609
2024-04-17 20:29:04 +00:00
Paul Zuehlcke
a2e9101e14 Bug 1848406 - Extend stateful bounce tests. r=bvandersloot,anti-tracking-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D203608
2024-04-17 20:29:04 +00:00
Paul Zuehlcke
ba487d8c6e Bug 1848406 - Detect stateful bounces for window associated storages. r=bvandersloot,asuth
Differential Revision: https://phabricator.services.mozilla.com/D203607
2024-04-17 20:29:04 +00:00
Iulian Moraru
68be9069f7 Backed out changeset 5658d9804903 (bug 1892062) for causing bc failures on browser_backgroundtask_specific_pref.js. CLOSED TREE 2024-04-18 01:18:38 +03:00
Iulian Moraru
9f43c4f202 Backed out changeset 977027e73ec0 (bug 1889232) for causing windows mass failures. 2024-04-18 01:13:29 +03:00
Natalia Csoregi
4d0948295c Backed out changeset f56589462349 (bug 1887843) for causing Bug 1891667. CLOSED TREE 2024-04-17 23:42:55 +03:00
Nikki Sharpley
c458c1c11a Bug 1887237 - Intermittent TV browser/components/firefoxview/tests/browser/browser_firefoxview_paused.js r=fxview-reviewers,kcochrane
- reduce number of tests in `browser_firefoxview_paused.js` to solve timeout issue

Differential Revision: https://phabricator.services.mozilla.com/D207453
2024-04-17 20:02:08 +00:00
Kelly Cochrane
23e51d8269 Bug 1873942 - Add test coverage for device connection and sync r=fxview-reviewers,nsharpley
Differential Revision: https://phabricator.services.mozilla.com/D207750
2024-04-17 20:00:35 +00:00
Niklas Baumgardner
2d0c9cc18c Bug 1887093 - Remember text selection regions during screenshots interactions. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D206696
2024-04-17 19:49:50 +00:00
Micah Tigley
667e557962 Bug 1891881 - Use browsingContext for openFilePickerDialog. r=credential-management-reviewers,sgalich DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D207647
2024-04-17 19:41:33 +00:00
Updatebot
152bed0789 Bug 1890889 - Update opus to ddbe48383984d56acd9e1ab6a090c54ca6b735a6 r=kinetik DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D207215
2024-04-17 19:37:29 +00:00
Nathan Barrett
74f343a85a Bug 1891769 - add nimbus vars and stub data for WeatherFeed r=thecount,home-newtab-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D207632
2024-04-17 19:36:10 +00:00
Nipun Shukla
633fa2b9c3 Bug 1892062 - Set minTaskRunTimeMS to 3 minutes to investigate 1741675 r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D207769
2024-04-17 19:32:10 +00:00
Erik Nordin
9787e4646b Bug 1891528 - Fix SelectTranslationsPanel label margins r=desktop-theme-reviewers,translations-reviewers,gregtatum,Itiel
Modifies the CSS to reduce the gap between the header and
the language-selection labels in the SelectTranslationsPanel,
which more accurately represents the Figma design.

Differential Revision: https://phabricator.services.mozilla.com/D207456
2024-04-17 19:30:56 +00:00
Joel Maher
663b9403e5 Bug 1891887 - Remove reftest sandbox conditions that are not used. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D207650
2024-04-17 19:17:19 +00:00
Nipun Shukla
e177223cf6 Bug 1889232 - Removed firefox-bridge and firefox-private-bridge protocol creation r=mhughes,Gijs,firefox-desktop-core-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D206419
2024-04-17 19:13:22 +00:00
Paul Adenot
ebc764305a Bug 1892066 - Bug 1891175 - Allow switching between using ffvpx-based decoders and other decoders, with a pref. r=alwu
I'm cleaning up a bunch of those. We'll probably want to use libvpx through
ffmpeg at some point, and remove the older decoder integration (if possible).

For now this pref will do what we want. I've also removed gratuitous variadic
template usage.

Differential Revision: https://phabricator.services.mozilla.com/D207710
2024-04-17 18:56:44 +00:00
Mike Conley
be74ed5dc8 Bug 1887752 - Write a backup-manifest.json inside of the staging folder when creating a backup. r=backup-reviewers,fchasen
Differential Revision: https://phabricator.services.mozilla.com/D207312
2024-04-17 18:48:04 +00:00
Iulian Moraru
3d1d5a1348 Backed out changeset a8a7b57f4e03 (bug 1890299) for causing bc failures on browser_contextmenu.js related to translate. CLOSED TREE 2024-04-17 23:13:01 +03:00
Natalia Csoregi
6fea630424 Backed out 3 changesets (bug 1892041) for causing failures on async-module-does-not-block-sibling-modules.js. CLOSED TREE
Backed out changeset 540dac1533d1 (bug 1892041)
Backed out changeset 5c8e7a1b7fd3 (bug 1892041)
Backed out changeset 146a22b62817 (bug 1892041)
2024-04-17 22:45:29 +03:00
Natalia Csoregi
df9e767660 Backed out 2 changesets (bug 1888310, bug 1884625) for causing failures on browser_app.js. CLOSED TREE
Backed out changeset 8036a50c0751 (bug 1884625)
Backed out changeset 8c8df548d15d (bug 1888310)
2024-04-17 22:37:32 +03:00