Add regression test for `idMap`.

This commit is contained in:
David Wendt 2020-01-01 16:04:58 -05:00
parent f3226537bf
commit fec95dd226
4 changed files with 22 additions and 0 deletions

View File

@ -121,6 +121,7 @@ swf_tests! {
(xml_insert_before, "avm1/xml_insert_before", 1),
(xml_to_string, "avm1/xml_to_string", 1),
(xml_to_string_comment, "avm1/xml_to_string_comment", 1),
(xml_idmap, "avm1/xml_idmap", 1),
(xml_inspect_doctype, "avm1/xml_inspect_doctype", 1),
#[ignore] (xml_inspect_xmldecl, "avm1/xml_inspect_xmldecl", 1),
(xml_inspect_createmethods, "avm1/xml_inspect_createmethods", 1),

View File

@ -0,0 +1,21 @@
true
true
idmap has test
idmap has test2
Manually added new node via appendChild
Checking old copy of IDMAP...
idmap has test
idmap has test2
Checking new copy of IDMAP...
idmap has test
idmap has test2
Parsed another node with parseXML...
idmap has test
idmap has test2
idmap has test4
Checking for IDMAP expandos...
idmap has test
idmap has test124
idmap has test2
idmap has test4
trace

Binary file not shown.

Binary file not shown.