Home
last modified time | relevance | path

Searched refs:NWebError (Results 1 – 13 of 13) sorted by relevance

/base/web/webview/interfaces/kits/napi/webdatabase/
Dnapi_web_data_base.cpp145 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsSaveHttpAuthCredentials()
151 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsSaveHttpAuthCredentials()
157 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsSaveHttpAuthCredentials()
163 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsSaveHttpAuthCredentials()
168 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsSaveHttpAuthCredentials()
174 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsSaveHttpAuthCredentials()
180 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsSaveHttpAuthCredentials()
204 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsGetHttpAuthCredentials()
210 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsGetHttpAuthCredentials()
216 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsGetHttpAuthCredentials()
[all …]
Dnapi_geolocation_permission.cpp115 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in ProcessActionByType()
121 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in ProcessActionByType()
133 true) == NWebError::INVALID_ORIGIN) { in ProcessActionByType()
134 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::INVALID_ORIGIN); in ProcessActionByType()
139 == NWebError::INVALID_ORIGIN) { in ProcessActionByType()
140 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::INVALID_ORIGIN); in ProcessActionByType()
179 setResult[PARAMZERO] = NWebError::BusinessError::CreateError(env, param->errCode); in GetPermissionStateComplete()
207 setResult[PARAMZERO] = NWebError::BusinessError::CreateError(env, param->errCode); in GetPermissionStatePromiseComplete()
236 param->errCode = NWebError::INVALID_ORIGIN; in ExecuteGetPermissionState()
306 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsGetAccessibleGeolocation()
[all …]
/base/web/webview/interfaces/kits/napi/webcookiemanager/
Dnapi_web_cookie_manager.cpp116 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsGetCookie()
122 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsGetCookie()
135 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::INVALID_URL); in JsGetCookie()
150 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsSetCookie()
157 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsSetCookie()
161 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsSetCookie()
172 if (isSet == NWebError::INVALID_URL) { in JsSetCookie()
173 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::INVALID_URL); in JsSetCookie()
175 } else if (isSet == NWebError::INVALID_COOKIE_VALUE) { in JsSetCookie()
176 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::INVALID_COOKIE_VALUE); in JsSetCookie()
[all …]
/base/web/webview/interfaces/kits/napi/webstorage/
Dnapi_web_storage.cpp75 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsDeleteOrigin()
82 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsDeleteOrigin()
87 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsDeleteOrigin()
94 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsDeleteOrigin()
100 if (web_storage->DeleteOrigin(origin) == NWebError::INVALID_ORIGIN) { in JsDeleteOrigin()
101 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::INVALID_ORIGIN); in JsDeleteOrigin()
136 param->errCode = param->origins.empty() ? NWebError::NO_WEBSTORAGE_ORIGIN : INTERFACE_OK; in ExecuteGetOrigins()
175 …setResult[PARAMZERO] = NWebError::BusinessError::CreateError(env, NWebError::NO_WEBSTORAGE_ORIGIN); in GetOriginComplete()
202 …setResult[PARAMZERO] = NWebError::BusinessError::CreateError(env, NWebError::NO_WEBSTORAGE_ORIGIN); in GetOriginsPromiseComplete()
273 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsGetOrigins()
[all …]
/base/web/webview/interfaces/kits/napi/webviewcontroller/
Dwebview_controller.cpp35 using namespace NWebError;
135 ErrCode result = NWebError::NO_ERROR; in ZoomIn()
147 ErrCode result = NWebError::NO_ERROR; in ZoomOut()
204 return NWebError::NO_ERROR; in BackOrForward()
213 setResult[PARAMZERO] = BusinessError::CreateError(env, NWebError::INIT_ERROR); in StoreWebArchiveCallback()
242 setResult[PARAMZERO] = BusinessError::CreateError(env, NWebError::INVALID_RESOURCE); in StoreWebArchiveCallback()
267 jsResult = NWebError::BusinessError::CreateError(env, NWebError::INIT_ERROR); in StoreWebArchivePromise()
288 … setResult[PARAMZERO] = NWebError::BusinessError::CreateError(env, NWebError::INVALID_RESOURCE); in StoreWebArchivePromise()
310 return NWebError::NO_ERROR; in CreateWebMessagePorts()
321 return NWebError::NO_ERROR; in PostWebMessage()
[all …]
Dwebview_javascript_execute_callback.cpp24 using namespace NWebError;
104 setResult[INTEGER_ZERO] = BusinessError::CreateError(env, NWebError::INVALID_RESOURCE); in UvAfterWorkCbAsync()
125 … setResult[INTEGER_ZERO] = NWebError::BusinessError::CreateError(env, NWebError::INVALID_RESOURCE); in UvAfterWorkCbPromise()
Dwebview_hasimage_callback.cpp24 using namespace NWebError;
Dnapi_webview_controller.cpp35 using namespace NWebError;
36 using NWebError::NO_ERROR;
1104 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in StoreWebArchive()
1109 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in StoreWebArchive()
1114 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in StoreWebArchive()
1121 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in StoreWebArchive()
1130 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in StoreWebArchive()
1811 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in HasImage()
1820 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in HasImage()
/base/web/webview/interfaces/kits/napi/common/
Dbusiness_error.h23 namespace NWebError {
Dweb_errors.h24 namespace NWebError {
Dbusiness_error.cpp21 namespace NWebError { namespace
Dweb_errors.cpp39 namespace NWebError { namespace
/base/web/webview/interfaces/kits/napi/webfunction/
Dnapi_webview_function.cpp29 using namespace NWebError;