Add a test for XML.removeNode().

This commit is contained in:
David Wendt 2019-12-27 20:56:03 -07:00
parent 30266b2ce7
commit 7753e20fe3
4 changed files with 23 additions and 0 deletions

View File

@ -114,6 +114,7 @@ swf_tests! {
(xml_siblings, "avm1/xml_siblings", 1), (xml_siblings, "avm1/xml_siblings", 1),
(xml_attributes_read, "avm1/xml_attributes_read", 1), (xml_attributes_read, "avm1/xml_attributes_read", 1),
(xml_append_child, "avm1/xml_append_child", 1), (xml_append_child, "avm1/xml_append_child", 1),
(xml_remove_node, "avm1/xml_remove_node", 1),
} }
#[test] #[test]

View File

@ -0,0 +1,22 @@
true
null
true
true
null
null
true
true
null
After node removal
true
1
true
null
null
null
null
null
true
true
null
null

Binary file not shown.

Binary file not shown.