mirror of
https://github.com/servo/servo
synced 2026-05-09 00:22:16 +02:00
`FetchReponseListener` has traditionally lived in `net` even though it is only used in `script` currently. Because of the two way dependency, it has also use a lot of templating to implement something pretty basic (call methods on a trait object). This change moves the trait to `script` and removes several levels of templating, making the code quite a bit shorter and easier to understand. This change is preparation for fixing #22550 and implementing off-the-main-thread CSS parsing. Testing: This should not change any behavior so is covered by existing tests. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
94 KiB
94 KiB