[ES6] Cache the resolution result in JSModuleRecord
[WebKit-https.git] / LayoutTests / mhtml / check_domain-expected.html
1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
2
3
4 <title>A simple page</title>
5 <script>
6 if (window.testRunner)
7   testRunner.waitUntilDone();
8
9 window.onload = function() {
10   var span=document.createElement("span");
11   if (window.location != 'http://localhost/simple_page.html' &&
12       document.domain != 'localhost') {
13      span.innerHTML = "PASS";
14   } else {
15      span.innerHTML = "FAIL window.location=" + window.location +
16          " document.domain=" + document.domain;
17   }
18
19   document.getElementById('locDiv').appendChild(span);
20   testRunner.notifyDone();
21 }
22
23 </script>
24 <base href=3D"http://localhost/"></base></head><body>
25 <h1>This is a very simple page</h1>
26 Very <b>basic</b> page.
27 <div id='locDiv'></div>
28 </body></html>