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

860400 Коммитов

Автор SHA1 Сообщение Дата
sotaro 40d51bef58 Bug 1860921 - Revert Texture::Destroy() and add Texture::ForceDestroy() r=webgpu-reviewers,nical
This is a short term fix. Long term fix needs to be done by Bug 1860958.
Presenting WebGPU without readback needs a way to destroy Texture. Then Texture::ForceDestroy() is added for it.

Differential Revision: https://phabricator.services.mozilla.com/D191829
2023-10-25 09:43:58 +00:00
Logan Rosen ba0d5e580e Bug 1860931 - fix bug in fxview-tab-list.mjs r=fxview-reviewers,sclements
There are two equals signs when there should be just one. This was made more obvious after applying Prettier v3's auto formatting.

Differential Revision: https://phabricator.services.mozilla.com/D190411
2023-10-25 09:41:31 +00:00
Andreas Pehrson e8319535a7 Bug 1860681 - Fix TRACE_AUDIO_CALLBACK_BUDGET with --disable-real-time-tracing. r=padenot
The variants of TRACE_AUDIO_CALLBACK_BUDGET diverged in bug 1844181.

Differential Revision: https://phabricator.services.mozilla.com/D191841
2023-10-25 09:38:23 +00:00
Alexandre Poirot b37240ecdb Bug 1848179 - [devtools] Display the currently processed DOM event for top frames. r=devtools-reviewers,nchevobbe
As this is based on DebuggerNotificationObserver, this would only work
for events currently supported by this interface.
For example, we would miss network events which aren't suppported yet.

I kept this as an option for the base tracer class in order to be able to have a fine control
on its output, but kept things simple in the Debugger UI and made this be enabled by default.

Differential Revision: https://phabricator.services.mozilla.com/D185934
2023-10-25 09:38:03 +00:00
Vinny Diehl c7283bdb04 Bug 1860425 - Adjust parsing for timezone numbers without "GMT" prefix r=arai
Differential Revision: https://phabricator.services.mozilla.com/D191618
2023-10-25 09:31:43 +00:00
Jens Stutte a28468e526 Bug 1859030 - Exit early in WorkerManagerCreatedRunnable::Run if the actor cannot send. r=dom-worker-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D191094
2023-10-25 09:27:35 +00:00
Emilio Cobos Álvarez 72fb7b9829 Bug 1860766 - Use content: url() for custom dropmarkers. r=dao,desktop-theme-reviewers
This is simpler and closer to how a regular image would behave.

Move dropmarker styles to xul.css, and remove the dropmarker custom
element that just wraps an <image>.

Also remove the button[type="disclosure"] rules since they're unused
while at it (and macOS has no styles for that).

Depends on D191736

Differential Revision: https://phabricator.services.mozilla.com/D191739
2023-10-25 08:44:06 +00:00
Emilio Cobos Álvarez e4c9e9c823 Bug 1860766 - Clean-up in-content menulist styles. r=dao,desktop-theme-reviewers
Before bug 1860385, we used the 16px image (because the list-style-image
was set on the icon, and in-content/common-shared.css rule didn't
override it). But the dropmarker was still 12px wide, and the 4px
margin-inline-end of common-shared.css did fix it.

That's pretty messy. Remove the dropmarker sizes so that the dropmarker
takes the right size based on the dropmarker icon. That means that if
somebody wants a 16px icon they can just override list-style-image on
the dropmarker.

Use the 12px dropmarker arrow since that's what we also do for <select>,
and seems to be the general intention.

This also avoids the need of manually positioning it on windows to be
centered-ish vertically.

Differential Revision: https://phabricator.services.mozilla.com/D191736
2023-10-25 08:44:06 +00:00
Tiaan Louw 8bc2f9679a Bug 1860967 - Fix serialization of <position> elements in computed gradient values r=emilio,layout-reviewers
Computed <position> values should not have keywords and the <length>
components should be serialized with the canonical unit.

https://drafts.csswg.org/css-values-4/#position-serialization

Differential Revision: https://phabricator.services.mozilla.com/D191840
2023-10-25 08:33:03 +00:00
komuhangi b35b9c196f Bug 1860231 - Removed duplicate include nsServiceManagerUtils.h. r=necko-reviewers,valentin DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D191765
2023-10-25 08:03:25 +00:00
Jan-Erik Rediger 3a040a580c Bug 1860730 - Remove unsupported unit field r=adw DONTBUILD
`unit` is not supported on `string`. This was previously allowed
erroneously, but will soon break the build (and is breaking downstream
tools at the moment)

