| 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: 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 |
| Deprecated version changed | Class name: SecureDnsMode; Method or attribute name: Off = 0 Old version information: | Class name: SecureDnsMode; Method or attribute name: Off = 0 New version information: 10 Substitute API: SecureDnsMode#OFF | @ohos.web.webview.d.ts |
| Deprecated version changed | Class name: SecureDnsMode; Method or attribute name: Auto = 1 Old version information: | Class name: SecureDnsMode; Method or attribute name: Auto = 1 New version information: 10 Substitute API: SecureDnsMode#AUTO | @ohos.web.webview.d.ts |
| Deprecated version changed | Class name: SecureDnsMode; Method or attribute name: SecureOnly = 2 Old version information: | Class name: SecureDnsMode; Method or attribute name: SecureOnly = 2 New version information: 10 Substitute API: SecureDnsMode#SECURE_ONLY | @ohos.web.webview.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: runJavaScriptExt(script: string, callback: AsyncCallback<JsMessageExt>): void; Old version information: | Class name: WebviewController; Method or attribute name: runJavaScriptExt(script: string, callback: AsyncCallback<JsMessageExt>): void; New version information: 401,17100001 | @ohos.web.webview.d.ts |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙js-apidiff-application