OLD | NEW |
1 From: <Saved by UnMHT> | 1 From: <Saved by UnMHT> |
2 Subject: =?iso-2022-jp?B?QSBzaW1wbGUgcGFnZQ==?= | 2 Subject: =?iso-2022-jp?B?QSBzaW1wbGUgcGFnZQ==?= |
3 Date: Wed, May 11 2011 15:36:36 GMT-0700 | 3 Date: Wed, May 11 2011 15:36:36 GMT-0700 |
4 MIME-Version: 1.0 | 4 MIME-Version: 1.0 |
5 Content-Type: multipart/related; | 5 Content-Type: multipart/related; |
6 boundary="----=_NextPart_000_0000_87206557.D2C008B0"; | 6 boundary="----=_NextPart_000_0000_87206557.D2C008B0"; |
7 type="text/html" | 7 type="text/html" |
8 | 8 |
9 ------=_NextPart_000_0000_87206557.D2C008B0 | 9 ------=_NextPart_000_0000_87206557.D2C008B0 |
10 Content-Type: text/html; charset="ISO-8859-1" | 10 Content-Type: text/html; charset="ISO-8859-1" |
11 Content-Transfer-Encoding: quoted-printable | 11 Content-Transfer-Encoding: quoted-printable |
12 Content-Location: http://localhost/base.html | 12 Content-Location: http://localhost/page_with_javascript.html |
13 | 13 |
14 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset= | 14 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset= |
15 =3Diso-8859-1"> | 15 =3Diso-8859-1"> |
16 | 16 |
17 <title>A simple page</title> | 17 |
18 </head> | 18 <title>A page with JavaScript</title> |
19 <body> | 19 <h1>This page has content generated by JavaScript</h1> |
20 <div id="out"></div> | 20 Javascript is not run, so that dynamic content should not show. |
| 21 <div id=3D"myDiv"></div> |
| 22 |
21 <script> | 23 <script> |
22 if (window.testRunner) | 24 document.getElementById('myDiv').innerHTML =3D |
23 testRunner.dumpAsText(); | 25 "JavaScript is in the house!"; |
24 if (window.internals.baseURL(document) == "http://localhost/base.html") | |
25 out.innerHTML = "PASS"; | |
26 else | |
27 out.innerHTML = "FAIL"; | |
28 </script> | 26 </script> |
| 27 |
29 </body></html> | 28 </body></html> |
30 ------=_NextPart_000_0000_87206557.D2C008B0-- | 29 ------=_NextPart_000_0000_87206557.D2C008B0-- |
OLD | NEW |