mirror of
https://github.com/servo/servo
synced 2026-05-12 18:06:32 +02:00
Add support to modulepreload link elements. Currently we only fetch the root module, as I think it is needs to be discussed whether we should always fetch module dependencies, or if it should be limited due to network constraints. Inside `bind_to_tree` I ended up calling `fetch_and_process_modulepreload` inside a delayed task, since it would cause a crash due to DOM not being in a stable state when firing an event (queueing the event seems to also do the trick). Remaining tests failures are due to not supporting CSS modules and performance entries's `transfer_size` being 0. Testing: Covered by existing tests --------- Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
83 KiB
83 KiB