Skip to content

Commit 3fd652b

Browse files
Update xml-http-request.ts
1 parent 106e059 commit 3fd652b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/interceptor/xml-http-request.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,8 @@ export default class XMLHttpRequestInterceptor extends Base {
329329
private event(type: string) {
330330
return {
331331
type,
332-
target: null,
333-
currentTarget: null,
332+
target: this.xhr,
333+
currentTarget: this.xhr,
334334
eventPhase: 0,
335335
bubbles: false,
336336
cancelable: false,

0 commit comments

Comments
 (0)