diff --git a/core/tests/integration_tests.rs b/core/tests/integration_tests.rs index a19b29bc1..ce1df7b0b 100644 --- a/core/tests/integration_tests.rs +++ b/core/tests/integration_tests.rs @@ -38,6 +38,7 @@ swf_tests! { (goto_advance2, "avm1/goto_advance2", 10), (goto_rewind1, "avm1/goto_rewind1", 10), (goto_rewind2, "avm1/goto_rewind2", 10), + (tell_target, "avm1/tell_target", 3), } /// Loads an SWF and runs it through the Ruffle core for a number of frames. diff --git a/core/tests/swfs/avm1/tell_target/output.txt b/core/tests/swfs/avm1/tell_target/output.txt new file mode 100644 index 000000000..b2de9e9f0 --- /dev/null +++ b/core/tests/swfs/avm1/tell_target/output.txt @@ -0,0 +1,9 @@ +n: 1 +tellTarget('clip2') { + n: 2 + tellTarget('INVALID') { + n: 9 + } + n: 2 +} +n: 1 diff --git a/core/tests/swfs/avm1/tell_target/test.fla b/core/tests/swfs/avm1/tell_target/test.fla new file mode 100644 index 000000000..4d90387c7 Binary files /dev/null and b/core/tests/swfs/avm1/tell_target/test.fla differ diff --git a/core/tests/swfs/avm1/tell_target/test.swf b/core/tests/swfs/avm1/tell_target/test.swf new file mode 100644 index 000000000..3bd666865 Binary files /dev/null and b/core/tests/swfs/avm1/tell_target/test.swf differ