repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
fast
/
xpath
/
xpath-empty-string.html
blob
18884434ef8e2916d1bf78903af56e4de71532ad
1
<html>
2
<head>
3
<script>
4
function
runTests
() {
5
if
(
window
.
testRunner
)
6
testRunner
.
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
</body>
16
</html>