We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51f85e6 commit 69e660bCopy full SHA for 69e660b
packages/browser-vm/src/modules/network.ts
@@ -26,7 +26,7 @@ export function networkModule(sandbox: Sandbox) {
26
}
27
28
open() {
29
- // sync request
+ // sync request
30
if (arguments[2] === false) {
31
xhrSet.delete(this);
32
@@ -83,7 +83,7 @@ export function networkModule(sandbox: Sandbox) {
83
});
84
85
let controller;
86
- if (!hasOwn(options, 'signal') && window.AbortController) {
+ if (!(input instanceof Request) && !hasOwn(options, 'signal') && window.AbortController) {
87
controller = new window.AbortController();
88
if (!sandbox.options.disableCollect) {
89
fetchSet.add(controller);
0 commit comments