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