mirror of
https://github.com/servo/servo
synced 2026-05-12 18:06:32 +02:00
Currently, the response tab for a request's detail in devtools does not show the available data, this was due to how the content is being structured (not the way firefox's devtools client expects it) and also the body being discarded and not stored in the actor. This PR stores the body in the actor , which is then retrieved in `getResponseContent` and then use it to instantiate the new struct `ResponseContentObj` which matches the format firefox's expects Fixes: https://github.com/servo/servo/issues/38128 --------- Signed-off-by: uthmaniv <uthmanyahayababa@gmail.com> Signed-off-by: Josh Matthews <josh@joshmatthews.net> Co-authored-by: Josh Matthews <josh@joshmatthews.net>
37 lines
876 B
TOML
37 lines
876 B
TOML
[package]
|
|
name = "devtools"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[lib]
|
|
name = "devtools"
|
|
path = "lib.rs"
|
|
|
|
[dependencies]
|
|
base = { workspace = true }
|
|
base64 = { workspace = true }
|
|
chrono = { workspace = true }
|
|
crossbeam-channel = { workspace = true }
|
|
devtools_traits = { workspace = true }
|
|
embedder_traits = { workspace = true }
|
|
headers = { workspace = true }
|
|
http = { workspace = true }
|
|
ipc-channel = { workspace = true }
|
|
log = { workspace = true }
|
|
net = { path = "../net" }
|
|
net_traits = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
servo_config = { path = "../config" }
|
|
servo_rand = { path = "../rand" }
|
|
servo_url = { path = "../url" }
|
|
uuid = { workspace = true }
|
|
|
|
|
|
[build-dependencies]
|
|
chrono = { workspace = true }
|