tests: Add test for __constructor__ being DontEnum

This commit is contained in:
Mike Welsh 2020-06-27 18:22:56 -07:00
parent 054194026e
commit b37b74e0b6
4 changed files with 9 additions and 0 deletions

View File

@ -194,6 +194,7 @@ swf_tests! {
(swf7_case_sensitive, "avm1/swf7_case_sensitive", 1),
(prototype_enumerate, "avm1/prototype_enumerate", 1),
(stage_object_enumerate, "avm1/stage_object_enumerate", 1),
(new_object_enumerate, "avm1/new_object_enumerate", 1),
(as2_super_and_this_v6, "avm1/as2_super_and_this_v6", 1),
(as2_super_and_this_v8, "avm1/as2_super_and_this_v8", 1),
(as2_super_via_manual_prototype, "avm1/as2_super_via_manual_prototype", 1),

View File

@ -0,0 +1,8 @@
obj = new Object()
y: test y
x: test x
obj = new (cons_container.object)()
y: test y
x: test x

Binary file not shown.

Binary file not shown.