-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
https://bugs.webkit.org/show_bug.cgi?id=271167 rdar://124432235 Reviewed by Ryosuke Niwa. * LayoutTests/fast/ruby/ruby-continuation-crash-expected.txt: Added. * LayoutTests/fast/ruby/ruby-continuation-crash.html: Added. * Source/WebCore/rendering/updating/RenderTreeBuilder.cpp: (WebCore::RenderTreeBuilder::destroyAndCleanUpAnonymousWrappers): Improve robustness by using WeakPtr for destroyRoot and null checking before calling destroy(*destroyRoot) as it might get deleted by an earlier destroy() call. Canonical link: https://commits.webkit.org/272448.763@safari-7618-branch
- Loading branch information
Showing
3 changed files
with
24 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This test passes if it doesn't crash. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<style> | ||
#abs_pos { | ||
position: absolute; | ||
} | ||
</style> | ||
<ruby id=abs_pos><ruby id=inner_ruby></ruby><span><div>This test passes if it doesn't crash.</div></span></ruby> | ||
<script> | ||
if (window.testRunner) | ||
testRunner.dumpAsText(); | ||
document.body.offsetHeight; | ||
inner_ruby.remove(); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters