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

Unified Diff: LayoutTests/fast/parser/resources/remove-parent.xhtml

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
« no previous file with comments | « no previous file | LayoutTests/fast/parser/xhtml-synchronous-detach-crash.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/parser/resources/remove-parent.xhtml
diff --git a/LayoutTests/fast/parser/resources/remove-parent.xhtml b/LayoutTests/fast/parser/resources/remove-parent.xhtml
new file mode 100644
index 0000000000000000000000000000000000000000..12caaa5f4c1e6b958dd5a7ce105493aa27bf228d
--- /dev/null
+++ b/LayoutTests/fast/parser/resources/remove-parent.xhtml
@@ -0,0 +1,5 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<body>
+<iframe src="about:blank" onload="parent.document.getElementsByTagName('iframe')[0].remove();"></iframe>
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/parser/xhtml-synchronous-detach-crash.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698