Differential Revision: https://phabricator.services.mozilla.com/D191720
2023-10-25 07:23:42 +00:00
Mozilla Releng Treescript fa07ad20f0 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
cs -> ce4a5905e61ed7e46d51c50066320bb190fe1b40
dsb -> 63a2489b422d1938e3f824b947a8e65a4c4089a6
es-AR -> fb125e36b7b6f1600b6cdb2405cebcde6ad22c2b
he -> 64483db37f6e68c73ec2c6684029e38346184be4
hsb -> c510c72209baf1109120a6225514308568f707ce
ia -> 9a1784880542d107a47ae440a2d83ad1ea34f168
ka -> bbb5bf07cf0183556244ca424e402b760616cd7a
pa-IN -> c8ab4d2411a0e22b2a5d4789f4c09f27d493fb75
rm -> acd677ecd820cbe33256046e64c35168291b8035
sk -> 774e655425823e766fba9c52a123c498328a35e4
tg -> 553a20679e4f1cf0051c998932821bd9cc8a351b
th -> 841af2d6638395571960e958ddf7be6751450fc2
zh-TW -> a868093977d9c1cf626a14555d5df195802c72e3
2023-10-25 07:02:20 +00:00
Hiroyuki Ikezoe 150dbc6970 Bug 1856088 - Handle scroll anchor adjustments as an absolute scroll position updates behind a pref. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D190888
2023-10-25 05:55:26 +00:00
Hiroyuki Ikezoe 3464f92996 Bug 1856088 - Dump some metrics in the failure messages in helper_scroll_anchoring_on_wheel.html. r=botond
This test is a test case where a scroll anchor adjustment happens while an
async scroll animation is running. Without the dumped metrics it's hard to tell
what's wrong. In fact the test fails if we did use `ScrollUpdateType::Absolute`
for scroll anchoring

Differential Revision: https://phabricator.services.mozilla.com/D190887
2023-10-25 05:55:25 +00:00
Paul Bone aa189da432 Bug 1859954 - Use XP_DARWIN rather than XP_MACOS in PHC r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D191600
2023-10-25 05:43:36 +00:00
sotaro efef3754f0 Bug 1845853 - Use the same DXGI adapter as WebRender with DX12 r=webgpu-reviewers,nical
By selecting an adapter with the same LUID as the compositor device, the same adapter is selected as the compositor device used by WebRender.

