mirror of
https://github.com/servo/servo
synced 2026-05-09 08:32:31 +02:00
Fixed panic due to GC while parsing <!-- Please describe your changes on the following line: --> Don't trace the incomplete parsing contexts during GC, as parsing triggers GC while holding a mutable borrow of the context. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #21020 <!-- Either: --> - [X] These changes do not require tests because fixing a panic <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21028) <!-- Reviewable:end -->
118 KiB
118 KiB