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

Unified Diff: content/test/data/error-body-no-crash.html

Issue 11778083: Test that 404 subresource bodies with nested message loops don't crash. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 7 years, 11 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 | « content/browser/webkit_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/error-body-no-crash.html
diff --git a/content/test/data/error-body-no-crash.html b/content/test/data/error-body-no-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..cf0b32c79952ca8960f8aa792c8e2545d4a2bb44
--- /dev/null
+++ b/content/test/data/error-body-no-crash.html
@@ -0,0 +1,6 @@
+<!-- The showModalDialog call will force a nested message loop, which will
+ receive the 404 body and crash. -->
+<script src="page404.html"></script>
+<script>
+window.showModalDialog("javascript:window.close();");
+</script>
« no previous file with comments | « content/browser/webkit_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698