Index: LayoutTests/mhtml/invalid-bad-boundary.mht |
diff --git a/LayoutTests/mhtml/invalid-bad-boundary.mht b/LayoutTests/mhtml/invalid-bad-boundary.mht |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f5cdbc99d2078c9cf2eee3fbb5869fc5177278e6 |
--- /dev/null |
+++ b/LayoutTests/mhtml/invalid-bad-boundary.mht |
@@ -0,0 +1,19 @@ |
+From: <Saved by WebKit> |
+Subject: Google |
+Date: Fri, 20 Jun 2013 14:36:21 -0700 |
+MIME-Version: 1.0 |
+Content-Type: multipart/related; |
+ type="text/html"; |
+ boundary="----=_NextPart_000_CA35_2BC72789.A73F63D7" |
+ |
+BadBoundary------=_NextPart_000_CA35_2BC72789.A73F63D7 |
+Content-Type: text/html |
+Content-Transfer-Encoding: quoted-printable |
+Content-Location: http://localhost/invalid-bad-boundary.html |
+ |
+<body> |
+<script> if (window.testRunner) { testRunner.dumpAsText() } </script> |
+This tests that we don't crash if the MHTML is invalid (bad boundary). |
+</body> |
+------=_NextPart_000_CA35_2BC72789.A73F63D7-- |
+ |