servo/components
Mukilan Thiyagarajan 1e17dfdf31
libservo: update stylo preferences in multiprocess mode. (#34661)
When servo is run in multiprocess mode, the content process receives
the preferences via IPC from the main process. However, currently
these preferences are only used to update  Servo's own preferences by
explictly calling Preference::set_all(). This doesn't ensure that
stylo's copy of preferences is also updated.

This change replaces the call to `Preference::set_all()` with
call to `add_user_prefs` which does ensure both Servo's and Stylos'
preferences are updated.

Fixes #34660.

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2024-12-17 09:02:50 +00:00
..
allocator Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
background_hang_monitor Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
bluetooth Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
canvas Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +00:00
compositing Add embedder event for preferred color scheme and respond to it in the LayoutThread (#34532) 2024-12-12 06:17:02 +00:00
config script: Add stub interface for AbortController. (#34519) 2024-12-10 07:31:04 +00:00
config_plugins add allow(non_camel_case_types) to generated pref structs (#33987) 2024-10-24 09:36:13 +00:00
constellation script: Manage <iframe> sizes in Window (#34643) 2024-12-16 15:05:33 +00:00
deny_public_fields Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
devtools Fix devtools timeout with Firefox 133 (#34602) 2024-12-12 23:38:24 +00:00
dom_struct Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
domobject_derive Replace ShouldNotImplDomObject with NoDomObjectInDomObject (#33627) 2024-10-03 12:58:34 +00:00
fonts Don't trace SystemFontService loop (#34508) 2024-12-06 17:05:18 +00:00
geometry servoshell: Allow overriding screen resolution with a command-line argument (#34038) 2024-10-30 11:54:13 +00:00
hyper_serde Stop using time@0.1 in Servo (#33394) 2024-09-11 07:09:56 +00:00
jstraceable_derive Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
layout script: Manage <iframe> sizes in Window (#34643) 2024-12-16 15:05:33 +00:00
layout_2020 Update deprecated use of PanicInfo to PanicHookInfo (#34659) 2024-12-17 03:50:26 +00:00
layout_thread script: Manage <iframe> sizes in Window (#34643) 2024-12-16 15:05:33 +00:00
layout_thread_2020 script: Manage <iframe> sizes in Window (#34643) 2024-12-16 15:05:33 +00:00
malloc_size_of script: No longer do explicit reflows for display (#34599) 2024-12-13 13:25:47 +00:00
media Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +00:00
metrics Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +00:00
net websocket: Revert use of h2 in websocket ALPN. (#34634) 2024-12-16 06:47:33 +00:00
pixels Optimized unmultiply_inplace to remove fp ops (#33582) 2024-09-30 19:39:27 +00:00
profile [NFC] Remove unused interval profiler events (#34285) 2024-11-19 07:18:52 +00:00
rand crypto: Begin SubtleCrypto implementation (#33628) 2024-10-08 03:51:08 +00:00
range Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
script script: Fix assertion verifying that reflow isn't necessary after reflow (#34645) 2024-12-17 08:29:33 +00:00
servo libservo: update stylo preferences in multiprocess mode. (#34661) 2024-12-17 09:02:50 +00:00
shared script: Manage <iframe> sizes in Window (#34643) 2024-12-16 15:05:33 +00:00
url Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
webdriver_server Allow running testharness/testdriver/reftests in servodriver (#34550) 2024-12-11 19:18:44 +00:00
webgpu Update wgpu to better handle optional attachment load/store ops (#34646) 2024-12-16 18:58:53 +00:00