Expected:
This request should return 200 and the response should have a status of “success”.
Actual:
The request returns 200 and the response has a status of “error”.
After chats with Ben Kelly who works on the service workers implementation inside of Firefox, we discovered that there is a bug on their end. When making a JS request (<script> i.e. JSONP), Firefox’s service worker will forward the request but drop cookies if the request is cross origin. The expected behaviour is it should send the cookies in the forwarded request. This bug can be tracked at https://bugzilla.mozilla.org/show_bug.cgi?id=1248994.
Steps to reproduce:
Expected: This request should return 200 and the response should have a status of “success”.
Actual: The request returns 200 and the response has a status of “error”.
After chats with Ben Kelly who works on the service workers implementation inside of Firefox, we discovered that there is a bug on their end. When making a JS request (
<script>
i.e. JSONP), Firefox’s service worker will forward the request but drop cookies if the request is cross origin. The expected behaviour is it should send the cookies in the forwarded request. This bug can be tracked at https://bugzilla.mozilla.org/show_bug.cgi?id=1248994.Fix to follow.