Index: LayoutTests/mhtml/page_with_javascript.mht |
diff --git a/LayoutTests/mhtml/base_url.mht b/LayoutTests/mhtml/page_with_javascript.mht |
similarity index 60% |
rename from LayoutTests/mhtml/base_url.mht |
rename to LayoutTests/mhtml/page_with_javascript.mht |
index 9b8bb68a654104f4b717584c07c83831ddac0b97..c9aebcb6f1ede58f5211c59f1c0e65df4cf6cb8d 100644 |
--- a/LayoutTests/mhtml/base_url.mht |
+++ b/LayoutTests/mhtml/page_with_javascript.mht |
@@ -9,22 +9,21 @@ 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/page_with_javascript.html |
<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset= |
=3Diso-8859-1"> |
-<title>A simple page</title> |
-</head> |
-<body> |
-<div id="out"></div> |
+ |
+<title>A page with JavaScript</title> |
+<h1>This page has content generated by JavaScript</h1> |
+Javascript is not run, so that dynamic content should not show. |
+<div id=3D"myDiv"></div> |
+ |
<script> |
-if (window.testRunner) |
- testRunner.dumpAsText(); |
-if (window.internals.baseURL(document) == "http://localhost/base.html") |
- out.innerHTML = "PASS"; |
-else |
- out.innerHTML = "FAIL"; |
+ document.getElementById('myDiv').innerHTML =3D |
+ "JavaScript is in the house!"; |
</script> |
+ |
</body></html> |
------=_NextPart_000_0000_87206557.D2C008B0-- |