Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(617)

Unified Diff: third_party/WebKit/LayoutTests/fast/block/float/float-reparent-during-detach-crash.html

Issue 2099523002: Avoid dereferencing layoutObject during FloatingObject::unsafeClone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: none Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/block/float/float-reparent-during-detach-crash.html
diff --git a/third_party/WebKit/LayoutTests/fast/block/float/float-reparent-during-detach-crash.html b/third_party/WebKit/LayoutTests/fast/block/float/float-reparent-during-detach-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..25bf7a3c49e90a200fcf485eedf6ac92312dcf77
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/block/float/float-reparent-during-detach-crash.html
@@ -0,0 +1,21 @@
+<!doctype HTML>
+Passes if it does not crash.
wkorman 2016/06/24 18:10:35 Does this crash without the change, in a non-ASAN
chrishtr 2016/07/01 15:43:39 Just crashes in ASAN. But there are ASAN bots that
+<ruby>
+ test
+ <rt>
+ <rtc>
+ <a style="display:list-item">
+ <input style="float:right"></input>
+ </rtc>
+ </a>
+ </rt>
+ </ruby>
+<script>
+if (window.testRunner)
+ window.testRunner.dumpAsText();
+onload = function() {
+ var mySelection=window.getSelection();
+ document.execCommand("SelectAll");
+ mySelection.deleteFromDocument();
+}
+</script>

Powered by Google App Engine
This is Rietveld 408576698