1 From: "Saved by Windows Internet Explorer 9"
\r
3 Date: Wed, 18 May 2011 16:49:23 -0700
\r
5 Content-Type: multipart/related;
\r
7 boundary="----=_NextPart_000_0012_01CC157B.8AA06570"
\r
8 X-MimeOLE: Produced By Microsoft MimeOLE V6.1.7600.16776
\r
10 This is a multi-part message in MIME format.
\r
12 ------=_NextPart_000_0012_01CC157B.8AA06570
\r
13 Content-Type: text/html;
\r
14 charset="Windows-1252"
\r
15 Content-Transfer-Encoding: quoted-printable
\r
16 Content-Location: http://localhost/page_with_css_and_js.html
\r
18 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
\r
20 <META content=3D"text/html; charset=3Dwindows-1252" =
\r
21 http-equiv=3DContent-Type><LINK=20
\r
22 rel=3Dstylesheet type=3Dtext/css =
\r
23 href=3D"http://localhost/resources/hide_image.css">
\r
24 <SCRIPT type=3Dtext/javascript=20
\r
25 src=3D"http://localhost/resources/remove_image_script.js"></SCRIPT>
\r
27 <META name=3DGENERATOR content=3D"MSHTML 9.00.8112.16421"></HEAD>
\r
28 <BODY onload=3DonLoad()>This page tests that CSS and JavaScript =
\r
30 retrieved correctly for MHTML files.<BR><BR>There should be only 2 red =
\r
33 <DIV id=3DfirstDiv><IMG=20
\r
34 src=3D"http://localhost/resources/red_square.png"><BR><BR></DIV>
\r
35 <DIV id=3DsecondDiv>The red square below should be hidden by way of =
\r
37 src=3D"http://localhost/resources/red_square.png"><BR><BR></DIV>
\r
38 <DIV id=3DthirdDiv>The red square below should be hidden by way of=20
\r
39 JavaScript (with JS disabled in MHTML, it still should show).<BR><IMG=20
\r
40 src=3D"http://localhost/resources/red_square.png"><BR><BR></DIV></BODY><=
\r
43 ------=_NextPart_000_0012_01CC157B.8AA06570
\r
44 Content-Type: image/png
\r
45 Content-Transfer-Encoding: base64
\r
46 Content-Location: http://localhost/resources/red_square.png
\r
48 iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACx
\r
49 jwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAACESURBVEhL7ZYxDoAwCEXB2LGTo46ewXj/zXgV
\r
50 PQKgexP/Ai6l889/6Stp4HtZjYKOiRCpEpfSEIYgJqxNMFTkFUjVXiZhT6qGirwCqdrLJOxJ1VCR
\r
51 V6A/1XxNc9jqQ6JkpjTU2rwQR+5c4769YCM5zn/BX4PY33Dljb0+JtiTqqEir8ADWEIY6dz7d1cA
\r
54 ------=_NextPart_000_0012_01CC157B.8AA06570
\r
55 Content-Type: text/css;
\r
56 charset="iso-8859-1"
\r
57 Content-Transfer-Encoding: 7bit
\r
58 Content-Location: http://localhost/resources/hide_image.css
\r
64 ------=_NextPart_000_0012_01CC157B.8AA06570
\r
65 Content-Type: application/octet-stream
\r
66 Content-Transfer-Encoding: quoted-printable
\r
67 Content-Location: http://localhost/resources/remove_image_script.js
\r
69 function onLoad() {=0A=
\r
70 divToRemove =3D document.getElementById("thirdDiv");=0A=
\r
71 divToRemove.parentNode.removeChild(divToRemove);=0A=
\r
72 if (window.testRunner)=0A=
\r
73 testRunner.notifyDone();=0A=
\r
75 ------=_NextPart_000_0012_01CC157B.8AA06570--
\r