chromium/third_party/blink/web_tests/http/tests/security/isolatedWorld/document-open-01.html

<!DOCTYPE html>
<html>
<body>
<div id="console"></div>
<script>
if (window.testRunner) {
  testRunner.dumpAsText();
  testRunner.evaluateScriptInIsolatedWorld(
    1,
    "frame = document.body.appendChild(document.createElement('iframe'));\n" +
    "frame.contentWindow.open = function() { alert('FAIL: contentDocument.open must not invoke contentWindow.open, contentDocument.open must open a new window with only internal implementation.');};\n" +
    "w = frame.contentDocument.open(1, 1, 1);\n" +
    "if (typeof(w) === 'object')\n" +
    "alert('PASS');");
}
</script>
</body>
</html>