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

Unified Diff: LayoutTests/mhtml/mhtml_in_iframe.html

Issue 161383002: Disabling JavaScript in MHTML and limiting MHTML loading to top frames. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced Created 6 years, 9 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/mhtml/mhtml_in_iframe.html
diff --git a/LayoutTests/mhtml/mhtml_in_iframe.html b/LayoutTests/mhtml/mhtml_in_iframe.html
new file mode 100644
index 0000000000000000000000000000000000000000..db06892bcbcaab7cc06b0e23781c0464c885b475
--- /dev/null
+++ b/LayoutTests/mhtml/mhtml_in_iframe.html
@@ -0,0 +1,18 @@
+<html>
+
+<script>
+ if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.dumpChildFramesAsText();
+ }
+</script>
+
+<body>
+
+This page has an IFrame that tries to load some MHTML.<br>
+The load should fail.<br>
+
+<iframe src="simple_page_unmht.mht"></iframe>
+
+</body>
+</html>
« no previous file with comments | « LayoutTests/mhtml/invalid-bad-boundary2-expected.txt ('k') | LayoutTests/mhtml/mhtml_in_iframe-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698