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

Unified Diff: LayoutTests/mhtml/multi_frames_unmht.mht

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
« no previous file with comments | « LayoutTests/mhtml/multi_frames_ie-expected.txt ('k') | LayoutTests/mhtml/multi_frames_unmht-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/mhtml/multi_frames_unmht.mht
diff --git a/LayoutTests/mhtml/multi_frames_unmht.mht b/LayoutTests/mhtml/multi_frames_unmht.mht
index 1c88776aea82cf117010c0a249a5d6a1ddfd2216..1cbb5de0b9611e945000d8783d4a0444333a2385 100644
--- a/LayoutTests/mhtml/multi_frames_unmht.mht
+++ b/LayoutTests/mhtml/multi_frames_unmht.mht
@@ -16,21 +16,13 @@ Content-Location: http://localhost/top_frame.html
<title>A page that contains multiple nested frames</title>
-<script>
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.dumpChildFramesAsText();
-}
-</script>
<base href=3D"http://localhost/"></base></head><body>
This page contains several frames.<br>
<iframe src=3D"http://localhost/frame_0.html"></iframe><br>
<iframe src=3D"http://localhost/frame_1.html"></iframe><br>
<iframe src=3D"http://localhost/frame_2.html"></iframe><br>
And a red square:<br>
-<img onerror=3D"document.getElementById(&#x27;error&#x27;).innerHTML+=3D&#x=
-27;Failed to load image!&#x27;" src=3D"resources/red_square.png">
-<div id=3D"error"></div>
+<img src=3D"resources/red_square.png">
</body></html>
------=_NextPart_000_0000_58874EE0.2096A571
Content-Type: text/html; charset="ISO-8859-1"
@@ -79,9 +71,7 @@ Content-Location: http://localhost/frame_4.html
<base href=3D"http://localhost/"></base></head><body>
This is frame 4!<br>
-<img onerror=3D"document.getElementById(&#x27;error&#x27;).innerHTML+=3D&#x=
-27;Failed to load image!&#x27;" src=3D"resources/red_square.png">
-<div id=3D"error"></div>
+<img src=3D"resources/red_square.png">
</body></html>
------=_NextPart_000_0000_58874EE0.2096A571
Content-Type: image/png
« no previous file with comments | « LayoutTests/mhtml/multi_frames_ie-expected.txt ('k') | LayoutTests/mhtml/multi_frames_unmht-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698