diff --git a/core/tests/regression_tests.rs b/core/tests/regression_tests.rs index 0836c723a..b0a2afffc 100644 --- a/core/tests/regression_tests.rs +++ b/core/tests/regression_tests.rs @@ -218,6 +218,7 @@ swf_tests! { (color_transform, "avm1/color_transform", 1), (with, "avm1/with", 1), (prototype_properties, "avm1/prototype_properties", 1), + (stage_object_properties_get_var, "avm1/stage_object_properties_get_var", 1), } // TODO: These tests have some inaccuracies currently, so we use approx_eq to test that numeric values are close enough. diff --git a/core/tests/swfs/avm1/stage_object_properties_get_var/output.txt b/core/tests/swfs/avm1/stage_object_properties_get_var/output.txt new file mode 100644 index 000000000..9a4d53a49 --- /dev/null +++ b/core/tests/swfs/avm1/stage_object_properties_get_var/output.txt @@ -0,0 +1,5 @@ +// get('_x') +0 +// set('_x', 100) +// _x +100 diff --git a/core/tests/swfs/avm1/stage_object_properties_get_var/test.fla b/core/tests/swfs/avm1/stage_object_properties_get_var/test.fla new file mode 100644 index 000000000..5a2e75846 Binary files /dev/null and b/core/tests/swfs/avm1/stage_object_properties_get_var/test.fla differ diff --git a/core/tests/swfs/avm1/stage_object_properties_get_var/test.swf b/core/tests/swfs/avm1/stage_object_properties_get_var/test.swf new file mode 100644 index 000000000..f1f75b971 Binary files /dev/null and b/core/tests/swfs/avm1/stage_object_properties_get_var/test.swf differ