From a4652dbc50c2613e51c2b04bc92ef39538d24ae6 Mon Sep 17 00:00:00 2001 From: Lord-McSweeney Date: Fri, 13 Dec 2024 17:27:52 -0800 Subject: [PATCH] tests: Add a test for XMLList enumeration --- .../tests/swfs/avm2/xml_list_enumerate/output.txt | 4 ++++ tests/tests/swfs/avm2/xml_list_enumerate/test.swf | Bin 0 -> 523 bytes .../tests/swfs/avm2/xml_list_enumerate/test.toml | 1 + 3 files changed, 5 insertions(+) create mode 100644 tests/tests/swfs/avm2/xml_list_enumerate/output.txt create mode 100644 tests/tests/swfs/avm2/xml_list_enumerate/test.swf create mode 100644 tests/tests/swfs/avm2/xml_list_enumerate/test.toml diff --git a/tests/tests/swfs/avm2/xml_list_enumerate/output.txt b/tests/tests/swfs/avm2/xml_list_enumerate/output.txt new file mode 100644 index 000000000000..5c30666b9d04 --- /dev/null +++ b/tests/tests/swfs/avm2/xml_list_enumerate/output.txt @@ -0,0 +1,4 @@ +key: 0 +key: 1 +key: ghi +null diff --git a/tests/tests/swfs/avm2/xml_list_enumerate/test.swf b/tests/tests/swfs/avm2/xml_list_enumerate/test.swf new file mode 100644 index 0000000000000000000000000000000000000000..6a153c1b3e81cea9a8da4441c071f1ae4a7a52de GIT binary patch literal 523 zcmV+m0`&buS5p!60ssJboPCnrZqqOn$B*r}j+69@m9}J`NJZRKjWr}Ls%c`h2yJZa zVqEN|B5CW=K$k>~SJvA-$({sWp@4u_K-};MC2b@`0byD8@&6qC&(D^xfW8FC-vCq* zw2L|bwD5dBe_wisVL6`5w>$0d;BgBI&{zmtcZW(vO~>*2VOKVK;e~T>_Q2T{;-S;M z^he4MfWDBiiZiF(*RrShNjULkYvf1S!N`k;jlLg8BX62Hi^jf^<#u{Zi(6r!JU@`* z;$fiV*y|~OBGXiMr7-_wA_KLMJk=Y@v6Xtug&Ld7{?2l(tTb)@f+?-)DNJou{5RV6 zYSCYy>;Ey?_#LzP#~q9%aKnphf=A;}g=!i}@@nX_^ONIaKUQ?&jV`6N=XHC|{$5`W zoPDa2-jcqN)8>vI$SW0i7ZUje9hEU9RZ`BBtqQhtcHS=7Mf;Y$W)oV%S&W#@4b#dJ zEtk(ROc>S}rHnF0bw)X(2FsZIHsWQ(aE055Zy*A&_!e1M?g$aC0ZKxY#2Nwu7$JUt zCM396xVmtea5KWC!qtRJl6elB=@_D?iGijW=Chgjfi{894#71Cyk7N;8hq)P^*cu< zy8c?o1Mp8Dx2`{Ttor(gn^Ozz5?uT~pX)@&9jjv=nQ-qL+e#9N