Skip to content

Commit

Permalink
set document ready state to complete in step 4 of parser abort
Browse files Browse the repository at this point in the history
  • Loading branch information
gterzian committed Dec 23, 2018
1 parent 7530faa commit cca354b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions components/script/dom/servoparser/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,7 @@ impl ServoParser {
self.document.set_current_parser(None);

// Step 4.
self.document
.set_ready_state(DocumentReadyState::Interactive);
self.document.set_ready_state(DocumentReadyState::Complete);
}

// https://html.spec.whatwg.org/multipage/#active-parser
Expand Down

0 comments on commit cca354b

Please sign in to comment.