tests: Add test for misdocumented DefineFunction2 register preload

This commit is contained in:
Mike Welsh 2020-02-20 11:18:09 -08:00
parent 10fb6c7c04
commit dc1f99e2ba
4 changed files with 5 additions and 0 deletions

View File

@ -157,6 +157,7 @@ swf_tests! {
(funky_function_calls, "avm1/funky_function_calls", 1),
(undefined_to_string_swf6, "avm1/undefined_to_string_swf6", 1),
(define_function2_preload, "avm1/define_function2_preload", 1),
(define_function2_preload_order, "avm1/define_function2_preload_order", 1),
}
// TODO: These tests have some inaccuracies currently, so we use approx_eq to test that numeric values are close enough.

View File

@ -0,0 +1,4 @@
[type Object]
undefined
_level0
[type Object]