<html>
<body>
FAIL
<script>
    function returnStringValue() {
        return "test";
    }

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

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