mirror of
https://github.com/servo/servo.git
synced 2025-07-15 19:33:46 +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);
|
self.suspended.set(true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if self.aborted.get() {
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
[010.html]
|
[010.html]
|
||||||
type: testharness
|
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]
|
[aborted-parser.window.html]
|
||||||
expected: TIMEOUT
|
|
||||||
[document.open() after parser is aborted]
|
[document.open() after parser is aborted]
|
||||||
expected: TIMEOUT
|
expected: FAIL
|
||||||
|
|
||||||
[async document.open() after parser is aborted]
|
|
||||||
expected: TIMEOUT
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue