Index: LayoutTests/mhtml/invalid-bad-boundary2.mht |
diff --git a/LayoutTests/mhtml/invalid-bad-boundary2.mht b/LayoutTests/mhtml/invalid-bad-boundary2.mht |
new file mode 100644 |
index 0000000000000000000000000000000000000000..fd9d657fa7deebb9878ff9249d0814dd47801098 |
--- /dev/null |
+++ b/LayoutTests/mhtml/invalid-bad-boundary2.mht |
@@ -0,0 +1,41 @@ |
+From: <Saved by UnMHT Ver.6.3.3 with manual conversion of first part into binary encoding> |
+Subject: MHTML Tests |
+Date: Wed, 14 Aug 2013 11:21:04 +0200 |
+MIME-Version: 1.0 |
+Content-Type: multipart/related; |
+ boundary="----=_Part_ADD9911_9D32DCC.1376472064834"; |
+ type="text/html" |
+ |
+-----=_Part_ADD9911_9D32DCC.1376472064834 |
+Content-Location: http://localhost/content_transfer_encoding_none.html |
+Content-Type: text/html; |
+ charset="UTF-8" |
+ |
+<!DOCTYPE html> |
+<html lang='en'> |
+ <head> |
+ <title>MHTML Content-Transfer-Encoding none test</title> |
+ <script> |
+ if (window.testRunner) |
+ testRunner.dumpAsText(); |
+ </script> |
+ </head> |
+ <body> |
+ This is a red square:<br> |
+ <img src="resources/red_square.png" onerror="document.getElementById('error').innerHTML+='Failed to load image!'"> |
+ <div id="error"></div> |
+ </body> |
+</html> |
+ |
+------=_Part_ADD9911_9D32DCC.1376472064834 |
+Content-Location: http://localhost/resources/red_square.png |
+Content-Transfer-Encoding: base64 |
+Content-Type: image/png |
+ |
+iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACx |
+jwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAACESURBVEhL7ZYxDoAwCEXB2LGTo46ewXj/zXgV |
+PQKgexP/Ai6l889/6Stp4HtZjYKOiRCpEpfSEIYgJqxNMFTkFUjVXiZhT6qGirwCqdrLJOxJ1VCR |
+V6A/1XxNc9jqQ6JkpjTU2rwQR+5c4769YCM5zn/BX4PY33Dljb0+JtiTqqEir8ADWEIY6dz7d1cA |
+AAAASUVORK5CYII= |
+ |
+------=_Part_ADD9911_9D32DCC.1376472064834-- |