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

Side by Side Diff: LayoutTests/mhtml/relative_url.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 Windows Internet Explorer 9" 1 From: "Saved by Windows Internet Explorer 9"
2 Subject: Page with square 2 Subject: Page with square
3 Date: Wed, 18 May 2011 16:49:44 -0700 3 Date: Wed, 18 May 2011 16:49:44 -0700
4 MIME-Version: 1.0 4 MIME-Version: 1.0
5 Content-Type: multipart/related; 5 Content-Type: multipart/related;
6 type="text/html"; 6 type="text/html";
7 boundary="----=_NextPart_000_001B_01CC157B.96F808A0" 7 boundary="----=_NextPart_000_001B_01CC157B.96F808A0"
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.
11 11
12 ------=_NextPart_000_001B_01CC157B.96F808A0 12 ------=_NextPart_000_001B_01CC157B.96F808A0
13 Content-Type: text/html; 13 Content-Type: text/html;
14 charset="Windows-1252" 14 charset="Windows-1252"
15 Content-Transfer-Encoding: quoted-printable 15 Content-Transfer-Encoding: quoted-printable
16 Content-Location: http://localhost/page_with_image.html 16 Content-Location: http://localhost/page_with_image.html
17 17
18 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 18 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
19 <HTML><HEAD><TITLE>Page with square</TITLE> 19 <HTML><HEAD><TITLE>Page with square</TITLE>
20 <META content=3D"text/html; charset=3Dwindows-1252" = 20 <META content=3D"text/html; charset=3Dwindows-1252" =
21 http-equiv=3DContent-Type> 21 http-equiv=3DContent-Type>
22 <SCRIPT>=0A=
23 if (window.testRunner) {=0A=
24 testRunner.dumpAsText();=0A=
25 }=0A=
26 =0A=
27 </SCRIPT>
28 22
29 <META name=3DGENERATOR content=3D"MSHTML 9.00.8112.16421"></HEAD> 23 <META name=3DGENERATOR content=3D"MSHTML 9.00.8112.16421"></HEAD>
30 <BODY>This is a red square:<BR><IMG=20 24 <BODY>
31 onerror=3D"document.getElementById('error').innerHTML+=3D'Failed to load = 25 Image with an absolute URL:<BR><IMG=20
32 image!'"=20 26 src=3D"http://localhost/resources/red_square.png"/>=20
33 src=3D"http://localhost/resources/red_square.png">=20 27 <br>Image with a relative URL:<BR><IMG=20
34 <DIV id=3Derror></DIV></BODY></HTML> 28 src=3D"resources/red_square.png"/>=20
29 </BODY></HTML>
35 30
36 ------=_NextPart_000_001B_01CC157B.96F808A0 31 ------=_NextPart_000_001B_01CC157B.96F808A0
37 Content-Type: image/png 32 Content-Type: image/png
38 Content-Transfer-Encoding: base64 33 Content-Transfer-Encoding: base64
39 Content-Location: http://localhost/resources/red_square.png 34 Content-Location: http://localhost/resources/red_square.png
40 35
41 iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACx 36 iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACx
42 jwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAACESURBVEhL7ZYxDoAwCEXB2LGTo46ewXj/zXgV 37 jwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAACESURBVEhL7ZYxDoAwCEXB2LGTo46ewXj/zXgV
43 PQKgexP/Ai6l889/6Stp4HtZjYKOiRCpEpfSEIYgJqxNMFTkFUjVXiZhT6qGirwCqdrLJOxJ1VCR 38 PQKgexP/Ai6l889/6Stp4HtZjYKOiRCpEpfSEIYgJqxNMFTkFUjVXiZhT6qGirwCqdrLJOxJ1VCR
44 V6A/1XxNc9jqQ6JkpjTU2rwQR+5c4769YCM5zn/BX4PY33Dljb0+JtiTqqEir8ADWEIY6dz7d1cA 39 V6A/1XxNc9jqQ6JkpjTU2rwQR+5c4769YCM5zn/BX4PY33Dljb0+JtiTqqEir8ADWEIY6dz7d1cA
45 AAAASUVORK5CYII= 40 AAAASUVORK5CYII=
46 41
47 ------=_NextPart_000_001B_01CC157B.96F808A0-- 42 ------=_NextPart_000_001B_01CC157B.96F808A0--
OLDNEW
« no previous file with comments | « LayoutTests/mhtml/page_with_javascript-expected.html ('k') | LayoutTests/mhtml/relative_url-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698