Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upWindows and elements can exist after their associated pipelines are closed #19170
Comments
Closed
|
This is a super general problem that is not just limited to GetBoundingClientRect. |
|
Ouch, indeed, basically anything that tries to communicate with layout should be able to handle failure... There's stuff that's not easy here, and it's not clear how you'd handle failure in some cases (like getComputedStyle). Returning null for example would cause stuff like: https://bugzilla.mozilla.org/show_bug.cgi?id=548397 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I believe this is the cause of the panics in #18872. We have code that assumes that you can't interact with the pipeline's layout thread after the pipeline is closed, but this minimal reproduction demonstrates otherwise: