mirror of https://github.com/svaarala/duktape.git
Sami Vaarala
9 years ago
4 changed files with 18 additions and 17 deletions
@ -0,0 +1,15 @@ |
|||
define: DUK_USE_PARANOID_ERRORS |
|||
feature_enables: DUK_OPT_PARANOID_ERRORS |
|||
introduced: 1.4.0 |
|||
default: false |
|||
tags: |
|||
- ecmascript |
|||
- sandbox |
|||
description: > |
|||
When enabled, error messages won't involve summarization of keys or values. |
|||
Summaries may be an issue in some security sensitive environments because |
|||
error messages will include e.g. property keys. |
|||
|
|||
The default is to summarize offending base value and key for property access |
|||
errors such as "null.foo = 123;", invalid calls such as "undefined()", etc. |
|||
Base values and keys are summarized using duk_push_string_tval_readable(). |
@ -1,14 +0,0 @@ |
|||
define: DUK_USE_VERBOSE_PROP_ERRORS |
|||
feature_enables: DUK_OPT_VERBOSE_PROP_ERRORS |
|||
introduced: 1.4.0 |
|||
default: true |
|||
tags: |
|||
- ecmascript |
|||
- sandbox |
|||
description: > |
|||
Summarize offending base value and key for property operation errors |
|||
such as "null.foo = 123;". Base values and keys are summarized using |
|||
duk_push_string_tval_readable(). |
|||
|
|||
The key/value summary includes string data which may be an issue for some |
|||
security critical environments. Disable this option in such environments. |
Loading…
Reference in new issue