Skip to content

Commit

Permalink
Make "performance" global writable
Browse files Browse the repository at this point in the history
  • Loading branch information
richarddd authored and saghul committed Nov 8, 2024
1 parent 73cc00e commit 04307af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quickjs.c
Original file line number Diff line number Diff line change
Expand Up @@ -54702,7 +54702,7 @@ void JS_AddPerformance(JSContext *ctx)
JS_PROP_ENUMERABLE);
JS_DefinePropertyValueStr(ctx, ctx->global_obj, "performance",
js_dup(performance),
JS_PROP_ENUMERABLE | JS_PROP_CONFIGURABLE);
JS_PROP_WRITABLE | JS_PROP_ENUMERABLE | JS_PROP_CONFIGURABLE);
JS_FreeValue(ctx, performance);
}

Expand Down

0 comments on commit 04307af

Please sign in to comment.