Make performance
configurable
This commit is contained in:
parent
f0ef9e1593
commit
f94fbe2f8a
1 changed files with 1 additions and 1 deletions
|
@ -51144,7 +51144,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_ENUMERABLE | JS_PROP_CONFIGURABLE);
|
||||||
JS_FreeValue(ctx, performance);
|
JS_FreeValue(ctx, performance);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue