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