SAP / ui5-inspector

With the UI5 Inspector, you can easily debug and support your OpenUI5/SAPUI5 based apps.
https://sap.github.io/ui5-inspector/
Apache License 2.0
144 stars 57 forks source link

UI5 inspector causes warnings in browser console #268

Open mdreier-sap opened 3 months ago

mdreier-sap commented 3 months ago

When using the UI5 inspector with current UI5 releases, it raises a number of warnings in the browser console because it uses deprecated APIs. Since these look the same as warnings raised from the running app, it distracts when trying to identify issues with the application. Observed call stacks with SAPUI5 1.126.1:

[Deprecated] UriParameters.mParams must not be accessed. -  
log @ Log.js?eval:498
Log.warning @ Log.js?eval:270
get @ UriParameters.js?eval:186
_getFrameworkInformation @ ToolsAPI.js:141
mutation._observer @ main.js:41
Do not use deprecated function 'sap.ui.getVersionInfo' synchronously! Use 'sap/ui/VersionInfo' module's asynchronous .load function instead - Deprecation 
log @ Log.js?eval:498
Log.warning @ Log.js?eval:270
sap.ui.getVersionInfo @ Global.js?eval:113
_getFrameworkInformation @ ToolsAPI.js:105
mutation._observer @ main.js:41