mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Fix document.write check for activity.
This commit is contained in:
parent
a43c842099
commit
ca9cee084e
6 changed files with 48 additions and 2 deletions
|
@ -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(());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue