| Index: LayoutTests/mhtml/page_with_javascript.mht
|
| diff --git a/LayoutTests/mhtml/simple_page_unmht.mht b/LayoutTests/mhtml/page_with_javascript.mht
|
| similarity index 57%
|
| copy from LayoutTests/mhtml/simple_page_unmht.mht
|
| copy to LayoutTests/mhtml/page_with_javascript.mht
|
| index d03c63fc62aecaed375506c79876dc0689797e5a..2b6036f2f20a18fdfa3dffce9677a54d5d6f2fd9 100644
|
| --- a/LayoutTests/mhtml/simple_page_unmht.mht
|
| +++ b/LayoutTests/mhtml/page_with_javascript.mht
|
| @@ -9,19 +9,22 @@ 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/simple_page.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>
|
| +<title>A page with JavaScript</title>
|
| <script>
|
| -if (window.testRunner)
|
| - testRunner.dumpAsText();
|
| + window.onload =3D function() {
|
| + document.getElementById('myDiv').innerHTML =3D
|
| + "JavaScript is in the house!";
|
| + }
|
| </script>
|
| -<base href=3D"http://localhost/"></base></head><body>
|
| -<h1>This is a very simple page</h1>
|
| -Very <b>basic</b> page.
|
| +<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>
|
| +
|
| </body></html>
|
| ------=_NextPart_000_0000_87206557.D2C008B0--
|
|
|