avm1: Exclude __proto__ prop from object props enumeration

---------

Co-authored-by: Gleb Piskunov <emgfc@ya.ru>
This commit is contained in:
Gleb Piskunov 2023-03-31 16:14:33 +06:00 committed by GitHub
parent f02e4a71d6
commit ed282f016b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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(