/base/web/webview/interfaces/kits/napi/webdatabase/ |
D | napi_web_data_base.cpp | 145 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 …]
|
D | napi_geolocation_permission.cpp | 115 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/ |
D | napi_web_cookie_manager.cpp | 116 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/ |
D | napi_web_storage.cpp | 75 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/ |
D | webview_controller.cpp | 35 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 …]
|
D | webview_javascript_execute_callback.cpp | 24 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()
|
D | webview_hasimage_callback.cpp | 24 using namespace NWebError;
|
D | napi_webview_controller.cpp | 35 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/ |
D | business_error.h | 23 namespace NWebError {
|
D | web_errors.h | 24 namespace NWebError {
|
D | business_error.cpp | 21 namespace NWebError { namespace
|
D | web_errors.cpp | 39 namespace NWebError { namespace
|
/base/web/webview/interfaces/kits/napi/webfunction/ |
D | napi_webview_function.cpp | 29 using namespace NWebError;
|