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

Side by Side Diff: LayoutTests/mhtml/page_with_image_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?UGFnZSB3aXRoIHNxdWFyZQ==?= 2 Subject: =?iso-2022-jp?B?UGFnZSB3aXRoIHNxdWFyZQ==?=
3 Date: Wed, May 18 2011 16:38:33 GMT-0700 3 Date: Wed, May 18 2011 16:38:33 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_02C8A5EE.D896CA6B"; 6 boundary="----=_NextPart_000_0000_02C8A5EE.D896CA6B";
7 type="text/html" 7 type="text/html"
8 8
9 ------=_NextPart_000_0000_02C8A5EE.D896CA6B 9 ------=_NextPart_000_0000_02C8A5EE.D896CA6B
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/page_with_image.html 12 Content-Location: http://localhost/page_with_image.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>Page with square</title> 18 <title>Page with square</title>
19 <script>
20 if (window.testRunner) {
21 testRunner.dumpAsText();
22 }
23
24 </script>
25 <base href=3D"http://localhost/"></base></head><body> 19 <base href=3D"http://localhost/"></base></head><body>
26 This is a red square:<br> 20 This is a red square:<br>
27 <img onerror=3D"document.getElementById(&#x27;error&#x27;).innerHTML+=3D&#x= 21 <img src=3D"resources/red_square.png">
28 27;Failed to load image!&#x27;" src=3D"resources/red_square.png">
29 <div id=3D"error"></div>
30 </body></html> 22 </body></html>
31 ------=_NextPart_000_0000_02C8A5EE.D896CA6B 23 ------=_NextPart_000_0000_02C8A5EE.D896CA6B
32 Content-Type: image/png 24 Content-Type: image/png
33 Content-Transfer-Encoding: base64 25 Content-Transfer-Encoding: base64
34 Content-Location: http://localhost/resources/red_square.png 26 Content-Location: http://localhost/resources/red_square.png
35 27
36 iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACx 28 iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACx
37 jwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAACESURBVEhL7ZYxDoAwCEXB2LGTo46ewXj/zXgV 29 jwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAACESURBVEhL7ZYxDoAwCEXB2LGTo46ewXj/zXgV
38 PQKgexP/Ai6l889/6Stp4HtZjYKOiRCpEpfSEIYgJqxNMFTkFUjVXiZhT6qGirwCqdrLJOxJ1VCR 30 PQKgexP/Ai6l889/6Stp4HtZjYKOiRCpEpfSEIYgJqxNMFTkFUjVXiZhT6qGirwCqdrLJOxJ1VCR
39 V6A/1XxNc9jqQ6JkpjTU2rwQR+5c4769YCM5zn/BX4PY33Dljb0+JtiTqqEir8ADWEIY6dz7d1cA 31 V6A/1XxNc9jqQ6JkpjTU2rwQR+5c4769YCM5zn/BX4PY33Dljb0+JtiTqqEir8ADWEIY6dz7d1cA
40 AAAASUVORK5CYII= 32 AAAASUVORK5CYII=
41 ------=_NextPart_000_0000_02C8A5EE.D896CA6B-- 33 ------=_NextPart_000_0000_02C8A5EE.D896CA6B--
OLDNEW
« no previous file with comments | « LayoutTests/mhtml/page_with_image_ie-expected.txt ('k') | LayoutTests/mhtml/page_with_image_unmht-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698