Html程序  |  17行  |  438 B

<html>
<head>
    <script>
        function runTests() {
            if (window.layoutTestController)
                layoutTestController.dumpAsText();
                
            document.evaluate("//a[@id='']",document)
        }
    </script>
</head>
<body onload="runTests()">
    This tests that parsing an XPath expression that contains an empty string literal doesn't segfault.<br>
    SUCCESS: Didn't crash!
    
</body>
</html>