aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/document_loader.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2015-05-21 09:53:19 -0400
committerJosh Matthews <josh@joshmatthews.net>2015-05-21 09:53:19 -0400
commitef8a1271561b9ee7ea4be8ac2e0548d3c8669fb2 (patch)
tree498c33429b6df00300ef526d7271f95d60e59f23 /components/script/document_loader.rs
parent8082df7d0da97f1951ae125956b962b92c98e69f (diff)
downloadservo-ef8a1271561b9ee7ea4be8ac2e0548d3c8669fb2.tar.gz
servo-ef8a1271561b9ee7ea4be8ac2e0548d3c8669fb2.zip
Update test expectations. Mark script loads as complete when the response is complete.
Diffstat (limited to 'components/script/document_loader.rs')
-rw-r--r--components/script/document_loader.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/document_loader.rs b/components/script/document_loader.rs
index 14e107e9d02..7520bac32cb 100644
--- a/components/script/document_loader.rs
+++ b/components/script/document_loader.rs
@@ -100,6 +100,7 @@ impl DocumentLoader {
}
pub fn is_blocked(&self) -> bool {
+ //TODO: Ensure that we report blocked if parsing is still ongoing.
!self.blocking_loads.is_empty()
}