mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 926431 - Make clone unsafe for fuzzing in the JS shell. r=luke
This commit is contained in:
parent
91f8566426
commit
468fad13c2
@ -4129,10 +4129,6 @@ static const JSFunctionSpecWithHelp shell_functions[] = {
|
||||
"intern(str)",
|
||||
" Internalize str in the atom table."),
|
||||
|
||||
JS_FN_HELP("clone", Clone, 1, 0,
|
||||
"clone(fun[, scope])",
|
||||
" Clone function object."),
|
||||
|
||||
JS_FN_HELP("getpda", GetPDA, 1, 0,
|
||||
"getpda(obj)",
|
||||
" Get the property descriptors for obj."),
|
||||
@ -4277,6 +4273,10 @@ static const JSFunctionSpecWithHelp shell_functions[] = {
|
||||
};
|
||||
|
||||
static const JSFunctionSpecWithHelp fuzzing_unsafe_functions[] = {
|
||||
JS_FN_HELP("clone", Clone, 1, 0,
|
||||
"clone(fun[, scope])",
|
||||
" Clone function object."),
|
||||
|
||||
JS_FN_HELP("getSelfHostedValue", GetSelfHostedValue, 1, 0,
|
||||
"getSelfHostedValue()",
|
||||
" Get a self-hosted value by its name. Note that these values don't get \n"
|
||||
|
Loading…
Reference in New Issue
Block a user