Sign in
webkit
/
WebKit
/
a1284f8cb8afca49bafbc79d97777d3465d7c69c
/
.
/
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>