Change Type | Old Version | New Version | d.ts File |
---|---|---|---|
Added | NA | Class name: SecureDnsMode; Method or attribute name: OFF = 0 |
@ohos.web.webview.d.ts |
Added | NA | Class name: SecureDnsMode; Method or attribute name: AUTO = 1 |
@ohos.web.webview.d.ts |
Added | NA | Class name: SecureDnsMode; Method or attribute name: SECURE_ONLY = 2 |
@ohos.web.webview.d.ts |
Added | NA | Class name: WebMessageType; Method or attribute name: NOT_SUPPORT |
@ohos.web.webview.d.ts |
Added | NA | Class name: JsMessageType; Method or attribute name: NOT_SUPPORT |
@ohos.web.webview.d.ts |
Added | NA | Class name: WebMessageType; Method or attribute name: STRING |
@ohos.web.webview.d.ts |
Added | NA | Class name: JsMessageType; Method or attribute name: STRING |
@ohos.web.webview.d.ts |
Added | NA | Class name: WebMessageType; Method or attribute name: NUMBER |
@ohos.web.webview.d.ts |
Added | NA | Class name: JsMessageType; Method or attribute name: NUMBER |
@ohos.web.webview.d.ts |
Added | NA | Class name: WebMessageType; Method or attribute name: BOOLEAN |
@ohos.web.webview.d.ts |
Added | NA | Class name: JsMessageType; Method or attribute name: BOOLEAN |
@ohos.web.webview.d.ts |
Added | NA | Class name: WebMessageType; Method or attribute name: ARRAY_BUFFER |
@ohos.web.webview.d.ts |
Added | NA | Class name: JsMessageType; Method or attribute name: ARRAY_BUFFER |
@ohos.web.webview.d.ts |
Added | NA | Class name: WebMessageType; Method or attribute name: ARRAY |
@ohos.web.webview.d.ts |
Added | NA | Class name: JsMessageType; Method or attribute name: ARRAY |
@ohos.web.webview.d.ts |
Added | NA | Class name: WebMessageType; Method or attribute name: ERROR |
@ohos.web.webview.d.ts |
Added | NA | Class name: WebMessageExt; Method or attribute name: getType(): WebMessageType; |
@ohos.web.webview.d.ts |
Added | NA | Class name: WebMessageExt; Method or attribute name: getString(): string; |
@ohos.web.webview.d.ts |
Added | NA | Class name: JsMessageExt; Method or attribute name: getString(): string; |
@ohos.web.webview.d.ts |
Added | NA | Class name: WebMessageExt; Method or attribute name: getNumber(): number; |
@ohos.web.webview.d.ts |
Added | NA | Class name: JsMessageExt; Method or attribute name: getNumber(): number; |
@ohos.web.webview.d.ts |
Added | NA | Class name: WebMessageExt; Method or attribute name: getBoolean(): boolean; |
@ohos.web.webview.d.ts |
Added | NA | Class name: JsMessageExt; Method or attribute name: getBoolean(): boolean; |
@ohos.web.webview.d.ts |
Added | NA | Class name: WebMessageExt; Method or attribute name: getArrayBuffer(): ArrayBuffer; |
@ohos.web.webview.d.ts |
Added | NA | Class name: JsMessageExt; Method or attribute name: getArrayBuffer(): ArrayBuffer; |
@ohos.web.webview.d.ts |
Added | NA | Class name: WebMessageExt; Method or attribute name: getArray(): Array<string | number | boolean>; |
@ohos.web.webview.d.ts |
Added | NA | Class name: JsMessageExt; Method or attribute name: getArray(): Array<string | number | boolean>; |
@ohos.web.webview.d.ts |
Added | NA | Class name: WebMessageExt; Method or attribute name: getError(): Error; |
@ohos.web.webview.d.ts |
Added | NA | Class name: WebMessageExt; Method or attribute name: setType(type: WebMessageType): void; |
@ohos.web.webview.d.ts |
Added | NA | Class name: WebMessageExt; Method or attribute name: setString(message: string): void; |
@ohos.web.webview.d.ts |
Added | NA | Class name: WebMessageExt; Method or attribute name: setNumber(message: number): void; |
@ohos.web.webview.d.ts |
Added | NA | Class name: WebMessageExt; Method or attribute name: setBoolean(message: boolean): void; |
@ohos.web.webview.d.ts |
Added | NA | Class name: WebMessageExt; Method or attribute name: setArrayBuffer(message: ArrayBuffer): void; |
@ohos.web.webview.d.ts |
Added | NA | Class name: WebMessageExt; Method or attribute name: setArray(message: Array<string | number | boolean>): void; |
@ohos.web.webview.d.ts |
Added | NA | Class name: WebMessageExt; Method or attribute name: setError(message: Error): void; |
@ohos.web.webview.d.ts |
Added | NA | Class name: WebMessagePort; Method or attribute name: isExtentionType?: boolean; |
@ohos.web.webview.d.ts |
Added | NA | Class name: WebMessagePort; Method or attribute name: postMessageEventExt(message: WebMessageExt): void; |
@ohos.web.webview.d.ts |
Added | NA | Class name: WebMessagePort; Method or attribute name: onMessageEventExt(callback: (result: WebMessageExt) => void): void; |
@ohos.web.webview.d.ts |
Added | NA | Class name: JsMessageExt; Method or attribute name: getType(): JsMessageType; |
@ohos.web.webview.d.ts |
Added | NA | Class name: WebviewController; Method or attribute name: static setHttpDns(secureDnsMode: SecureDnsMode, secureDnsConfig: string): void; |
@ohos.web.webview.d.ts |
Added | NA | Class name: WebviewController; Method or attribute name: runJavaScriptExt(script: string): Promise<JsMessageExt>; |
@ohos.web.webview.d.ts |
Added | NA | Class name: WebviewController; Method or attribute name: runJavaScriptExt(script: string, callback: AsyncCallback<JsMessageExt>): void; |
@ohos.web.webview.d.ts |
Added | NA | Class name: WebviewController; Method or attribute name: getCertificate(): Promise<Array<cert.X509Cert>>; |
@ohos.web.webview.d.ts |
Added | NA | Class name: WebviewController; Method or attribute name: getCertificate(callback: AsyncCallback<Array<cert.X509Cert>>): void; |
@ohos.web.webview.d.ts |
Added | NA | Class name: WebviewController; Method or attribute name: setAudioMuted(mute: boolean): void; |
@ohos.web.webview.d.ts |
Added | NA | Class name: WebviewController; Method or attribute name: prefetchPage(url: string, additionalHeaders?: Array<WebHeader>): void; |
@ohos.web.webview.d.ts |
Added | NA | Class name: WebviewController; Method or attribute name: static prepareForPageLoad(url: string, preconnectable: boolean, numSockets: number): void; |
@ohos.web.webview.d.ts |
Added | NA | Class name: WebviewController; Method or attribute name: setCustomUserAgent(userAgent: string): void; |
@ohos.web.webview.d.ts |
Added | NA | Class name: WebviewController; Method or attribute name: getCustomUserAgent(): string; |
@ohos.web.webview.d.ts |
Deprecated version changed | Class name: WebAttribute; Method or attribute name: password(password: boolean): WebAttribute; Old version information: |
Class name: WebAttribute; Method or attribute name: password(password: boolean): WebAttribute; New version information: 10 Substitute API: |
web.d.ts |
Deprecated version changed | Class name: WebAttribute; Method or attribute name: tableData(tableData: boolean): WebAttribute; Old version information: |
Class name: WebAttribute; Method or attribute name: tableData(tableData: boolean): WebAttribute; New version information: 10 Substitute API: |
web.d.ts |
Deprecated version changed | Class name: WebAttribute; Method or attribute name: wideViewModeAccess(wideViewModeAccess: boolean): WebAttribute; Old version information: |
Class name: WebAttribute; Method or attribute name: wideViewModeAccess(wideViewModeAccess: boolean): WebAttribute; New version information: 10 Substitute API: |
web.d.ts |
Deprecated version changed | Class name: WebAttribute; Method or attribute name: userAgent(userAgent: string): WebAttribute; Old version information: |
Class name: WebAttribute; Method or attribute name: userAgent(userAgent: string): WebAttribute; New version information: 10 Substitute API: ohos.web.webview.webview.WebviewController#setCustomUserAgent |
web.d.ts |
Deprecated version changed | Class name: WebAttribute; Method or attribute name: onUrlLoadIntercept(callback: (event?: { data: string | WebResourceRequest }) => boolean): WebAttribute; Old version information: |
Class name: WebAttribute; Method or attribute name: onUrlLoadIntercept(callback: (event?: { data: string | WebResourceRequest }) => boolean): WebAttribute; New version information: 10 Substitute API: ohos.web.WebAttribute#onLoadIntercept |
web.d.ts |
Error code added | Class name: WebStorage; Method or attribute name: static getOrigins(callback: AsyncCallback<Array<WebStorageOrigin>>): void; Old version information: |
Class name: WebStorage; Method or attribute name: static getOrigins(callback: AsyncCallback<Array<WebStorageOrigin>>): void; New version information: 401, 17100012 |
@ohos.web.webview.d.ts |
Error code added | Class name: WebStorage; Method or attribute name: static getOriginQuota(origin: string, callback: AsyncCallback<number>): void; Old version information: |
Class name: WebStorage; Method or attribute name: static getOriginQuota(origin: string, callback: AsyncCallback<number>): void; New version information: 401, 17100011 |
@ohos.web.webview.d.ts |
Error code added | Class name: WebStorage; Method or attribute name: static getOriginUsage(origin: string, callback: AsyncCallback<number>): void; Old version information: |
Class name: WebStorage; Method or attribute name: static getOriginUsage(origin: string, callback: AsyncCallback<number>): void; New version information: 401, 17100011 |
@ohos.web.webview.d.ts |
Error code added | Class name: GeolocationPermissions; Method or attribute name: static getAccessibleGeolocation(origin: string, callback: AsyncCallback<boolean>): void; Old version information: |
Class name: GeolocationPermissions; Method or attribute name: static getAccessibleGeolocation(origin: string, callback: AsyncCallback<boolean>): void; New version information: 401, 17100011 |
@ohos.web.webview.d.ts |
Error code added | Class name: GeolocationPermissions; Method or attribute name: static getStoredGeolocation(callback: AsyncCallback<Array<string>>): void; Old version information: |
Class name: GeolocationPermissions; Method or attribute name: static getStoredGeolocation(callback: AsyncCallback<Array<string>>): void; New version information: 401 |
@ohos.web.webview.d.ts |
Error code added | Class name: WebCookieManager; Method or attribute name: static saveCookieAsync(callback: AsyncCallback<void>): void; Old version information: |
Class name: WebCookieManager; Method or attribute name: static saveCookieAsync(callback: AsyncCallback<void>): void; New version information: 401 |
@ohos.web.webview.d.ts |
Error code added | Class name: WebviewController; Method or attribute name: storeWebArchive(baseName: string, autoName: boolean, callback: AsyncCallback<string>): void; Old version information: |
Class name: WebviewController; Method or attribute name: storeWebArchive(baseName: string, autoName: boolean, callback: AsyncCallback<string>): void; New version information: 401, 17100001, 17100003 |
@ohos.web.webview.d.ts |
Error code added | Class name: WebviewController; Method or attribute name: runJavaScript(script: string, callback: AsyncCallback<string>): void; Old version information: |
Class name: WebviewController; Method or attribute name: runJavaScript(script: string, callback: AsyncCallback<string>): void; New version information: 401, 17100001 |
@ohos.web.webview.d.ts |
Error code added | Class name: WebviewController; Method or attribute name: hasImage(callback: AsyncCallback<boolean>): void; Old version information: |
Class name: WebviewController; Method or attribute name: hasImage(callback: AsyncCallback<boolean>): void; New version information: 401, 17100001 |
@ohos.web.webview.d.ts |
Error code changed | Class name: WebviewController; Method or attribute name: createWebMessagePorts(isExtentionType?: boolean): Array<WebMessagePort>; Old version information: 17100001 |
Class name: WebviewController; Method or attribute name: createWebMessagePorts(isExtentionType?: boolean): Array<WebMessagePort>; New version information: 401, 17100001 |
@ohos.web.webview.d.ts |
Type changed | Class name: Header; Method or attribute name: headerKey: string; Old version information: |
Class name: Header; Method or attribute name: headerKey: string; New version information: string |
web.d.ts |
Type changed | Class name: Header; Method or attribute name: headerValue: string; Old version information: |
Class name: Header; Method or attribute name: headerValue: string; New version information: string |
web.d.ts |
Type changed | Class name: WebOptions; Method or attribute name: src: string | Resource; Old version information: |
Class name: WebOptions; Method or attribute name: src: string | Resource; New version information: string | Resource |
web.d.ts |
Type changed | Class name: WebOptions; Method or attribute name: controller: WebController | WebviewController; Old version information: (WebController | WebviewController) |
Class name: WebOptions; Method or attribute name: controller: WebController | WebviewController; New version information: WebController | WebviewController |
web.d.ts |
Type changed | Class name: WebAttribute; Method or attribute name: javaScriptProxy(javaScriptProxy: { object: object, name: string, methodList: Array<string>, controller: WebController | WebviewController }): WebAttribute; Old version information: controller : WebController | WebviewController |
Class name: WebAttribute; Method or attribute name: javaScriptProxy(javaScriptProxy: { object: object, name: string, methodList: Array<string>, controller: WebController | WebviewController }): WebAttribute; New version information: |
web.d.ts |
Function changed | Class name: WebviewController; Method or attribute name: createWebMessagePorts(): Array<WebMessagePort>; |
Class name: WebviewController; Method or attribute name: createWebMessagePorts(isExtentionType?: boolean): Array<WebMessagePort>; |
@ohos.web.webview.d.ts |
Cross-platform capability changed | Class name: webview; Method or attribute name: declare webview Old version information: |
Class name: webview; Method or attribute name: declare webview New version information: crossplatform |
@ohos.web.webview.d.ts |
Cross-platform capability changed | Class name: WebHeader; Method or attribute name: interface WebHeader Old version information: |
Class name: WebHeader; Method or attribute name: interface WebHeader New version information: crossplatform |
@ohos.web.webview.d.ts |
Cross-platform capability changed | Class name: WebHeader; Method or attribute name: headerKey: string; Old version information: |
Class name: WebHeader; Method or attribute name: headerKey: string; New version information: crossplatform |
@ohos.web.webview.d.ts |
Cross-platform capability changed | Class name: WebHeader; Method or attribute name: headerValue: string; Old version information: |
Class name: WebHeader; Method or attribute name: headerValue: string; New version information: crossplatform |
@ohos.web.webview.d.ts |
Cross-platform capability changed | Class name: WebviewController; Method or attribute name: class WebviewController Old version information: |
Class name: WebviewController; Method or attribute name: class WebviewController New version information: crossplatform |
@ohos.web.webview.d.ts |
Cross-platform capability changed | Class name: WebviewController; Method or attribute name: loadUrl(url: string | Resource, headers?: Array<WebHeader>): void; Old version information: |
Class name: WebviewController; Method or attribute name: loadUrl(url: string | Resource, headers?: Array<WebHeader>): void; New version information: crossplatform |
@ohos.web.webview.d.ts |
Cross-platform capability changed | Class name: WebResourceRequest; Method or attribute name: declare class WebResourceRequest Old version information: |
Class name: WebResourceRequest; Method or attribute name: declare class WebResourceRequest New version information: crossplatform |
web.d.ts |
Cross-platform capability changed | Class name: WebResourceRequest; Method or attribute name: constructor(); Old version information: |
Class name: WebResourceRequest; Method or attribute name: constructor(); New version information: crossplatform |
web.d.ts |
Cross-platform capability changed | Class name: WebResourceError; Method or attribute name: constructor(); Old version information: |
Class name: WebResourceError; Method or attribute name: constructor(); New version information: crossplatform |
web.d.ts |
Cross-platform capability changed | Class name: WebResourceRequest; Method or attribute name: getRequestUrl(): string; Old version information: |
Class name: WebResourceRequest; Method or attribute name: getRequestUrl(): string; New version information: crossplatform |
web.d.ts |
Cross-platform capability changed | Class name: WebResourceError; Method or attribute name: declare class WebResourceError Old version information: |
Class name: WebResourceError; Method or attribute name: declare class WebResourceError New version information: crossplatform |
web.d.ts |
Cross-platform capability changed | Class name: WebResourceError; Method or attribute name: getErrorInfo(): string; Old version information: |
Class name: WebResourceError; Method or attribute name: getErrorInfo(): string; New version information: crossplatform |
web.d.ts |
Cross-platform capability changed | Class name: WebResourceError; Method or attribute name: getErrorCode(): number; Old version information: |
Class name: WebResourceError; Method or attribute name: getErrorCode(): number; New version information: crossplatform |
web.d.ts |
Cross-platform capability changed | Class name: WebOptions; Method or attribute name: declare interface WebOptions Old version information: |
Class name: WebOptions; Method or attribute name: declare interface WebOptions New version information: crossplatform |
web.d.ts |
Cross-platform capability changed | Class name: WebOptions; Method or attribute name: src: string | Resource; Old version information: |
Class name: WebOptions; Method or attribute name: src: string | Resource; New version information: crossplatform |
web.d.ts |
Cross-platform capability changed | Class name: WebOptions; Method or attribute name: controller: WebController | WebviewController; Old version information: |
Class name: WebOptions; Method or attribute name: controller: WebController | WebviewController; New version information: crossplatform |
web.d.ts |
Cross-platform capability changed | Class name: WebInterface; Method or attribute name: interface WebInterface Old version information: |
Class name: WebInterface; Method or attribute name: interface WebInterface New version information: crossplatform |
web.d.ts |
Cross-platform capability changed | Class name: WebInterface; Method or attribute name: (value: WebOptions): WebAttribute; Old version information: |
Class name: WebInterface; Method or attribute name: (value: WebOptions): WebAttribute; New version information: crossplatform |
web.d.ts |
Cross-platform capability changed | Class name: WebAttribute; Method or attribute name: declare class WebAttribute Old version information: |
Class name: WebAttribute; Method or attribute name: declare class WebAttribute New version information: crossplatform |
web.d.ts |
Cross-platform capability changed | Class name: WebAttribute; Method or attribute name: javaScriptAccess(javaScriptAccess: boolean): WebAttribute; Old version information: |
Class name: WebAttribute; Method or attribute name: javaScriptAccess(javaScriptAccess: boolean): WebAttribute; New version information: crossplatform |
web.d.ts |
Cross-platform capability changed | Class name: WebAttribute; Method or attribute name: zoomAccess(zoomAccess: boolean): WebAttribute; Old version information: |
Class name: WebAttribute; Method or attribute name: zoomAccess(zoomAccess: boolean): WebAttribute; New version information: crossplatform |
web.d.ts |
Cross-platform capability changed | Class name: WebAttribute; Method or attribute name: onPageEnd(callback: (event?: { /** * The url of page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @since 10 */ url: string }) => void): WebAttribute; Old version information: |
Class name: WebAttribute; Method or attribute name: onPageEnd(callback: (event?: { /** * The url of page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @since 10 */ url: string }) => void): WebAttribute; New version information: crossplatform |
web.d.ts |
Cross-platform capability changed | Class name: WebAttribute; Method or attribute name: onPageBegin(callback: (event?: { /** * The url of page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @since 10 */ url: string }) => void): WebAttribute; Old version information: |
Class name: WebAttribute; Method or attribute name: onPageBegin(callback: (event?: { /** * The url of page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @since 10 */ url: string }) => void): WebAttribute; New version information: crossplatform |
web.d.ts |
Cross-platform capability changed | Class name: WebAttribute; Method or attribute name: onErrorReceive(callback: (event?: { / * The url of error event. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @since 10 */ request: WebResourceRequest, / * The information of error event. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @since 10 */ error: WebResourceError }) => void): WebAttribute; Old version information: |
Class name: WebAttribute; Method or attribute name: onErrorReceive(callback: (event?: { / * The url of error event. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @since 10 */ request: WebResourceRequest, / * The information of error event. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @since 10 */ error: WebResourceError }) => void): WebAttribute; New version information: crossplatform |
web.d.ts |