mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 08:13:35 +00:00
Bug 909363 - Mark redirect() as unsafe for fuzzing. r=till
--HG-- extra : rebase_source : bb748d87138e71afe3bcfdaedc958e5b0ef20fd5
This commit is contained in:
parent
7ec442fab8
commit
da7e9c8bbc
@ -3909,11 +3909,6 @@ static const JSFunctionSpecWithHelp shell_functions[] = {
|
||||
" Read filename into returned string. Filename is relative to the directory\n"
|
||||
" containing the current script."),
|
||||
|
||||
JS_FN_HELP("redirect", RedirectOutput, 2, 0,
|
||||
"redirect(stdoutFilename[, stderrFilename])",
|
||||
" Redirect stdout and/or stderr to the named file. Pass undefined to avoid\n"
|
||||
" redirecting. Filenames are relative to the current working directory."),
|
||||
|
||||
JS_FN_HELP("compile", Compile, 1, 0,
|
||||
"compile(code)",
|
||||
" Compiles a string to bytecode, potentially throwing."),
|
||||
@ -4018,6 +4013,11 @@ static const JSFunctionSpecWithHelp fuzzing_unsafe_functions[] = {
|
||||
"pc2line(fun[, pc])",
|
||||
" Map PC to line number."),
|
||||
|
||||
JS_FN_HELP("redirect", RedirectOutput, 2, 0,
|
||||
"redirect(stdoutFilename[, stderrFilename])",
|
||||
" Redirect stdout and/or stderr to the named file. Pass undefined to avoid\n"
|
||||
" redirecting. Filenames are relative to the current working directory."),
|
||||
|
||||
JS_FN_HELP("setThrowHook", SetThrowHook, 1, 0,
|
||||
"setThrowHook(f)",
|
||||
" Set throw hook to f."),
|
||||
|
Loading…
Reference in New Issue
Block a user