mirror of
https://github.com/servo/servo
synced 2026-05-12 01:46:28 +02:00
The `substitute_with_local_script` logic has been refactored into a standalone function to allow reuse in `script_module.rs` when a module script's source is fetched and decoded. Testing: Verified manually by running Servo with a local HTTP server and a module script, confirming that the local file correctly replaces the remote one when the `--local-script-source` flag is provided. Fixes: #41433 Signed-off-by: WaterWhisperer <waterwhisperer24@qq.com>
56 KiB
56 KiB