blob: d1f15a6abe0d9c8ecae08b4cdf5dd9ef3efbbbcc [file] [log] [blame]
<!DOCTYPE html>
<head>
<link rel="help" href="https://github.com/servo/servo/issues/36971">
<meta name="assert" content="Using variables in xpath expression should not crash.">
</head>
<body>
<script>
// The exact behaviour here is not defined. Firefox throws an error, Chrome doesn't.
document.evaluate("$foo", document.createElement("div"));
</script>
</body>