From 27c3fd6e8f85ae277647200ceaf30a5dd57b3f0b Mon Sep 17 00:00:00 2001 From: jiangkuaixue Date: Tue, 10 May 2022 09:54:29 +0800 Subject: [PATCH] modify cookie interface to async Signed-off-by: jiangkuaixue --- api/@internal/component/ets/web.d.ts | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/api/@internal/component/ets/web.d.ts b/api/@internal/component/ets/web.d.ts index a61137bf6c..55c0ac17f0 100755 --- a/api/@internal/component/ets/web.d.ts +++ b/api/@internal/component/ets/web.d.ts @@ -175,19 +175,19 @@ declare enum RenderExitReason { PROCESS_WAS_KILLED, /** - * SIGKILL or task manager kill. + * Segmentation fault. * @since 8 */ PROCESS_CRASHED, /** - * SIGKILL or task manager kill. + * Out of memory. * @since 8 */ PROCESS_OOM, /** - * SIGKILL or task manager kill. + * Unkown reason. * @since 8 */ PROCESS_EXIT_UNKNOWN, @@ -1112,14 +1112,6 @@ declare class WebAttribute extends CommonMethod { */ onUrlLoadIntercept(callback: (event?: { data: string | WebResourceRequest }) => boolean): WebAttribute; - /** - * Triggered when the Web page receives an ssl Error. - * @param callback The triggered callback when the Web page receives an ssl Error. - * - * @since 8 - */ - onSslErrorReceive(callback: (event?: { handler: Function, error: object }) => void): WebAttribute; - /** * Triggered when the render process exits. * @param callback The triggered when the render process exits. -- Gitee