1 <html> 2 <head> 3 <script> 4 function runTests() { 5 if (window.layoutTestController) 6 layoutTestController.dumpAsText(); 7 8 document.evaluate("//a[@id='']",document) 9 } 10 </script> 11 </head> 12 <body onload="runTests()"> 13 This tests that parsing an XPath expression that contains an empty string literal doesn't segfault.<br> 14 SUCCESS: Didn't crash! 15 16 </body> 17 </html>