Skip to content

Commit ef7038f

Browse files
committed
Fix mozilla#8888: Change behaviour of fetch to make it compatible with XHR.
1 parent 31a3433 commit ef7038f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/display/fetch_stream.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function createFetchOptions(headers, withCredentials) {
2626
method: 'GET',
2727
headers,
2828
mode: 'cors',
29-
credentials: withCredentials ? 'include' : 'omit',
29+
credentials: withCredentials ? 'include' : 'same-origin',
3030
redirect: 'follow',
3131
};
3232
}

0 commit comments

Comments
 (0)