aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/servoparser/mod.rs
diff options
context:
space:
mode:
authorAlan Jeffrey <ajeffrey@mozilla.com>2017-01-10 14:35:25 -0600
committerAlan Jeffrey <ajeffrey@mozilla.com>2017-01-27 12:39:43 -0600
commita43c842099019c9193b6cddfa5219ddbc8b93eee (patch)
treebe613e3f373897aba1a1033f50d5cd0702451fa7 /components/script/dom/servoparser/mod.rs
parent556a46f537009bfc0c5cffadcd1a640c2b0c3029 (diff)
downloadservo-a43c842099019c9193b6cddfa5219ddbc8b93eee.tar.gz
servo-a43c842099019c9193b6cddfa5219ddbc8b93eee.zip
The constellation notifies the script thread about documents becoming inactive, active and fully active.
Diffstat (limited to 'components/script/dom/servoparser/mod.rs')
-rw-r--r--components/script/dom/servoparser/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/dom/servoparser/mod.rs b/components/script/dom/servoparser/mod.rs
index aaa36a2098b..d64704b2368 100644
--- a/components/script/dom/servoparser/mod.rs
+++ b/components/script/dom/servoparser/mod.rs
@@ -35,6 +35,7 @@ use network_listener::PreInvoke;
use profile_traits::time::{TimerMetadata, TimerMetadataFrameType};
use profile_traits::time::{TimerMetadataReflowType, ProfilerCategory, profile};
use script_thread::ScriptThread;
+use script_traits::DocumentActivity;
use servo_config::resource_files::read_resource_file;
use servo_url::ServoUrl;
use std::cell::Cell;
@@ -107,6 +108,7 @@ impl ServoParser {
IsHTMLDocument::HTMLDocument,
None,
None,
+ DocumentActivity::Inactive,
DocumentSource::FromParser,
loader,
None,