summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/xpath/xpath-empty-string.html
blob: 06a6519c532ea9108f1fcd8c765292ae3f5d9b68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<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>