From 3a813f1f15425b46ff9c2219a7ba1019771e7a6d Mon Sep 17 00:00:00 2001 From: Mike Welsh Date: Thu, 3 Sep 2020 17:52:39 -0700 Subject: [PATCH] tests: Test for #1104 --- core/tests/regression_tests.rs | 1 + core/tests/swfs/avm1/issue_1104/output.txt | 2 ++ core/tests/swfs/avm1/issue_1104/test.fla | Bin 0 -> 5436 bytes core/tests/swfs/avm1/issue_1104/test.swf | Bin 0 -> 194 bytes 4 files changed, 3 insertions(+) create mode 100644 core/tests/swfs/avm1/issue_1104/output.txt create mode 100644 core/tests/swfs/avm1/issue_1104/test.fla create mode 100644 core/tests/swfs/avm1/issue_1104/test.swf diff --git a/core/tests/regression_tests.rs b/core/tests/regression_tests.rs index 01d9fbae1f12..86b7132d42d4 100644 --- a/core/tests/regression_tests.rs +++ b/core/tests/regression_tests.rs @@ -226,6 +226,7 @@ swf_tests! { (as1_constructor_v7, "avm1/as1_constructor_v7", 1), (issue_710, "avm1/issue_710", 1), (issue_1086, "avm1/issue_1086", 1), + (issue_1104, "avm1/issue_1104", 3), (function_as_function, "avm1/function_as_function", 1), (infinite_recursion_function, "avm1/infinite_recursion_function", 1), (infinite_recursion_function_in_setter, "avm1/infinite_recursion_function_in_setter", 1), diff --git a/core/tests/swfs/avm1/issue_1104/output.txt b/core/tests/swfs/avm1/issue_1104/output.txt new file mode 100644 index 000000000000..b3e0dd0ca715 --- /dev/null +++ b/core/tests/swfs/avm1/issue_1104/output.txt @@ -0,0 +1,2 @@ +// clip enterFrame +// clip enterFrame diff --git a/core/tests/swfs/avm1/issue_1104/test.fla b/core/tests/swfs/avm1/issue_1104/test.fla new file mode 100644 index 0000000000000000000000000000000000000000..e2f7967565995f386468d1495e71860751520af8 GIT binary patch literal 5436 zcmbVQcQl+^*B^}DOERJi5?%CYLG)n4FiP~~Y8fM=6C`@{2%<)UU_=cfL-Z0v7d<-B z+vq{`Z`{1z++^MF`{O&a_H*VuYyb9s)>-@Pv-eN?4jzyW03ZSYj-FqGRmDsP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%aD6o6W%-v6hukc`H|v4+ z-b|XvgHISQYVV(|KenRz@1Vi{({!*vAg%vd-CXGZ?6+~BS;vp#002mQ0Duasf6=@v zArX$}wNSjCrUOcds-|e*?Azn+uvvC1CH$HamAnBP%I`h-q*=u)QAAactGg{lcHGfG zRbz_FJ6jJ@--yM^oKDQCZWaDOr{gjK6A#zZj7Z9wG3!*L8~gny7I`a_H{Ns!Jszu` z`llLV znPfYkohUYLIs-QnUqSSBlLuc<^B(eQl4zb-JG8k%rT8OI^RiE0eYDjdvpsAY`rd8| z5HjjhB7swR^`UCs*fE_Y6-{5MS47g9kEJFa@+3O6MMgF;;Wr=9cM^&+c6PmR*W0w- z5RfuRj;Dl1LE{J8WvP|Z4|5(0K`DYpI7SCnb`+~qpHrT(91!5SDoEPRCFETW3~?&( zGnkoeuo}@fKkNv(g2I_ktHry7OL9L}IDKB#aGHw|IM|J6kuBKcE$48A%TxVXGTcvk zdvHHf)c$DdtMrxflLJ}DH%}(0qlFaMR)|TyJjH(=^`hm+3mNA7uEKS<`UOLLlG0-B zW<>9Wkn$)zJsId(O;|mV`<0YF>rX!Fr<3!i99I6z zPTlz(^-Jp~i}iDT9^>{{xrlS^{{wYSQ~ez0s5q?rgS7hT?4srUleYQ~4m(w0|Y}BPXm9(*e?T-SOXXQr}iEE^N1R5%e literal 0 HcmV?d00001 diff --git a/core/tests/swfs/avm1/issue_1104/test.swf b/core/tests/swfs/avm1/issue_1104/test.swf new file mode 100644 index 0000000000000000000000000000000000000000..2e1190e2aba1afc80edd29d11c4d57973c6baedc GIT binary patch literal 194 zcmV;z06qUhS5pt<0001ZoU349jb~usU%KV0Dd1bh+7s|%K!iX literal 0 HcmV?d00001