mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
script: LoadBlocker
's drop impl shouldn't run after termination. (#36508)
The logic in LoadBlocker::terminate was modified in #34122 to `clone` the LoadBlocker's inner `load` member instead of `take`ing it. However, this member serves as a flag so that `LoadBlocker`'s Drop impl can avoid calling `doc.finish_load` on already terminated loads. The change results in unnecessary 'unknown completed load' warnings when Servo is run with logging enabled. Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
This commit is contained in:
parent
6bb087e381
commit
2a723a528c
7 changed files with 29 additions and 3 deletions
3
tests/wpt/meta/dom/ranges/Range-deleteContents.html.ini
vendored
Normal file
3
tests/wpt/meta/dom/ranges/Range-deleteContents.html.ini
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[Range-deleteContents.html]
|
||||
bug: https://github.com/servo/servo/issues/36561
|
||||
expected: ERROR
|
Loading…
Add table
Add a link
Reference in a new issue