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

chore: replace XMLHttpRequest with global fetch in ace third party #264

Closed kineticjs closed 8 months ago

kineticjs commented 8 months ago

The Manifest V3 migration guide prescribes to "Replace calls from your background script to XMLHttpRequest() with calls to global fetch()" Ref: https://developer.chrome.com/docs/extensions/develop/migrate/to-service-workers#replace-xmlhttprequest

The only place in the codebase that contains call to XMLHttpRequest is the third party ace editor Ref: https://github.com/ajaxorg/ace/blob/master/src/lib/net.js#L12

Modified the ace sources to overwrite the function that calls XMLHttpRequest with a function that uses fetch to make the same request.

github-actions[bot] commented 1 month ago

:tada: This PR is included in version 1.6.5 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: