r = __pWebBookmarkImpl->AddBookmark(title, url, parentId, bookmarkId);
SysTryReturn(NID_WEB, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
- SysLog(NID_WEB, "The current value of title is %ls, url is %ls, parentId is %d", title.GetPointer(), url.GetPointer(), parentId);
+ SysSecureLog(NID_WEB, "The current value of title is %ls, url is %ls, parentId is %d", title.GetPointer(), url.GetPointer(), parentId);
return E_SUCCESS;
}
r = __pWebBookmarkImpl->SetFavicon(bookmarkId, favicon);
SysTryReturn(NID_WEB, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
- SysLog(NID_WEB, "The current value of bookmarkId is %d", bookmarkId);
+ SysSecureLog(NID_WEB, "The current value of bookmarkId is %d", bookmarkId);
return E_SUCCESS;
}
r = pWebImpl->LoadUrl(url);
SysTryReturnVoidResult(NID_WEB_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r));
- SysLog(NID_WEB_CTRL, "The current value of url is %ls", url.GetPointer());
+ SysSecureLog(NID_WEB_CTRL, "The current value of url is %ls", url.GetPointer());
}
r = pWebImpl->LoadUrl(url, header);
SysTryReturn(NID_WEB_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
- SysLog(NID_WEB_CTRL, "The current value of url is %ls", url.GetPointer());
+ SysSecureLog(NID_WEB_CTRL, "The current value of url is %ls", url.GetPointer());
return E_SUCCESS;
}
r = TransExceptionsExclusive(r, E_PRIVILEGE_DENIED, E_USER_NOT_CONSENTED);
SysTryReturn(NID_WEB_CTRL, r == E_SUCCESS, r, r, "[%s] The application is not permitted to call this method.", GetErrorMessage(r));
- SysLog(NID_WEB_CTRL, "The current value of url is %ls, header is %d, body is %ls", url.GetPointer(), &header, (char*) body.GetPointer());
+ SysSecureLog(NID_WEB_CTRL, "The current value of url is %ls, header is %d, body is %ls", url.GetPointer(), &header, (char*) body.GetPointer());
r = pWebImpl->LoadUrlWithPostRequest(url, header, body);
SysTryReturn(NID_WEB_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
r = pWebImpl->LoadData(baseUrl, content, mime, encoding);
SysTryReturnVoidResult(NID_WEB_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r));
- SysLog(NID_WEB_CTRL, "baseUrl : %ls, content : %ls, mime : %ls, encoding : %ls", baseUrl.GetPointer(), reinterpret_cast < const char* >(content.GetPointer()), mime.GetPointer(), encoding.GetPointer());
+ SysSecureLog(NID_WEB_CTRL, "baseUrl : %ls, content : %ls, mime : %ls, encoding : %ls", baseUrl.GetPointer(), reinterpret_cast < const char* >(content.GetPointer()), mime.GetPointer(), encoding.GetPointer());
}
SysAssertf(pImpl && pPolicy, "Failed to request");
String url(ewk_policy_decision_url_get(pPolicy));
- SysLog(NID_WEB_CTRL, "The current value of url is %ls", url.GetPointer());
+ SysSecureLog(NID_WEB_CTRL, "The current value of url is %ls", url.GetPointer());
if (url == L"about:blank")
{
const char* pUrl = ewk_policy_decision_url_get(pPolicy);
int code = ewk_policy_decision_response_status_code_get(pPolicy);
String mime(ewk_policy_decision_response_mime_get(pPolicy));
- SysLog(NID_WEB_CTRL, "url : %s, mime : %ls, code : %d", pUrl, mime.GetPointer(), code);
+ SysSecureLog(NID_WEB_CTRL, "url : %s, mime : %ls, code : %d", pUrl, mime.GetPointer(), code);
ILoadingListener* pLoadingListener = pImpl->GetLoadingListener();
_WebImpl* pImpl = reinterpret_cast< _WebImpl* >(pUserData);
SysAssertf(pUrl && pImpl != null, "Failed to request");
- SysLog(NID_WEB_CTRL, "The current value of url is %s", pUrl);
+ SysSecureLog(NID_WEB_CTRL, "The current value of url is %s", pUrl);
}
url = ewk_history_item_uri_get(pEwkItem);
title = ewk_history_item_title_get(pEwkItem);
- SysLog(NID_WEB_CTRL, "The current value of url is %s, title is %s", url.GetPointer(), title.GetPointer());
+ SysSecureLog(NID_WEB_CTRL, "The current value of url is %s, title is %s", url.GetPointer(), title.GetPointer());
pHistoryItemImpl->SetHistoryItem(url, title);
String tagName(ewk_hit_test_tag_name_get(pEwkHitTest));
String nodeValue(ewk_hit_test_node_value_get(pEwkHitTest));
- SysLog(NID_WEB_CTRL, "The current value of url is %ls, tag is %ls, value is %ls", url.GetPointer(), tagName.GetPointer(), nodeValue.GetPointer());
+ SysSecureLog(NID_WEB_CTRL, "The current value of url is %ls, tag is %ls, value is %ls", url.GetPointer(), tagName.GetPointer(), nodeValue.GetPointer());
pHitElementResult = std::unique_ptr<HitElementResult>(new (std::nothrow) HitElementResult());
SysTryCatch(NID_WEB_CTRL, pHitElementResult.get(), , E_OUT_OF_MEMORY, "[%s] Memory Allocation failed.", GetErrorMessage(E_OUT_OF_MEMORY));
String uri(ewk_custom_handlers_data_url_get(pHandlerData));
String target(ewk_custom_handlers_data_target_get(pHandlerData));
- SysLog(NID_WEB_CTRL, "BaseUrl : %s, Url : %s, mime : %s", baseUri.GetPointer(), uri.GetPointer(), target.GetPointer());
+ SysSecureLog(NID_WEB_CTRL, "BaseUrl : %s, Url : %s, mime : %s", baseUri.GetPointer(), uri.GetPointer(), target.GetPointer());
result r = db.Construct(handlerPath, "r+", null);
SysTryReturn(NID_WEB_CTRL, r == E_SUCCESS, -1, r, "[%s] Propagating.", GetErrorMessage(r));
String uri(ewk_custom_handlers_data_url_get(pHandlerData));
String target(ewk_custom_handlers_data_target_get(pHandlerData));
- SysLog(NID_WEB_CTRL, "BaseUrl : %s, Url : %s, mime : %s", baseUri.GetPointer(), uri.GetPointer(), target.GetPointer());
+ SysSecureLog(NID_WEB_CTRL, "BaseUrl : %s, Url : %s, mime : %s", baseUri.GetPointer(), uri.GetPointer(), target.GetPointer());
result r = db.Construct(handlerPath, "r+", null);
SysTryReturn(NID_WEB_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));