openharmony 鸿蒙 js-apidiff-web

2023-10-30 浏览 (202)
Change TypeOld VersionNew Versiond.ts File
AddedNAClass name: SecureDnsMode;
Method or attribute name: OFF = 0
@ohos.web.webview.d.ts
AddedNAClass name: SecureDnsMode;
Method or attribute name: AUTO = 1
@ohos.web.webview.d.ts
AddedNAClass name: SecureDnsMode;
Method or attribute name: SECURE_ONLY = 2
@ohos.web.webview.d.ts
AddedNAClass name: WebviewController;
Method or attribute name: prefetchPage(url: string, additionalHeaders?: Array<WebHeader>): void;
@ohos.web.webview.d.ts
AddedNAClass name: WebviewController;
Method or attribute name: static prepareForPageLoad(url: string, preconnectable: boolean, numSockets: number): void;
@ohos.web.webview.d.ts
Deprecated version changedClass 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 changedClass 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 changedClass 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 addedClass 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 addedClass 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 addedClass 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 addedClass 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 addedClass 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 addedClass 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 addedClass 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 addedClass 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 addedClass 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 鸿蒙Readme

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-account

harmony 鸿蒙js-apidiff-ai

harmony 鸿蒙js-apidiff-application

harmony 鸿蒙js-apidiff-arkui

harmony 鸿蒙js-apidiff-battery

harmony 鸿蒙js-apidiff-bundle

harmony 鸿蒙js-apidiff-communication

harmony 鸿蒙js-apidiff-compiler-and-runtime

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/6c35d42b10a44b3c9cbfff38d992ef29