flutter_flutter/tests/dom/replaceChild-expected.txt
Elliott Sprehn b9aaf7d8e2 Clean up child checks in ContainerNode.
We can simplify the checks given that there's fewer node types now. This does
make the error messages from Range a little worse, but it's weird that Range
is doing its own error checking anyway.

I also took this as an opportunity to add a bunch of DOM tests.

R=ojan@chromium.org

Review URL: https://codereview.chromium.org/732203004
2014-11-18 16:49:48 -08:00

11 lines
345 B
Plaintext

Running 6 tests
ok 1 replaceChild should throw with invalid arguments
ok 2 replaceChild should replace elements
ok 3 replaceChild should replace text
ok 4 replaceChild should replace children with a fragment
ok 5 replaceChild should throw when inserting a tree scope
ok 6 replaceChild should throw when appending to a text
6 tests
6 pass
0 fail