I'm converting a chrome extension to edge. However I find that edge send different cookies when processing ajax requests from simple pages and extensions.
Example:
Visit https://httpbin.org/cookies/set?bar=foo from address bar. A new cookie called 'bar' with a value of 'foo' was added.
In any background page of an edge extension, create a ajax request using fetch
fetch('https://httpbin.org/cookies',{credentials: 'include'});
The debug console shows that edge do not send the 'bar' cookie.
Create following ajax request again in background page
fetch('https://httpbin.org/cookies/set?bar2=foo2',{credentials: 'include'});
Now the 'bar2' cookie has been set, but there is still no 'bar' cookie.
Visit https://httpbin.org/cookies again from address bar. There is no 'bar2' cookie.
Am I doing something wrong or it is a bug or feature of edge?