diff options
Diffstat (limited to 'fxjs')
-rw-r--r-- | fxjs/xfa/cjx_logpseudomodel.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fxjs/xfa/cjx_logpseudomodel.cpp b/fxjs/xfa/cjx_logpseudomodel.cpp index 446c937fc3..18093f5263 100644 --- a/fxjs/xfa/cjx_logpseudomodel.cpp +++ b/fxjs/xfa/cjx_logpseudomodel.cpp @@ -28,6 +28,13 @@ CJX_LogPseudoModel::~CJX_LogPseudoModel() {} CJS_Return CJX_LogPseudoModel::message( CFX_V8* runtime, const std::vector<v8::Local<v8::Value>>& params) { + // Uncomment to allow using xfa.log.message(""); from JS. + // fprintf(stderr, "LOG\n"); + // for (auto& val : params) { + // v8::String::Utf8Value str(runtime->GetIsolate(), val); + // fprintf(stderr, " %ls\n", WideString::FromUTF8(*str).c_str()); + // } + return CJS_Return(true); } |