Home
last modified time | relevance | path

Searched refs:jsResult (Results 1 – 3 of 3) sorted by relevance

/base/web/webview/interfaces/kits/napi/webasynccontroller/
Dnapi_web_async_controller.cpp202 napi_value jsResult = nullptr; in StoreWebArchiveCallback() local
206 napi_get_null(env, &jsResult); in StoreWebArchiveCallback()
207 napi_call_function(env, nullptr, callback, 1, &jsResult, &callbackResult); in StoreWebArchiveCallback()
230 napi_value jsResult = nullptr; in StoreWebArchiveCallback() local
233 napi_get_null(env, &jsResult); in StoreWebArchiveCallback()
235 napi_create_string_utf8(env, result.c_str(), NAPI_AUTO_LENGTH, &jsResult); in StoreWebArchiveCallback()
237 napi_call_function(env, nullptr, callback, 1, &jsResult, &callbackResult); in StoreWebArchiveCallback()
254 napi_value jsResult = nullptr; in StoreWebArchivePromise() local
255 napi_get_null(env, &jsResult); in StoreWebArchivePromise()
256 napi_reject_deferred(env, deferred, jsResult); in StoreWebArchivePromise()
[all …]
/base/web/webview/interfaces/kits/napi/webcookiemanager/
Dnapi_web_cookie_manager.cpp306 napi_value jsResult = nullptr; in SaveCookieAsyncCallback() local
307 napi_get_null(env, &jsResult); in SaveCookieAsyncCallback()
311 napi_call_function(env, nullptr, callback, INTEGER_ONE, &jsResult, &callbackResult); in SaveCookieAsyncCallback()
323 napi_value jsResult = nullptr; in SaveCookieAsyncPromise() local
324 napi_get_undefined(env, &jsResult); in SaveCookieAsyncPromise()
325 napi_reject_deferred(env, deferred, jsResult); in SaveCookieAsyncPromise()
406 napi_value jsResult = nullptr; in UvJsCallbackThreadWoker() local
407 napi_get_undefined(data->env_, &jsResult); in UvJsCallbackThreadWoker()
408 napi_resolve_deferred(data->env_, data->deferred_, jsResult); in UvJsCallbackThreadWoker()
/base/web/webview/interfaces/kits/napi/webviewcontroller/
Dwebview_controller.cpp266 napi_value jsResult = nullptr; in StoreWebArchivePromise() local
267 jsResult = NWebError::BusinessError::CreateError(env, NWebError::INIT_ERROR); in StoreWebArchivePromise()
268 napi_reject_deferred(env, deferred, jsResult); in StoreWebArchivePromise()
703 napi_value jsResult = nullptr; in RunJavaScriptPromise() local
704 jsResult = NWebError::BusinessError::CreateError(env, NWebError::INIT_ERROR); in RunJavaScriptPromise()
705 napi_reject_deferred(env, deferred, jsResult); in RunJavaScriptPromise()
775 napi_value jsResult = nullptr; in HasImagesPromise() local
776 jsResult = NWebError::BusinessError::CreateError(env, NWebError::INIT_ERROR); in HasImagesPromise()
777 napi_reject_deferred(env, deferred, jsResult); in HasImagesPromise()