Add memory space check routine before saving web storage data
[framework/web/webkit-efl.git] / LayoutTests / mhtml / page_with_css_and_js_ie.mht
1 From: "Saved by Windows Internet Explorer 9"\r
2 Subject: \r
3 Date: Wed, 18 May 2011 16:49:23 -0700\r
4 MIME-Version: 1.0\r
5 Content-Type: multipart/related;\r
6         type="text/html";\r
7         boundary="----=_NextPart_000_0012_01CC157B.8AA06570"\r
8 X-MimeOLE: Produced By Microsoft MimeOLE V6.1.7600.16776\r
9 \r
10 This is a multi-part message in MIME format.\r
11 \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
17 \r
18 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">\r
19 <HTML><HEAD>\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
26 \r
27 <SCRIPT>=0A=\r
28     if (window.testRunner) {=0A=\r
29       testRunner.dumpAsText();=0A=\r
30       testRunner.waitUntilDone();=0A=\r
31     }=0A=\r
32   </SCRIPT>\r
33 \r
34 <META name=3DGENERATOR content=3D"MSHTML 9.00.8112.16421"></HEAD>\r
35 <BODY onload=3DonLoad()>This page tests that CSS and JavaScript =\r
36 resources are=20\r
37 retrieved correctly for MHTML files.<BR><BR>There should be only one red =\r
38 square=20\r
39 below:=20\r
40 <DIV id=3DfirstDiv><IMG=20\r
41 src=3D"http://localhost/resources/red_square.png"><BR><BR></DIV>\r
42 <DIV id=3DsecondDiv>The red square below should be hidden by way of =\r
43 CSS.<BR><IMG=20\r
44 src=3D"http://localhost/resources/red_square.png"><BR><BR></DIV>\r
45 <DIV id=3DthirdDiv>The red square below should be hidden by way of=20\r
46 JavaScript.<BR><IMG=20\r
47 src=3D"http://localhost/resources/red_square.png"><BR><BR></DIV></BODY><=\r
48 /HTML>\r
49 \r
50 ------=_NextPart_000_0012_01CC157B.8AA06570\r
51 Content-Type: image/png\r
52 Content-Transfer-Encoding: base64\r
53 Content-Location: http://localhost/resources/red_square.png\r
54 \r
55 iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACx\r
56 jwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAACESURBVEhL7ZYxDoAwCEXB2LGTo46ewXj/zXgV\r
57 PQKgexP/Ai6l889/6Stp4HtZjYKOiRCpEpfSEIYgJqxNMFTkFUjVXiZhT6qGirwCqdrLJOxJ1VCR\r
58 V6A/1XxNc9jqQ6JkpjTU2rwQR+5c4769YCM5zn/BX4PY33Dljb0+JtiTqqEir8ADWEIY6dz7d1cA\r
59 AAAASUVORK5CYII=\r
60 \r
61 ------=_NextPart_000_0012_01CC157B.8AA06570\r
62 Content-Type: text/css;\r
63         charset="iso-8859-1"\r
64 Content-Transfer-Encoding: 7bit\r
65 Content-Location: http://localhost/resources/hide_image.css\r
66 \r
67 #secondDiv {\r
68         DISPLAY: none\r
69 }\r
70 \r
71 ------=_NextPart_000_0012_01CC157B.8AA06570\r
72 Content-Type: application/octet-stream\r
73 Content-Transfer-Encoding: quoted-printable\r
74 Content-Location: http://localhost/resources/remove_image_script.js\r
75 \r
76 function onLoad() {=0A=\r
77     divToRemove =3D document.getElementById("thirdDiv");=0A=\r
78     divToRemove.parentNode.removeChild(divToRemove);=0A=\r
79     if (window.testRunner)=0A=\r
80       testRunner.notifyDone();=0A=\r
81 }\r
82 ------=_NextPart_000_0012_01CC157B.8AA06570--\r