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

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

Issue 15738007: Protect WebURLLoaderImpl::Context while receiving responses. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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: 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>

Powered by Google App Engine
This is Rietveld 408576698