diff --git a/web/webview/interfaces/native/arkweb_net_error_list.h b/web/webview/interfaces/native/arkweb_net_error_list.h index d7e2aef40e0a203ed5cbfca98e6e77ef0e33e7e0..f8ef5b247d5b4ce9a915405df58a2b13a5b968e4 100644 --- a/web/webview/interfaces/native/arkweb_net_error_list.h +++ b/web/webview/interfaces/native/arkweb_net_error_list.h @@ -251,7 +251,7 @@ typedef enum ArkWeb_NetError { /* * @brief The request failed because the response was delivered along with requirements * which are not met ('X-Frame-Options' and 'Content-Security-Policy' ancestor - * checks and 'Cross-Origin-Resource-Policy' for instance,. + * checks and 'Cross-Origin-Resource-Policy' for instance). * * @syscap SystemCapability.Web.Webview.Core * @since 12 @@ -292,7 +292,7 @@ typedef enum ArkWeb_NetError { ARKWEB_ERR_BLOCKED_BY_ORB = -32, /* - * @brief A connection was closed (corresponding to a TCP FIN,. + * @brief A connection was closed (corresponding to a TCP FIN). * * @syscap SystemCapability.Web.Webview.Core * @since 12 @@ -300,7 +300,7 @@ typedef enum ArkWeb_NetError { ARKWEB_ERR_CONNECTION_CLOSED = -100, /* - * @brief A connection was reset (corresponding to a TCP RST,. + * @brief A connection was reset (corresponding to a TCP RST). * * @syscap SystemCapability.Web.Webview.Core * @since 12 @@ -358,7 +358,7 @@ typedef enum ArkWeb_NetError { /* * @brief The IP address or port number is invalid (e.g., cannot connect to the IP - * address 0 or the port 0,. + * address 0 or the port 0). * * @syscap SystemCapability.Web.Webview.Core * @since 12 @@ -408,7 +408,7 @@ typedef enum ArkWeb_NetError { ARKWEB_ERR_SSL_VERSION_OR_CIPHER_MISMATCH = -113, /* - * @brief The server requested a renegotiation (rehandshake,. + * @brief The server requested a renegotiation (rehandshake). * * @syscap SystemCapability.Web.Webview.Core * @since 12 @@ -511,7 +511,7 @@ typedef enum ArkWeb_NetError { ARKWEB_ERR_SSL_BAD_RECORD_MAC_ALERT = -126, /* - * @brief The proxy requested authentication (for tunnel establishment,. + * @brief The proxy requested authentication (for tunnel establishment). * * @syscap SystemCapability.Web.Webview.Core * @since 12 @@ -572,7 +572,7 @@ typedef enum ArkWeb_NetError { ARKWEB_ERR_PROXY_CERTIFICATE_INVALID = -136, /* - * @brief An error occurred when trying to do a name resolution (DNS,. + * @brief An error occurred when trying to do a name resolution (DNS). * * @syscap SystemCapability.Web.Webview.Core * @since 12 @@ -621,8 +621,8 @@ typedef enum ArkWeb_NetError { ARKWEB_ERR_SSL_CLIENT_AUTH_SIGNATURE_FAILED = -141, /* - * @brief The message was too large for the transport. (for example a UDP message - * which exceeds size threshold,. + * @brief The message was too large for the transport. (for example a UDP message + * which exceeds size threshold). * * @syscap SystemCapability.Web.Webview.Core * @since 12 @@ -968,7 +968,7 @@ typedef enum ArkWeb_NetError { * 2. The server operator has a legitimate certificate from a CA we don't * know about, but should trust. * 3. The server is presenting a self-signed certificate, providing no - * defense against active attackers (but foiling passive attackers,. + * defense against active attackers (but foiling passive attackers). * * @syscap SystemCapability.Web.Webview.Core * @since 12 @@ -1050,7 +1050,7 @@ typedef enum ArkWeb_NetError { /* * @brief The server responded with a certificate that contains a weak key (e.g. - * a too-small RSA key,. + * a too-small RSA key). * * @syscap SystemCapability.Web.Webview.Core * @since 12 @@ -1157,7 +1157,7 @@ typedef enum ArkWeb_NetError { /* * @brief Attempting to load an URL resulted in an unsafe redirect (e.g., a redirect - * to file:// is considered unsafe,. + * to file:// is considered unsafe). * * @syscap SystemCapability.Web.Webview.Core * @since 12 @@ -1417,7 +1417,7 @@ typedef enum ArkWeb_NetError { * GOAWAY frame with error code NO_ERROR and Last-Stream-ID lower than the * stream id corresponding to the request indicating that this request has not * been processed yet, or a RST_STREAM frame with error code REFUSED_STREAM. - * Client MAY retry (on a different connection,. See RFC7540 Section 8.1.4. + * Client MAY retry (on a different connection). See RFC7540 Section 8.1.4. * * @syscap SystemCapability.Web.Webview.Core * @since 12 @@ -1785,7 +1785,7 @@ typedef enum ArkWeb_NetError { ARKWEB_ERR_CACHE_OPEN_OR_CREATE_FAILURE = -413, /* - * @brief The server's response was insecure (e.g. there was a cert error,. + * @brief The server's response was insecure (e.g. there was a cert error). * * @syscap SystemCapability.Web.Webview.Core * @since 12 @@ -1827,7 +1827,7 @@ typedef enum ArkWeb_NetError { /* * @brief A Trust Tokens protocol operation-executing request failed for one of a - * number of reasons (precondition failure, internal error, bad response,. + * number of reasons (precondition failure, internal error, bad response). * * @syscap SystemCapability.Web.Webview.Core * @since 12 @@ -2093,7 +2093,7 @@ typedef enum ArkWeb_NetError { ARKWEB_ERR_DNS_SECURE_RESOLVER_HOSTNAME_RESOLUTION_FAILED = -808, /* - * @brief DNS identified the request as disallowed for insecure connection (http/ws,. + * @brief DNS identified the request as disallowed for insecure connection (http/ws). * Error should be handled as if an HTTP redirect was received to redirect to * https or wss. * diff --git a/web/webview/interfaces/native/libohweb.ndk.json b/web/webview/interfaces/native/libohweb.ndk.json index 74e8d42a09d0d0d996ae209048785de8c94e60d8..11e0525e24c56c16d21ace4493844e75217d04dd 100644 --- a/web/webview/interfaces/native/libohweb.ndk.json +++ b/web/webview/interfaces/native/libohweb.ndk.json @@ -63,10 +63,6 @@ "first_introduced": "12", "name": "ArkWeb_PostDataStream" }, - { - "first_introduced": "12", - "name": "OH_ArkWebRequestHeaderList_Create" - }, { "first_introduced": "12", "name": "OH_ArkWebRequestHeaderList_Destroy"