Chromium Code Reviews

Side by Side Diff: LayoutTests/mhtml/multi_frames_ie.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.
Jump to:
View unified diff | | Annotate | Revision Log
OLDNEW
1 From: "Saved by Windows Internet Explorer 9" 1 From: "Saved by Windows Internet Explorer 9"
2 Subject: A page that contains multiple nested frames 2 Subject: A page that contains multiple nested frames
3 Date: Wed, 18 May 2011 16:50:17 -0700 3 Date: Wed, 18 May 2011 16:50:17 -0700
4 MIME-Version: 1.0 4 MIME-Version: 1.0
5 Content-Type: multipart/related; 5 Content-Type: multipart/related;
6 type="multipart/alternative"; 6 type="multipart/alternative";
7 boundary="----=_NextPart_000_0020_01CC157B.AAC3EF70" 7 boundary="----=_NextPart_000_0020_01CC157B.AAC3EF70"
8 X-MimeOLE: Produced By Microsoft MimeOLE V6.1.7600.16776 8 X-MimeOLE: Produced By Microsoft MimeOLE V6.1.7600.16776
9 9
10 This is a multi-part message in MIME format. 10 This is a multi-part message in MIME format.
(...skipping 17 matching lines...)
28 ------=_NextPart_001_0023_01CC157B.AAC41680 28 ------=_NextPart_001_0023_01CC157B.AAC41680
29 Content-Type: text/html; 29 Content-Type: text/html;
30 charset="Windows-1252" 30 charset="Windows-1252"
31 Content-Transfer-Encoding: quoted-printable 31 Content-Transfer-Encoding: quoted-printable
32 Content-Location: http://localhost/top_frame.html 32 Content-Location: http://localhost/top_frame.html
33 33
34 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 34 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
35 <HTML><HEAD><TITLE>A page that contains multiple nested frames</TITLE> 35 <HTML><HEAD><TITLE>A page that contains multiple nested frames</TITLE>
36 <META content=3D"text/html; charset=3Dwindows-1252" = 36 <META content=3D"text/html; charset=3Dwindows-1252" =
37 http-equiv=3DContent-Type> 37 http-equiv=3DContent-Type>
38 <SCRIPT>=0A=
39 if (window.testRunner) {=0A=
40 testRunner.dumpAsText();=0A=
41 testRunner.dumpChildFramesAsText();=0A=
42 }=0A=
43 </SCRIPT>
44 38
45 <META name=3DGENERATOR content=3D"MSHTML 9.00.8112.16421"></HEAD> 39 <META name=3DGENERATOR content=3D"MSHTML 9.00.8112.16421"></HEAD>
46 <BODY>This page contains several frames.<BR><IFRAME=20 40 <BODY>This page contains several frames.<BR><IFRAME=20
47 src=3D"http://localhost/frame_0.html"></IFRAME><BR><IFRAME=20 41 src=3D"http://localhost/frame_0.html"></IFRAME><BR><IFRAME=20
48 src=3D"http://localhost/frame_1.html"></IFRAME><BR><IFRAME=20 42 src=3D"http://localhost/frame_1.html"></IFRAME><BR><IFRAME=20
49 src=3D"http://localhost/frame_2.html"></IFRAME><BR>And a red = 43 src=3D"http://localhost/frame_2.html"></IFRAME><BR>And a red =
50 square:<BR><IMG=20 44 square:<BR><IMG=20
51 onerror=3D"document.getElementById('error').innerHTML+=3D'Failed to load =
52 image!'"=20
53 src=3D"http://localhost/resources/red_square.png">=20 45 src=3D"http://localhost/resources/red_square.png">=20
54 <DIV id=3Derror></DIV></BODY></HTML> 46 </BODY></HTML>
55 47
56 ------=_NextPart_001_0023_01CC157B.AAC41680 48 ------=_NextPart_001_0023_01CC157B.AAC41680
57 Content-Type: text/html; 49 Content-Type: text/html;
58 charset="Windows-1252" 50 charset="Windows-1252"
59 Content-Transfer-Encoding: 7bit 51 Content-Transfer-Encoding: 7bit
60 Content-Location: http://localhost/frame_0.html 52 Content-Location: http://localhost/frame_0.html
61 53
62 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 54 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
63 <HTML><HEAD> 55 <HTML><HEAD>
64 <META content="text/html; charset=windows-1252" http-equiv=Content-Type> 56 <META content="text/html; charset=windows-1252" http-equiv=Content-Type>
(...skipping 19 matching lines...)
84 charset="Windows-1252" 76 charset="Windows-1252"
85 Content-Transfer-Encoding: quoted-printable 77 Content-Transfer-Encoding: quoted-printable
86 Content-Location: http://localhost/frame_4.html 78 Content-Location: http://localhost/frame_4.html
87 79
88 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 80 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
89 <HTML><HEAD> 81 <HTML><HEAD>
90 <META content=3D"text/html; charset=3Dwindows-1252" = 82 <META content=3D"text/html; charset=3Dwindows-1252" =
91 http-equiv=3DContent-Type> 83 http-equiv=3DContent-Type>
92 <META name=3DGENERATOR content=3D"MSHTML 9.00.8112.16421"></HEAD> 84 <META name=3DGENERATOR content=3D"MSHTML 9.00.8112.16421"></HEAD>
93 <BODY>This is frame 4!<BR><IMG=20 85 <BODY>This is frame 4!<BR><IMG=20
94 onerror=3D"document.getElementById('error').innerHTML+=3D'Failed to load = 86 src=3D"http://localhost/resources/red_square.png">=20
95 image!'"=20 87 </BODY></HTML>
96 src=3D"http://localhost/resources/red_square.png">=20
97 <DIV id=3Derror></DIV></BODY></HTML>
98 88
99 ------=_NextPart_000_0020_01CC157B.AAC3EF70 89 ------=_NextPart_000_0020_01CC157B.AAC3EF70
100 Content-Type: text/html; 90 Content-Type: text/html;
101 charset="Windows-1252" 91 charset="Windows-1252"
102 Content-Transfer-Encoding: 7bit 92 Content-Transfer-Encoding: 7bit
103 Content-Location: http://localhost/frame_2.html 93 Content-Location: http://localhost/frame_2.html
104 94
105 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 95 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
106 <HTML><HEAD> 96 <HTML><HEAD>
107 <META content="text/html; charset=windows-1252" http-equiv=Content-Type> 97 <META content="text/html; charset=windows-1252" http-equiv=Content-Type>
108 <META name=GENERATOR content="MSHTML 9.00.8112.16421"></HEAD> 98 <META name=GENERATOR content="MSHTML 9.00.8112.16421"></HEAD>
109 <BODY>The third frame!<BR>This one contains yet another frame. What a 99 <BODY>The third frame!<BR>This one contains yet another frame. What a
110 twist!<BR><IFRAME 100 twist!<BR><IFRAME
111 src="http://localhost/frame_4.html"></IFRAME></BODY></HTML> 101 src="http://localhost/frame_4.html"></IFRAME></BODY></HTML>
112 102
113 ------=_NextPart_000_0020_01CC157B.AAC3EF70-- 103 ------=_NextPart_000_0020_01CC157B.AAC3EF70--
OLDNEW
« no previous file with comments | « LayoutTests/mhtml/multi_frames_binary-expected.txt ('k') | LayoutTests/mhtml/multi_frames_ie-expected.html » ('j') | no next file with comments »

Powered by Google App Engine