chromium/third_party/blink/web_tests/http/tests/security/frameNavigation/cross-origin-opener.html

<html>
<head>
<script>
if (window.testRunner) {
    testRunner.dumpAsText();
    testRunner.waitUntilDone();
    testRunner.setPopupBlockingEnabled(false);
}

function log(msg)
{
    document.getElementById("console").appendChild(document.createTextNode(msg + "\n"));
}

window.addEventListener("message", function(e) {
    if (e.data == "pass") {
        log("PASS");
        if (window.testRunner)
            testRunner.notifyDone();
    }
}, false);

window.onload = function() {
    win = window.open("resources/cross-origin-opener-opener.html");
}

</script>
</head>
<body>
<pre id="console"></pre>
</body>
</html>