I'm using chrome.webRequest api to intercept xhr's and redirect to a saved blob i have in chrome.storage.local and get this error:
XMLHttpRequest cannot load http://test.com/bla.xml. The request was redirected
to a URL ('data:text/xml;base64,sdfkldsfjdslfjsfsjf') which has a disallowed
scheme for cross-origin requests.
the chrome.webRequest api states that "Redirections to non-HTTP schemes such as data: are allowed."
I've tried adding data:* or : to the permissions in the manifest with no luck.