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

Unified Diff: LayoutTests/fast/parser/xhtml-synchronous-detach-crash.html

Issue 23781008: Prevent crash in DocumentLoader::dataReceived (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Deflakify test Created 7 years, 3 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: LayoutTests/fast/parser/xhtml-synchronous-detach-crash.html
diff --git a/LayoutTests/fast/parser/xhtml-synchronous-detach-crash.html b/LayoutTests/fast/parser/xhtml-synchronous-detach-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..afc2e80d47ddff8bd42dc7a94c0c04f939abd90c
--- /dev/null
+++ b/LayoutTests/fast/parser/xhtml-synchronous-detach-crash.html
@@ -0,0 +1,14 @@
+<body>
+<script>
+if (window.testRunner)
+ testRunner.waitUntilDone();
+
+window.onload = function() {
+ setTimeout(function() {
+ testRunner.dumpAsText();
+ testRunner.notifyDone();
+ }, 0);
+}
+</script>
+<iframe src='resources/remove-parent.xhtml'></iframe>
+This test passes if it does not crash.

Powered by Google App Engine
This is Rietveld 408576698