aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_thread.rs
diff options
context:
space:
mode:
authorAlan Jeffrey <ajeffrey@mozilla.com>2017-01-11 12:57:08 -0600
committerAlan Jeffrey <ajeffrey@mozilla.com>2017-01-27 17:25:40 -0600
commitca9cee084e5ee8282c5d074f763b23936efc394f (patch)
treeec39662a15893f9925ad3e5cc7a48ec7dfdd5b5a /components/script/script_thread.rs
parenta43c842099019c9193b6cddfa5219ddbc8b93eee (diff)
downloadservo-ca9cee084e5ee8282c5d074f763b23936efc394f.tar.gz
servo-ca9cee084e5ee8282c5d074f763b23936efc394f.zip
Fix document.write check for activity.
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r--components/script/script_thread.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs
index 44fc267b2bd..2bdb75a486f 100644
--- a/components/script/script_thread.rs
+++ b/components/script/script_thread.rs
@@ -1304,6 +1304,7 @@ impl ScriptThread {
/// Handles activity change message
fn handle_set_document_activity_msg(&self, id: PipelineId, activity: DocumentActivity) {
+ debug!("Setting activity of {} to be {:?}.", id, activity);
let document = self.documents.borrow().find_document(id);
if let Some(document) = document {
document.set_activity(activity);