diff --git a/core/src/player.rs b/core/src/player.rs index abff6f99e..ce3ce16ad 100644 --- a/core/src/player.rs +++ b/core/src/player.rs @@ -1635,7 +1635,7 @@ impl Player { activation.context.gc_context, "__proto__", prototype, - Attribute::empty(), + Attribute::DONT_ENUM | Attribute::DONT_DELETE, ); for event in events { let _ = activation.run_child_frame_for_action(