diff --git a/core/tests/regression_tests.rs b/core/tests/regression_tests.rs index 93245ef2a..c508a38ed 100644 --- a/core/tests/regression_tests.rs +++ b/core/tests/regression_tests.rs @@ -49,6 +49,9 @@ swf_tests! { (typeof_globals, "avm1/typeof_globals", 1), (closure_scope, "avm1/closure_scope", 1), (variable_args, "avm1/variable_args", 1), + (custom_clip_methods, "avm1/custom_clip_methods", 3), + (delete, "avm1/delete", 3), + (timeline_function_def, "avm1/timeline_function_def", 3), } /// Loads an SWF and runs it through the Ruffle core for a number of frames. diff --git a/core/tests/swfs/avm1/custom_clip_methods/output.txt b/core/tests/swfs/avm1/custom_clip_methods/output.txt new file mode 100644 index 000000000..02378250f --- /dev/null +++ b/core/tests/swfs/avm1/custom_clip_methods/output.txt @@ -0,0 +1,4 @@ +global function call +tracealike: I was called as a method! +tracealike: I was called by the child movie clip! +child stopped via child_function diff --git a/core/tests/swfs/avm1/custom_clip_methods/test.fla b/core/tests/swfs/avm1/custom_clip_methods/test.fla new file mode 100644 index 000000000..5076573bc Binary files /dev/null and b/core/tests/swfs/avm1/custom_clip_methods/test.fla differ diff --git a/core/tests/swfs/avm1/custom_clip_methods/test.swf b/core/tests/swfs/avm1/custom_clip_methods/test.swf new file mode 100644 index 000000000..277782629 Binary files /dev/null and b/core/tests/swfs/avm1/custom_clip_methods/test.swf differ diff --git a/core/tests/swfs/avm1/delete/output.txt b/core/tests/swfs/avm1/delete/output.txt new file mode 100644 index 000000000..6426c1ca0 --- /dev/null +++ b/core/tests/swfs/avm1/delete/output.txt @@ -0,0 +1,3 @@ +x: thing +x: thing +x: undefined diff --git a/core/tests/swfs/avm1/delete/test.fla b/core/tests/swfs/avm1/delete/test.fla new file mode 100644 index 000000000..486025e02 Binary files /dev/null and b/core/tests/swfs/avm1/delete/test.fla differ diff --git a/core/tests/swfs/avm1/delete/test.swf b/core/tests/swfs/avm1/delete/test.swf new file mode 100644 index 000000000..557c2a987 Binary files /dev/null and b/core/tests/swfs/avm1/delete/test.swf differ diff --git a/core/tests/swfs/avm1/timeline_function_def/output.txt b/core/tests/swfs/avm1/timeline_function_def/output.txt new file mode 100644 index 000000000..f2464ac13 --- /dev/null +++ b/core/tests/swfs/avm1/timeline_function_def/output.txt @@ -0,0 +1,7 @@ +timeline frame 1 +timeline frame 2 +timeline frame 3 +Global function call +just called global function +Global trace called: traced from frame 3! +just called local function diff --git a/core/tests/swfs/avm1/timeline_function_def/test.fla b/core/tests/swfs/avm1/timeline_function_def/test.fla new file mode 100644 index 000000000..deeed98c0 Binary files /dev/null and b/core/tests/swfs/avm1/timeline_function_def/test.fla differ diff --git a/core/tests/swfs/avm1/timeline_function_def/test.swf b/core/tests/swfs/avm1/timeline_function_def/test.swf new file mode 100644 index 000000000..2a10951e2 Binary files /dev/null and b/core/tests/swfs/avm1/timeline_function_def/test.swf differ