mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 06:35:42 +00:00
b6061f6085
Fix the biggest cause of #6462 by wrapping lots of JS->Rust transitions in catch_panic, and calling resume_panic after all Rust->JS transitions return. Known issue: * Finalizers can be called in response to any JS engine allocation that triggers a GC, so it's possible for a Rust object's Drop implementation that panics to leave an interrupted panic in TLS. This is why 30d8009 is part of this PR; the underlying problem is that there's no clear place to resume the panic after it is interrupted. --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #6462 (github issue number if applicable). - [X] There are tests for these changes OR Source-Repo: https://github.com/servo/servo Source-Revision: 87d991ebd24886051ad1131bdbe3b9019cb1c4b3 |
||
---|---|---|
.. | ||
compiletest | ||
dromaeo | ||
heartbeats | ||
html | ||
jquery | ||
power | ||
unit |