mirror of
https://github.com/servo/servo.git
synced 2025-07-16 03:43:38 +01:00
stopping tokenizer if parser is aborted
This commit is contained in:
parent
e49c8e7f26
commit
31da37fa6c
3 changed files with 6 additions and 7 deletions
|
@ -482,6 +482,9 @@ impl ServoParser {
|
|||
self.suspended.set(true);
|
||||
return;
|
||||
}
|
||||
if self.aborted.get() {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[010.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Link with onclick form submit to javascript url with delayed document.write and href navigation ]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,8 +1,3 @@
|
|||
[aborted-parser.window.html]
|
||||
expected: TIMEOUT
|
||||
[document.open() after parser is aborted]
|
||||
expected: TIMEOUT
|
||||
|
||||
[async document.open() after parser is aborted]
|
||||
expected: TIMEOUT
|
||||
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue