mirror of
https://github.com/servo/servo.git
synced 2025-10-12 22:40:19 +01:00
- Add `ResourceArrayType` with `Available` and `Updated` variants - Rename `resources-available` and `resource-available` to `resources-array` ,`resource-array` - Add `ResourceArrayType` as an argument to decide the type of resources - Add `Option<ResponseContentMsg>`,`Option<ResponseStartMsg>`, `Option<ResponseCookiesMsg>`, `Option<ResponseHeadersMsg>`,`Option<RequestCookiesMsg>`, `Option<RequestHeadersMsg>`, `total_time`, `security_state` to `NetworkEventActor` struct , and serialize the data in each to `resource_updates` , flattening the nested arrays into a single JSON - Refactor the following methods `request_headers`,`response_start` , `response_content`,`response_cookies`,`response_headers`, `request_cookies`,`total_time` to associated functions passing `HttpRequest` and `HttpResponse` as parameters . Testing: Ran servo with devtools flag to see the logs corresponding to the changes Fixes: https://github.com/servo/servo/issues/37479 This PR Builds on https://github.com/servo/servo/pull/37517 and was opened due to merge conflicts and branch issues --------- Signed-off-by: Uthman Yahaya Baba <uthmanyahayababa@gmail.com> |
||
---|---|---|
.. | ||
inspector | ||
watcher | ||
breakpoint.rs | ||
browsing_context.rs | ||
console.rs | ||
device.rs | ||
framerate.rs | ||
inspector.rs | ||
memory.rs | ||
network_event.rs | ||
object.rs | ||
performance.rs | ||
preference.rs | ||
process.rs | ||
reflow.rs | ||
root.rs | ||
source.rs | ||
stylesheets.rs | ||
tab.rs | ||
thread.rs | ||
timeline.rs | ||
watcher.rs | ||
worker.rs |