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

Side by Side Diff: LayoutTests/mhtml/invalid-bad-boundary2.mht

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

Powered by Google App Engine
This is Rietveld 408576698