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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 From: <Saved by UnMHT> 1 From: <Saved by UnMHT>
2 Subject: =?iso-2022-jp?B?QSBwYWdlIHRoYXQgY29udGFpbnMgbXVsdGlwbGUgbmVzdGVkIGZyYW1 lcw==?= 2 Subject: =?iso-2022-jp?B?QSBwYWdlIHRoYXQgY29udGFpbnMgbXVsdGlwbGUgbmVzdGVkIGZyYW1 lcw==?=
3 Date: Wed, May 18 2011 15:20:34 GMT-0700 3 Date: Wed, May 18 2011 15:20:34 GMT-0700
4 MIME-Version: 1.0 4 MIME-Version: 1.0
5 Content-Type: multipart/related; 5 Content-Type: multipart/related;
6 boundary="----=_NextPart_000_0000_58874EE0.2096A571"; 6 boundary="----=_NextPart_000_0000_58874EE0.2096A571";
7 type="text/html" 7 type="text/html"
8 8
9 ------=_NextPart_000_0000_58874EE0.2096A571 9 ------=_NextPart_000_0000_58874EE0.2096A571
10 Content-Type: text/html; charset="ISO-8859-1" 10 Content-Type: text/html; charset="ISO-8859-1"
11 Content-Transfer-Encoding: quoted-printable 11 Content-Transfer-Encoding: quoted-printable
12 Content-Location: http://localhost/top_frame.html 12 Content-Location: http://localhost/top_frame.html
13 13
14 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset= 14 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset=
15 =3Diso-8859-1"> 15 =3Diso-8859-1">
16 16
17 17
18 <title>A page that contains multiple nested frames</title> 18 <title>A page that contains multiple nested frames</title>
19 <script>
20 if (window.testRunner) {
21 testRunner.dumpAsText();
22 testRunner.dumpChildFramesAsText();
23 }
24 </script>
25 <base href=3D"http://localhost/"></base></head><body> 19 <base href=3D"http://localhost/"></base></head><body>
26 This page contains several frames.<br> 20 This page contains several frames.<br>
27 <iframe src=3D"http://localhost/frame_0.html"></iframe><br> 21 <iframe src=3D"http://localhost/frame_0.html"></iframe><br>
28 <iframe src=3D"http://localhost/frame_1.html"></iframe><br> 22 <iframe src=3D"http://localhost/frame_1.html"></iframe><br>
29 <iframe src=3D"http://localhost/frame_2.html"></iframe><br> 23 <iframe src=3D"http://localhost/frame_2.html"></iframe><br>
30 And a red square:<br> 24 And a red square:<br>
31 <img onerror=3D"document.getElementById(&#x27;error&#x27;).innerHTML+=3D&#x= 25 <img src=3D"resources/red_square.png">
32 27;Failed to load image!&#x27;" src=3D"resources/red_square.png">
33 <div id=3D"error"></div>
34 </body></html> 26 </body></html>
35 ------=_NextPart_000_0000_58874EE0.2096A571 27 ------=_NextPart_000_0000_58874EE0.2096A571
36 Content-Type: text/html; charset="ISO-8859-1" 28 Content-Type: text/html; charset="ISO-8859-1"
37 Content-Transfer-Encoding: quoted-printable 29 Content-Transfer-Encoding: quoted-printable
38 Content-Location: http://localhost/frame_0.html 30 Content-Location: http://localhost/frame_0.html
39 31
40 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset= 32 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset=
41 =3Diso-8859-1"> 33 =3Diso-8859-1">
42 34
43 <base href=3D"http://localhost/"></base></head><body> 35 <base href=3D"http://localhost/"></base></head><body>
(...skipping 28 matching lines...) Expand all
72 ------=_NextPart_000_0000_58874EE0.2096A571 64 ------=_NextPart_000_0000_58874EE0.2096A571
73 Content-Type: text/html; charset="ISO-8859-1" 65 Content-Type: text/html; charset="ISO-8859-1"
74 Content-Transfer-Encoding: quoted-printable 66 Content-Transfer-Encoding: quoted-printable
75 Content-Location: http://localhost/frame_4.html 67 Content-Location: http://localhost/frame_4.html
76 68
77 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset= 69 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset=
78 =3Diso-8859-1"> 70 =3Diso-8859-1">
79 71
80 <base href=3D"http://localhost/"></base></head><body> 72 <base href=3D"http://localhost/"></base></head><body>
81 This is frame 4!<br> 73 This is frame 4!<br>
82 <img onerror=3D"document.getElementById(&#x27;error&#x27;).innerHTML+=3D&#x= 74 <img src=3D"resources/red_square.png">
83 27;Failed to load image!&#x27;" src=3D"resources/red_square.png">
84 <div id=3D"error"></div>
85 </body></html> 75 </body></html>
86 ------=_NextPart_000_0000_58874EE0.2096A571 76 ------=_NextPart_000_0000_58874EE0.2096A571
87 Content-Type: image/png 77 Content-Type: image/png
88 Content-Transfer-Encoding: base64 78 Content-Transfer-Encoding: base64
89 Content-Location: http://localhost/resources/red_square.png 79 Content-Location: http://localhost/resources/red_square.png
90 80
91 iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACx 81 iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACx
92 jwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAACESURBVEhL7ZYxDoAwCEXB2LGTo46ewXj/zXgV 82 jwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAACESURBVEhL7ZYxDoAwCEXB2LGTo46ewXj/zXgV
93 PQKgexP/Ai6l889/6Stp4HtZjYKOiRCpEpfSEIYgJqxNMFTkFUjVXiZhT6qGirwCqdrLJOxJ1VCR 83 PQKgexP/Ai6l889/6Stp4HtZjYKOiRCpEpfSEIYgJqxNMFTkFUjVXiZhT6qGirwCqdrLJOxJ1VCR
94 V6A/1XxNc9jqQ6JkpjTU2rwQR+5c4769YCM5zn/BX4PY33Dljb0+JtiTqqEir8ADWEIY6dz7d1cA 84 V6A/1XxNc9jqQ6JkpjTU2rwQR+5c4769YCM5zn/BX4PY33Dljb0+JtiTqqEir8ADWEIY6dz7d1cA
95 AAAASUVORK5CYII= 85 AAAASUVORK5CYII=
96 ------=_NextPart_000_0000_58874EE0.2096A571-- 86 ------=_NextPart_000_0000_58874EE0.2096A571--
OLDNEW
« 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