blob: 2feb760751d9f774af07d12a3ecf1dc28bdac43e [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
function log(msg) {
var div = document.createElement("div");
div.appendChild(document.createTextNode(msg));
document.getElementById("console").appendChild(div);
}
function go() {
window.open("target-for-location.html", "target");
}
window.addEventListener("message", function(e) {
log(e.data);
if (window.testRunner)
testRunner.notifyDone();
}, false);
</script>
</head>
<body>
<div id="console"></div>
<iframe src="resources/middle-frame-for-location.html">
</body>
</html>