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

Side by Side Diff: LayoutTests/mhtml/content_transfer_encoding_none.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 Ver.6.3.3 with manual conversion of first part into binary encoding> 1 From: <Saved by UnMHT Ver.6.3.3 with manual conversion of first part into binary encoding>
2 Subject: MHTML Tests 2 Subject: MHTML Tests
3 Date: Wed, 14 Aug 2013 11:21:04 +0200 3 Date: Wed, 14 Aug 2013 11:21:04 +0200
4 MIME-Version: 1.0 4 MIME-Version: 1.0
5 Content-Type: multipart/related; 5 Content-Type: multipart/related;
6 boundary="----=_Part_ADD9911_9D32DCC.1376472064834"; 6 boundary="----=_Part_ADD9911_9D32DCC.1376472064834";
7 type="text/html" 7 type="text/html"
8 8
9 ------=_Part_ADD9911_9D32DCC.1376472064834 9 ------=_Part_ADD9911_9D32DCC.1376472064834
10 Content-Location: http://localhost/content_transfer_encoding_none.html 10 Content-Location: http://localhost/content_transfer_encoding_none.html
11 Content-Type: text/html; 11 Content-Type: text/html;
12 charset="UTF-8" 12 charset="UTF-8"
13 13
14 <!DOCTYPE html> 14 <!DOCTYPE html>
15 <html lang='en'> 15 <html lang='en'>
16 <head> 16 <head>
17 <title>MHTML Content-Transfer-Encoding none test</title> 17 <title>MHTML Content-Transfer-Encoding none test</title>
18 <script>
19 if (window.testRunner)
20 testRunner.dumpAsText();
21 </script>
22 </head> 18 </head>
23 <body> 19 <body>
24 This is a red square:<br> 20 This is a red square:<br>
25 <img src="resources/red_square.png" onerror="document.getElementById('error'). innerHTML+='Failed to load image!'"> 21 <img src="resources/red_square.png">
26 <div id="error"></div>
27 </body> 22 </body>
28 </html> 23 </html>
29 24
30 ------=_Part_ADD9911_9D32DCC.1376472064834 25 ------=_Part_ADD9911_9D32DCC.1376472064834
31 Content-Location: http://localhost/resources/red_square.png 26 Content-Location: http://localhost/resources/red_square.png
32 Content-Transfer-Encoding: base64 27 Content-Transfer-Encoding: base64
33 Content-Type: image/png 28 Content-Type: image/png
34 29
35 iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACx 30 iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACx
36 jwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAACESURBVEhL7ZYxDoAwCEXB2LGTo46ewXj/zXgV 31 jwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAACESURBVEhL7ZYxDoAwCEXB2LGTo46ewXj/zXgV
37 PQKgexP/Ai6l889/6Stp4HtZjYKOiRCpEpfSEIYgJqxNMFTkFUjVXiZhT6qGirwCqdrLJOxJ1VCR 32 PQKgexP/Ai6l889/6Stp4HtZjYKOiRCpEpfSEIYgJqxNMFTkFUjVXiZhT6qGirwCqdrLJOxJ1VCR
38 V6A/1XxNc9jqQ6JkpjTU2rwQR+5c4769YCM5zn/BX4PY33Dljb0+JtiTqqEir8ADWEIY6dz7d1cA 33 V6A/1XxNc9jqQ6JkpjTU2rwQR+5c4769YCM5zn/BX4PY33Dljb0+JtiTqqEir8ADWEIY6dz7d1cA
39 AAAASUVORK5CYII= 34 AAAASUVORK5CYII=
40 35
41 ------=_Part_ADD9911_9D32DCC.1376472064834-- 36 ------=_Part_ADD9911_9D32DCC.1376472064834--
OLDNEW
« no previous file with comments | « LayoutTests/mhtml/check_domain-expected.txt ('k') | LayoutTests/mhtml/content_transfer_encoding_none-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698