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