tests: Add test for function w/ removed base clip

This commit is contained in:
Mike Welsh 2021-10-11 15:14:46 -07:00
parent 219d3af284
commit af244c1c66
4 changed files with 23 additions and 0 deletions

View File

@ -111,6 +111,7 @@ swf_tests! {
(as2_bitand, "avm1/bitand", 1),
(as2_bitxor, "avm1/bitxor", 1),
(function_base_clip, "avm1/function_base_clip", 2),
(function_base_clip_removed, "avm1/function_base_clip_removed", 3),
(call, "avm1/call", 2),
(color, "avm1/color", 1, img = true),
(clip_events, "avm1/clip_events", 4),

View File

@ -0,0 +1,22 @@
clip1.f():
this: _level0.clip1
_root: _level0
base: /functionDefiner
clip2.obj.f():
this: [object Object]
_root: _level0
base: /functionDefiner
functionDefiner removed
clip1.f():
this: _level0.clip1
_root: _level0
base: /clip1
clip2.obj.f():
this: [object Object]
_root: _level0
base: /