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