servo/components/shared/embedder
Tony 5a76906d64
Allow setting userscripts directly without the need of files (#35388)
* Allow settings userscripts through preferences

Signed-off-by: Tony <legendmastertony@gmail.com>

* mach fmt instead of cargo fmt

Signed-off-by: Tony <legendmastertony@gmail.com>

* Fix pref loading not working for array values

Signed-off-by: Tony <legendmastertony@gmail.com>

* Use pref! in userscripts instead

Signed-off-by: Tony <legendmastertony@gmail.com>

* Implement the model jdm suggested
- Remove userscripts from all places and move it to servoshell
- Add in `UserContentManager` struct and passing it through `Servo::new`
all the way down to script thread

Signed-off-by: Tony <legendmastertony@gmail.com>

* Apply suggestions from code review and format

Signed-off-by: Tony <legendmastertony@gmail.com>

* Revert unrelated change

Signed-off-by: Tony <legendmastertony@gmail.com>

---------

Signed-off-by: Tony <legendmastertony@gmail.com>
Signed-off-by: Tony <68118705+Legend-Master@users.noreply.github.com>
2025-03-27 03:00:08 +00:00
..
build.rs Set the cfg properly for the production-stripped profile (#32991) 2024-08-09 09:16:51 +00:00
Cargo.toml Cleanup Stylo dependencies (#36046) 2025-03-19 08:53:26 +00:00
input_events.rs add cancelable property to the TouchEvent (#35713) 2025-03-02 08:12:26 +00:00
lib.rs Allow setting userscripts directly without the need of files (#35388) 2025-03-27 03:00:08 +00:00
resources.rs Add an about:memory page (#35728) 2025-03-07 05:25:08 +00:00
user_content_manager.rs Allow setting userscripts directly without the need of files (#35388) 2025-03-27 03:00:08 +00:00
webdriver.rs compositor: Make input event handling per-WebView (#35716) 2025-03-05 18:47:13 +00:00