On Sat, Jul 6, 2024 at 3:18 AM woxxom <wox...@gmail.com> wrote:
> You can still use XMLHttpRequest inside the offscreen document.

Huh, 
https://developer.chrome.com/docs/extensions/develop/migrate/to-service-workers#replace-xmlhttprequest
made it sound like XHR wouldn't work with MV3 at all:
"XMLHttpRequest() can't be called from a service worker, extension or
otherwise". Perhaps that documentation was written before the
chrome.offscreen API became available (in Chrome 109)??

I will give this a try, although IIUC chrome.offscreen isn't available
to MV2 (unlike fetch, which is available for both MV2 and MV3), so it
looks like I'm going to have to cook up one big "migrate to MV3"
commit instead of multiple, smaller commits.

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAEdON6Y2x%3Dbi%2BuvoVwdXUq%2BDCZex819N%3D%2Bm0KU7vhVT%3DppGydw%40mail.gmail.com.

Reply via email to