Sign in
webkit
/
WebKit
/
436b72e27e0464bf3a61a2b074723e3cc9dee953
/
.
/
LayoutTests
/
fast
/
dom
/
null-chardata-crash.html
blob: bedffe7b0ceb403fc48d554908dabb26a4ba73b3 [
file
] [
log
] [
blame
]
<html>
<body>
<p>
To pass, this test should not crash
</p>
<script>
if
(
window
.
testRunner
)
window
.
testRunner
.
dumpAsText
();
var
o
=
document
.
createTextNode
(
"test"
);
try
{
o
.
data
=
null
;
o
.
splitText
(
1
);
}
catch
(
e
)
{}
</script>
</body>
</html>