Differential Revision: https://phabricator.services.mozilla.com/D190905
2023-10-25 05:14:34 +00:00
Norisz Fay cd9cb278d0 Backed out changeset 374f05be6d50 (bug 1845407) for causing bc failures on browser/components/* , browser/base/content/* CLOSED TREE 2023-10-25 06:45:34 +03:00
Vinny Diehl 15bf19996f Bug 1854874 - Add comm/ to .gitignore r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D189080
2023-10-25 01:32:19 +00:00
Drew Willcoxon d4a37e5b65 Bug 1860791 - Fix dismissals and telemetry for Rust Wikipedia Suggest results. r=daisuke
Wikipedia suggestions from Rust don't have an `advertiser` property, unlike
suggestions from the JS backend [1]. That causes an exception to be thrown when
`UrlbarProviderQuickSuggest` tries to convert the advertister to lower case for
telemetry. The result is that telemetry isn't properly recorded for Rust
Wikipedia suggestions, and anything that happens after telemetry is supposed to
be recorded doesn't actually happen, which means dismissals aren't handled.

I fixed this by adding `advertiser` to Rust Wikipedia suggestions, and I
modified the telemetry tests for sponsored and nonsponsored suggestions so they
also run with Rust enabled. This tests the code path where the error was thrown.

Running the telemetry tests with Rust enabled revealed some more problems that I
also fixed:

* Rust Wikipedia suggestions also don't have `iab_category`, so I added that to
  them too.
* `_assertGleanPing()` in head.js wasn't checking a few properties, so I added
  them. Now it checks them all.
* URLs in the Glean ping are declared with type `url`, which means our tests
  need to use valid URLs in their dummy data. The mock Merino server and some
  related tests are using invalid URL values like `"url"`, so I fixed that.

[1] The suggestions data in remote settings does include an `advertiser`, so
it's possible to consider this a bug in the Rust implementation, but IMO it
makes sense for nonsponsored suggestions to lack an advertiser, and it's always
set to `"Wikipedia"` anyway.

Differential Revision: https://phabricator.services.mozilla.com/D191795
2023-10-25 01:09:49 +00:00
Timothy Nikkel 6332d83521 Bug 1841050. Mark expected test fail. r=gfx-reviewers,nical,ahale
Depends on D191597

Differential Revision: https://phabricator.services.mozilla.com/D191598
2023-10-25 00:21:01 +00:00
Timothy Nikkel f6d459b9ba Bug 1841050. r=gfx-reviewers,nical,ahale
Differential Revision: https://phabricator.services.mozilla.com/D191597
2023-10-25 00:21:00 +00:00
Kelsey Gilbert cb1517054e Bug 1841050 - Disable webgl.gl_khr_no_error on Windows. r=gfx-reviewers,bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D188782
2023-10-25 00:21:00 +00:00
Kelsey Gilbert fdd0fd018a Bug 1841050 - Add pref webgl.gl_khr_no_error:true. r=gfx-reviewers,bradwerth
This allows for disabling WebGL's use of GL_KHR_no_error, rather than the default of enabled.

Use snake_case so that searching for KHR_no_error finds this more
easily.

Differential Revision: https://phabricator.services.mozilla.com/D188781
2023-10-25 00:20:59 +00:00
Fred Chasen 93d6d73068 Bug 1855974 - Use Shopping Status API status as data or errors. r=shopping-reviewers,Gijs
- Pass analysis status as data to display not enough reviews and page not supported messages.
- Throws errors when we get an response that there was an issue from the Shopping Status and Analyze APIs.
- Add integration tests for setting sidebar status based on analysis status.

Differential Revision: https://phabricator.services.mozilla.com/D190366
2023-10-24 23:27:51 +00:00
alwu 1f55944f31 Bug 1844169 - part8 : use macros to remove code duplication. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D191354
2023-10-24 23:18:02 +00:00
alwu d28c7e7af7 Bug 1844169 - part7 : implement setServerCertificate. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D191353
2023-10-24 23:18:02 +00:00
alwu 89c1dfed16 Bug 1844169 - part6 : map normal Widevine key system to Widevine experiment key system. r=jolin
Our EME system works like this,

First, the content process stores some cached capabilities for different
key systems, which tells what codecs they support, and whether hw
decryption works or not.

Then in the content process, we would compare those capabilies to the
one that website requests by using EME API, to see if that is any
matching.

What this patch is going to do is, if website uses `com.widevine.alpha`
with hardware decryption request, then we would check those experiment
key system to see if they support (because they are used for hardware
decryption only).

Therefore, we would be able to support two cases for hardware
decryption, (1) use experiment key system explicitly (2) use normal key
system but requests an explicit robustness for hardware decryption [1].

[1] Example test page (you can add robustness on setting)
https://integration.widevine.com/player

Differential Revision: https://phabricator.services.mozilla.com/D190639
2023-10-24 23:18:01 +00:00
alwu f4560d9ac1 Bug 1844169 - part5 : PMPHostWrapper is only used for PlayReady. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D190638
2023-10-24 23:18:01 +00:00
alwu 3fb0f3d7fe Bug 1844169 - part4 : support Widevine experiment key system in the MFCDMParent. r=jolin
This patch setups correct querey strings when using the Widevine
experiment key systems.

Differential Revision: https://phabricator.services.mozilla.com/D190637
2023-10-24 23:18:00 +00:00
alwu d5eace8f34 Bug 1844169 - part3 : support querying Widevine experiment key system. r=jolin
This allows EME API to recognize those new Widevine key system in order
to start checking whether they are supported or not.

Differential Revision: https://phabricator.services.mozilla.com/D190635
2023-10-24 23:18:00 +00:00
alwu 438a10e06c Bug 1844169 - part2 : support loading CDM from external library. r=jolin
Depends on D183932

Differential Revision: https://phabricator.services.mozilla.com/D183933
2023-10-24 23:18:00 +00:00
alwu 4d5f47176f Bug 1844169 - part1 : move ScopedHString to WMFUtils. r=media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D183932
2023-10-24 23:17:59 +00:00
Butkovits Atila 86407ac452 Backed out changeset 7ff55ad72883 (bug 1859997) for causing python related mass failures. CLOSED TREE 2023-10-25 02:02:35 +03:00
Jens Stutte c41a3ab328 Bug 1860572 - Return nullptr in SharedWorker::Constructor if actorChild cannot send. r=dom-worker-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D191681
2023-10-24 21:48:53 +00:00
Gijs Kruitbosch e030c4c2eb Bug 1854701 - fix mach addtest so it can cope with toml manifests, r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D191786
2023-10-24 21:46:10 +00:00
Mike Hommey b51e571424 Bug 1859997 - Switch manifestparser to toml instead of tomlkit. r=jmaher,ahal,mach-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D191394
2023-10-24 21:36:23 +00:00
Emilio Cobos Álvarez 73b1942f93 Bug 1860386 - Use non-native drawing for -moz-menulist-arrow-button. r=stransky
The current code is unused, because we hide the combobox dropmarker in:

 * https://searchfox.org/mozilla-central/rev/cc35ffeaf33a3f4e0b2ce6b77f9e5817a705e0c8/toolkit/themes/linux/global/menulist.css#46

If you remove that rule, you'll see that what we draw is very far from a
dropmarker.

Use non-native rendering like windows to have a proper implementation of
this if someone needs it, and remove the native code.

Remove parentfocused check which can't ever work (that attribute isn't
set anywhere).

Differential Revision: https://phabricator.services.mozilla.com/D191563
2023-10-24 21:20:56 +00:00
Norisz Fay 01b3cf419b Backed out 8 changesets (bug 1844169) for causing bustage on MFContentProtectionManager.cpp CLOSED TREE
Backed out changeset 3a1cf7bb7c29 (bug 1844169)
Backed out changeset cbe5a850c7e9 (bug 1844169)
Backed out changeset f0610159dab5 (bug 1844169)
Backed out changeset edae30ab15ef (bug 1844169)
Backed out changeset ec8ec2a99e6d (bug 1844169)
Backed out changeset 9cf2071bfe83 (bug 1844169)
Backed out changeset b48fd349aa1a (bug 1844169)
Backed out changeset ff3dcc3680dd (bug 1844169)
2023-10-25 00:49:01 +03:00
alwu 5af79464a7 Bug 1844169 - part8 : use macros to remove code duplication. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D191354
2023-10-24 20:42:15 +00:00
alwu 329c401ba0 Bug 1844169 - part7 : implement setServerCertificate. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D191353
2023-10-24 20:42:14 +00:00
alwu b5041d9890 Bug 1844169 - part6 : map normal Widevine key system to Widevine experiment key system. r=jolin
Our EME system works like this,

First, the content process stores some cached capabilities for different
key systems, which tells what codecs they support, and whether hw
decryption works or not.

Then in the content process, we would compare those capabilies to the
one that website requests by using EME API, to see if that is any
matching.

What this patch is going to do is, if website uses `com.widevine.alpha`
with hardware decryption request, then we would check those experiment
key system to see if they support (because they are used for hardware
decryption only).

Therefore, we would be able to support two cases for hardware
decryption, (1) use experiment key system explicitly (2) use normal key
system but requests an explicit robustness for hardware decryption [1].

[1] Example test page (you can add robustness on setting)
https://integration.widevine.com/player

Differential Revision: https://phabricator.services.mozilla.com/D190639
2023-10-24 20:42:14 +00:00
alwu a3466eb4df Bug 1844169 - part5 : PMPHostWrapper is only used for PlayReady. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D190638
2023-10-24 20:42:13 +00:00
alwu 37548f127d Bug 1844169 - part4 : support Widevine experiment key system in the MFCDMParent. r=jolin
This patch setups correct querey strings when using the Widevine
experiment key systems.

Differential Revision: https://phabricator.services.mozilla.com/D190637
2023-10-24 20:42:13 +00:00
alwu d746ebcf0c Bug 1844169 - part3 : support querying Widevine experiment key system. r=jolin
This allows EME API to recognize those new Widevine key system in order
to start checking whether they are supported or not.

Differential Revision: https://phabricator.services.mozilla.com/D190635
2023-10-24 20:42:13 +00:00
alwu a1ce511109 Bug 1844169 - part2 : support loading CDM from external library. r=jolin
Depends on D183932

Differential Revision: https://phabricator.services.mozilla.com/D183933
2023-10-24 20:42:12 +00:00
alwu b5c6d72a4a Bug 1844169 - part1 : move ScopedHString to WMFUtils. r=media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D183932
2023-10-24 20:42:12 +00:00
Andrew Sutherland 49058aa9d5 Bug 1856090 - Improve ServiceWorker state propagation. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D190245
2023-10-24 20:34:25 +00:00
Brad Werth f36c2e9caa Bug 1658432: Don't remove wrapping CALayer from its superview outside of Commit. r=mac-reviewers,mstange
This change lets NativeLayerRootCA::Representation::Commit be the only
point where sublayers are added and removed from the root CALayer.

Differential Revision: https://phabricator.services.mozilla.com/D191673
2023-10-24 20:01:49 +00:00
Andrew McCreight e37e4cf2d7 Bug 1859680 - Reject RecvFindImageText() messages on unsupported platforms. r=gregtatum
Also, avoid calling SendFindImageText() on unsupported platforms, so that
test_image_recognition_unsupported.html will pass.

Differential Revision: https://phabricator.services.mozilla.com/D191678
2023-10-24 19:04:55 +00:00
Andrew McCreight 3c31a491e8 Bug 1859679 - Convert the image recognition tests to plain Mochitests. r=gregtatum
This ensures that we test the IPC part of the implementation.

Differential Revision: https://phabricator.services.mozilla.com/D191666
2023-10-24 19:04:38 +00:00