OLD | NEW |
| (Empty) |
1 From: <Saved by UnMHT> | |
2 Subject: =?iso-2022-jp?B?QSBzaW1wbGUgcGFnZQ==?= | |
3 Date: Wed, May 11 2011 15:36:36 GMT-0700 | |
4 MIME-Version: 1.0 | |
5 Content-Type: multipart/related; | |
6 boundary="----=_NextPart_000_0000_87206557.D2C008B0"; | |
7 type="text/html" | |
8 | |
9 ------=_NextPart_000_0000_87206557.D2C008B0 | |
10 Content-Type: text/html; charset="ISO-8859-1" | |
11 Content-Transfer-Encoding: quoted-printable | |
12 Content-Location: http://localhost/simple_page.html | |
13 | |
14 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset= | |
15 =3Diso-8859-1"> | |
16 | |
17 | |
18 <title>A simple page</title> | |
19 <script> | |
20 if (window.testRunner) { | |
21 testRunner.dumpAsText(); | |
22 testRunner.waitUntilDone(); | |
23 } | |
24 | |
25 window.onload = function() { | |
26 var span=3Ddocument.createElement("span"); | |
27 if (window.location !=3D 'http://localhost/simple_page.html' && | |
28 document.domain !=3D 'localhost') { | |
29 span.innerHTML = "PASS"; | |
30 } else { | |
31 span.innerHTML = "FAIL window.location=" + window.location + | |
32 " document.domain=" + document.domain; | |
33 } | |
34 | |
35 document.getElementById('locDiv').appendChild(span); | |
36 testRunner.notifyDone(); | |
37 } | |
38 | |
39 </script> | |
40 <base href=3D"http://localhost/"></base></head><body> | |
41 <h1>This is a very simple page</h1> | |
42 Very <b>basic</b> page. | |
43 <div id=3D'locDiv'></div> | |
44 </body></html> | |
45 ------=_NextPart_000_0000_87206557.D2C008B0-- | |
OLD | NEW |