Skip to content

Commit 0aed3ac

Browse files
authored
ref: Remove keepalive:true as a default (#1496)
1 parent 551d597 commit 0aed3ac

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

packages/raven-js/src/raven.js

-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ function Raven() {
9898
};
9999
this._fetchDefaults = {
100100
method: 'POST',
101-
keepalive: true,
102101
// Despite all stars in the sky saying that Edge supports old draft syntax, aka 'never', 'always', 'origin' and 'default
103102
// https://caniuse.com/#feat=referrer-policy
104103
// It doesn't. And it throw exception instead of ignoring this parameter...

packages/raven-js/test/raven.test.js

-1
Original file line numberDiff line numberDiff line change
@@ -1870,7 +1870,6 @@ describe('globals', function() {
18701870
assert.deepEqual(window.fetch.lastCall.args, [
18711871
'http://localhost/?a=1&b=2',
18721872
{
1873-
keepalive: true,
18741873
referrerPolicy: supportsReferrerPolicy() ? 'origin' : '',
18751874
method: 'POST',
18761875
body: '{"foo":"bar"}'

0 commit comments

Comments
 (0)