mirror of
https://github.com/DoneJS-Runtime/quickjs-done-nextgen.git
synced 2025-01-09 17:43:15 +00:00
Make "performance" global writable
This commit is contained in:
parent
73cc00e57e
commit
04307af779
1 changed files with 1 additions and 1 deletions
|
@ -54702,7 +54702,7 @@ void JS_AddPerformance(JSContext *ctx)
|
||||||
JS_PROP_ENUMERABLE);
|
JS_PROP_ENUMERABLE);
|
||||||
JS_DefinePropertyValueStr(ctx, ctx->global_obj, "performance",
|
JS_DefinePropertyValueStr(ctx, ctx->global_obj, "performance",
|
||||||
js_dup(performance),
|
js_dup(performance),
|
||||||
JS_PROP_ENUMERABLE | JS_PROP_CONFIGURABLE);
|
JS_PROP_WRITABLE | JS_PROP_ENUMERABLE | JS_PROP_CONFIGURABLE);
|
||||||
JS_FreeValue(ctx, performance);
|
JS_FreeValue(ctx, performance);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue