-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reland "Bug 1842221 - Simplify ThinArc and friends" #28
Reland "Bug 1842221 - Simplify ThinArc and friends" #28
Conversation
Still some crashes, like for <!DOCTYPE html>
<div id="el">CRASH?</div>
<script>
for (let i = 0; i < 1000; i++) {
el.matches("div[id=el]");
}
</script>
|
54911f3
to
80578c0
Compare
Maybe it's worth adding a crashtest in #28? Behavior is unchanged upstream, AFAICT. |
#28 (comment) is just a reduction of an existing WPT test, so adding it as a crashtest isn't probably worth it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good once #28 is updated to include the changes in <https://phabricator.services.mozilla.com/D206659?vs=845283&id=845659>.
ThinArc is way more complex than it needs to be, and miri complains about various things when using the selectors crate with it. This doesn't fully fix miri, but it gets much closer. ThinArc becomes just an alias for Arc<HeaderSlice<>>. This allows to simplify the bindings to ArcSlice too, since now the existing Arc<> code can just be used. Differential Revision: https://phabricator.services.mozilla.com/D183011
80578c0
to
3b1b786
Compare
Done. But @zrhoffman I guess you don't have write access here since it still says "review required". |
…. r=firefox-style-system-reviewers,zrhoffman See comments. Differential Revision: https://phabricator.services.mozilla.com/D206659
3b1b786
to
263c660
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This review is a rubber stamp, because this is a port of a Gecko change and also it has already been reviewed by @zrhoffman.
I reverted 516aec4 because it was making Servo crash.
This relands it together with 63a6a2d, with avoids the crashes.