chromium/third_party/blink/web_tests/fast/frames/resources/set-src-to-javascript-url.xhtml

<html xmlns="http://www.w3.org/1999/xhtml">
<body>
FAIL
<script>
    function returnStringValue() {
        return "test";
    }

    if (window.testRunner)
        testRunner.dumpAsText();

    parent.document.getElementById("parent").setAttribute("src", "javascript: returnStringValue()");
</script>
</body>
</html>