diff --git a/tests/tests/swfs/avm1/attach_movie_stop/asset_1.as b/tests/tests/swfs/avm1/attach_movie_stop/asset_1.as new file mode 100644 index 000000000000..3b51421ad4f8 --- /dev/null +++ b/tests/tests/swfs/avm1/attach_movie_stop/asset_1.as @@ -0,0 +1,3 @@ +trace("Before stop"); +stop(); +trace("After stop"); diff --git a/tests/tests/swfs/avm1/attach_movie_stop/asset_2.as b/tests/tests/swfs/avm1/attach_movie_stop/asset_2.as new file mode 100644 index 000000000000..1038b8495e07 --- /dev/null +++ b/tests/tests/swfs/avm1/attach_movie_stop/asset_2.as @@ -0,0 +1 @@ +trace("Second frame, I shouldn\'t be executed!"); diff --git a/tests/tests/swfs/avm1/attach_movie_stop/output.txt b/tests/tests/swfs/avm1/attach_movie_stop/output.txt new file mode 100644 index 000000000000..40a5be5c9cab --- /dev/null +++ b/tests/tests/swfs/avm1/attach_movie_stop/output.txt @@ -0,0 +1,3 @@ +Attaching asset +Before stop +After stop diff --git a/tests/tests/swfs/avm1/attach_movie_stop/test.as b/tests/tests/swfs/avm1/attach_movie_stop/test.as new file mode 100644 index 000000000000..bacb80d482a1 --- /dev/null +++ b/tests/tests/swfs/avm1/attach_movie_stop/test.as @@ -0,0 +1,2 @@ +trace("Attaching"); +attachMovie("Test", "test", 30); diff --git a/tests/tests/swfs/avm1/attach_movie_stop/test.swf b/tests/tests/swfs/avm1/attach_movie_stop/test.swf new file mode 100644 index 000000000000..038490d66809 Binary files /dev/null and b/tests/tests/swfs/avm1/attach_movie_stop/test.swf differ diff --git a/tests/tests/swfs/avm1/attach_movie_stop/test.toml b/tests/tests/swfs/avm1/attach_movie_stop/test.toml new file mode 100644 index 000000000000..568cadba535f --- /dev/null +++ b/tests/tests/swfs/avm1/attach_movie_stop/test.toml @@ -0,0 +1 @@ +num_ticks = 2