openharmony 鸿蒙 js-apidiff-web

2023-10-30 浏览 (329)
操作旧版本新版本d.ts文件
新增NA类名:SecureDnsMode;
方法or属性:OFF = 0
@ohos.web.webview.d.ts
新增NA类名:SecureDnsMode;
方法or属性:AUTO = 1
@ohos.web.webview.d.ts
新增NA类名:SecureDnsMode;
方法or属性:SECURE_ONLY = 2
@ohos.web.webview.d.ts
新增NA类名:WebviewController;
方法or属性:prefetchPage(url: string, additionalHeaders?: Array<WebHeader>): void;
@ohos.web.webview.d.ts
新增NA类名:WebviewController;
方法or属性:static prepareForPageLoad(url: string, preconnectable: boolean, numSockets: number): void;
@ohos.web.webview.d.ts
废弃版本有变化类名:SecureDnsMode;
方法or属性:Off = 0
旧版本信息:
类名:SecureDnsMode;
方法or属性:Off = 0
新版本信息:10
代替接口: SecureDnsMode#OFF
@ohos.web.webview.d.ts
废弃版本有变化类名:SecureDnsMode;
方法or属性:Auto = 1
旧版本信息:
类名:SecureDnsMode;
方法or属性:Auto = 1
新版本信息:10
代替接口: SecureDnsMode#AUTO
@ohos.web.webview.d.ts
废弃版本有变化类名:SecureDnsMode;
方法or属性:SecureOnly = 2
旧版本信息:
类名:SecureDnsMode;
方法or属性:SecureOnly = 2
新版本信息:10
代替接口: SecureDnsMode#SECURE_ONLY
@ohos.web.webview.d.ts
新增(错误码)类名:WebStorage;
方法or属性:static getOrigins(callback: AsyncCallback<Array<WebStorageOrigin>>): void;
旧版本信息:
类名:WebStorage;
方法or属性:static getOrigins(callback: AsyncCallback<Array<WebStorageOrigin>>): void;
新版本信息:401,17100012
@ohos.web.webview.d.ts
新增(错误码)类名:WebStorage;
方法or属性:static getOriginQuota(origin: string, callback: AsyncCallback<number>): void;
旧版本信息:
类名:WebStorage;
方法or属性:static getOriginQuota(origin: string, callback: AsyncCallback<number>): void;
新版本信息:401,17100011
@ohos.web.webview.d.ts
新增(错误码)类名:WebStorage;
方法or属性:static getOriginUsage(origin: string, callback: AsyncCallback<number>): void;
旧版本信息:
类名:WebStorage;
方法or属性:static getOriginUsage(origin: string, callback: AsyncCallback<number>): void;
新版本信息:401,17100011
@ohos.web.webview.d.ts
新增(错误码)类名:GeolocationPermissions;
方法or属性:static getAccessibleGeolocation(origin: string, callback: AsyncCallback<boolean>): void;
旧版本信息:
类名:GeolocationPermissions;
方法or属性:static getAccessibleGeolocation(origin: string, callback: AsyncCallback<boolean>): void;
新版本信息:401,17100011
@ohos.web.webview.d.ts
新增(错误码)类名:GeolocationPermissions;
方法or属性:static getStoredGeolocation(callback: AsyncCallback<Array<string>>): void;
旧版本信息:
类名:GeolocationPermissions;
方法or属性:static getStoredGeolocation(callback: AsyncCallback<Array<string>>): void;
新版本信息:401
@ohos.web.webview.d.ts
新增(错误码)类名:WebCookieManager;
方法or属性:static saveCookieAsync(callback: AsyncCallback<void>): void;
旧版本信息:
类名:WebCookieManager;
方法or属性:static saveCookieAsync(callback: AsyncCallback<void>): void;
新版本信息:401
@ohos.web.webview.d.ts
新增(错误码)类名:WebviewController;
方法or属性:storeWebArchive(baseName: string, autoName: boolean, callback: AsyncCallback<string>): void;
旧版本信息:
类名:WebviewController;
方法or属性:storeWebArchive(baseName: string, autoName: boolean, callback: AsyncCallback<string>): void;
新版本信息:401,17100001,17100003
@ohos.web.webview.d.ts
新增(错误码)类名:WebviewController;
方法or属性:runJavaScript(script: string, callback: AsyncCallback<string>): void;
旧版本信息:
类名:WebviewController;
方法or属性:runJavaScript(script: string, callback: AsyncCallback<string>): void;
新版本信息:401,17100001
@ohos.web.webview.d.ts
新增(错误码)类名:WebviewController;
方法or属性:runJavaScriptExt(script: string, callback: AsyncCallback<JsMessageExt>): void;
旧版本信息:
类名:WebviewController;
方法or属性:runJavaScriptExt(script: string, callback: AsyncCallback<JsMessageExt>): void;
新版本信息: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/8b977263a0074b8d9ba7ab2194a44cfe