1 <p>Tests origin whitelisting with IP addresses.
</p>
2 <pre id=
"console"></pre>
4 testRunner
.dumpAsText();
5 testRunner
.waitUntilDone();
6 testRunner
.addOriginAccessWhitelistEntry("http://localhost:8000", "http", "127.0.0.1", false);
10 document
.getElementById('console').appendChild(document
.createTextNode(message
+ '\n'));
13 var iframe
= document
.createElement("iframe");
14 document
.body
.appendChild(iframe
);
15 iframe
.src
= "http://localhost:8000/xmlhttprequest/resources/origin-whitelisting-ip-address-test.html";
16 window
.addEventListener("message", function(e
) {
18 testRunner
.notifyDone();