diff --git a/core/tests/regression_tests.rs b/core/tests/regression_tests.rs index 5da79b5fb..3424b709e 100644 --- a/core/tests/regression_tests.rs +++ b/core/tests/regression_tests.rs @@ -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), diff --git a/core/tests/swfs/avm1/xml_idmap/output.txt b/core/tests/swfs/avm1/xml_idmap/output.txt new file mode 100644 index 000000000..8bad56377 --- /dev/null +++ b/core/tests/swfs/avm1/xml_idmap/output.txt @@ -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 diff --git a/core/tests/swfs/avm1/xml_idmap/test.fla b/core/tests/swfs/avm1/xml_idmap/test.fla new file mode 100644 index 000000000..3de29a081 Binary files /dev/null and b/core/tests/swfs/avm1/xml_idmap/test.fla differ diff --git a/core/tests/swfs/avm1/xml_idmap/test.swf b/core/tests/swfs/avm1/xml_idmap/test.swf new file mode 100644 index 000000000..f5c531e58 Binary files /dev/null and b/core/tests/swfs/avm1/xml_idmap/test.swf differ