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

Unified Diff: Source/web/tests/data/mhtml/simple_test.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: Removed check_domain.mht (replaced with relative_url.mht) Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: Source/web/tests/data/mhtml/simple_test.mht
diff --git a/LayoutTests/mhtml/base_url.mht b/Source/web/tests/data/mhtml/simple_test.mht
similarity index 65%
rename from LayoutTests/mhtml/base_url.mht
rename to Source/web/tests/data/mhtml/simple_test.mht
index 9b8bb68a654104f4b717584c07c83831ddac0b97..001ca46b3fae51c7c49312ce53e4c67ce4a0bd52 100644
--- a/LayoutTests/mhtml/base_url.mht
+++ b/Source/web/tests/data/mhtml/simple_test.mht
@@ -9,7 +9,7 @@ Content-Type: multipart/related;
------=_NextPart_000_0000_87206557.D2C008B0
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
-Content-Location: http://localhost/base.html
+Content-Location: http://localhost/simple.html
<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset=
=3Diso-8859-1">
@@ -17,14 +17,7 @@ Content-Location: http://localhost/base.html
<title>A simple page</title>
</head>
<body>
-<div id="out"></div>
-<script>
-if (window.testRunner)
- testRunner.dumpAsText();
-if (window.internals.baseURL(document) == "http://localhost/base.html")
- out.innerHTML = "PASS";
-else
- out.innerHTML = "FAIL";
-</script>
+That simple?<br>
+Yes<br>
</body></html>
------=_NextPart_000_0000_87206557.D2C008B0--

Powered by Google App Engine
This is Rietveld 408576698