diff options
author | Alan Jeffrey <ajeffrey@mozilla.com> | 2017-01-11 12:57:08 -0600 |
---|---|---|
committer | Alan Jeffrey <ajeffrey@mozilla.com> | 2017-01-27 17:25:40 -0600 |
commit | ca9cee084e5ee8282c5d074f763b23936efc394f (patch) | |
tree | ec39662a15893f9925ad3e5cc7a48ec7dfdd5b5a /components/script/dom | |
parent | a43c842099019c9193b6cddfa5219ddbc8b93eee (diff) | |
download | servo-ca9cee084e5ee8282c5d074f763b23936efc394f.tar.gz servo-ca9cee084e5ee8282c5d074f763b23936efc394f.zip |
Fix document.write check for activity.
Diffstat (limited to 'components/script/dom')
-rw-r--r-- | components/script/dom/document.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/script/dom/document.rs b/components/script/dom/document.rs index 10ce0f3bf28..3a96d369c23 100644 --- a/components/script/dom/document.rs +++ b/components/script/dom/document.rs @@ -3271,8 +3271,7 @@ impl DocumentMethods for Document { // Step 2. // TODO: handle throw-on-dynamic-markup-insertion counter. - // FIXME: this should check for being active rather than fully active - if !self.is_fully_active() { + if !self.is_active() { // Step 3. return Ok(()); } |