repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
fast
/
dom
/
Document
/
script-tests
/
replaceChild-null-oldChild.js
blob
9813699bd72485f14d5b399d4e9e48dc14bc0d25
1
description
(
'Test behavior of Document.replaceChild() when oldChild is null.'
);
2
3
shouldThrow
(
'document.replaceChild(document.firstChild, null)'
,
'"TypeError: Failed to execute
\'
replaceChild
\'
on
\'
Node
\'
: parameter 2 is not of type
\'
Node
\'
."'
);