aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/fetch.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/fetch.rs')
-rw-r--r--components/script/fetch.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/fetch.rs b/components/script/fetch.rs
index 68285653a2f..e7f045895d8 100644
--- a/components/script/fetch.rs
+++ b/components/script/fetch.rs
@@ -260,6 +260,7 @@ impl FetchResponseListener for FetchContext {
}
fn process_response_chunk(&mut self, mut chunk: Vec<u8>) {
+ self.response_object.root().stream_chunk(chunk.as_slice());
self.body.append(&mut chunk);
}