tests: Add a test for AVM1 in AVM2

This commit is contained in:
Lord-McSweeney 2023-08-11 23:14:37 -07:00 committed by Lord-McSweeney
parent fb8bde252f
commit b2bd91d0ac
5 changed files with 26 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,17 @@
[
{
"type": "Wait"
},
{
"type": "Wait"
},
{
"type": "MouseMove",
"pos": [10.0, 10.0]
},
{
"type": "MouseDown",
"pos": [10.0, 10.0],
"btn": "Left"
}
]

View File

@ -0,0 +1,6 @@
Starting load...
hello from avm1!
[object AVM1Movie]
[object ApplicationDomain]
Load complete!
onmousedown at 10, 10!

Binary file not shown.

View File

@ -0,0 +1,3 @@
# NOTE: In FP, the "hello from avm1!" log appears after "Load complete",
# but this is likely due to Ruffle's incorrect chunked loading behaviors.
num_ticks = 3