Closed kineticjs closed 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.
:tada: This PR is included in version 1.6.5 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
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.