Skip to content

Commit 2309799

Browse files
author
Daniel Herzog
committed
Fixed a regression around GetResource
1 parent 19e81fc commit 2309799

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/network/network_service.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -716,8 +716,7 @@ cls.RequestContextPrototype = function()
716716
if (!entry.current_response)
717717
{
718718
// This means there wasn't a request, we add a "response" though because that's where that data lives.
719-
// todo: illegal access..
720-
entry.current_response = new cls.NetworkLoggerResponse(this);
719+
entry.current_response = new cls.NetworkLoggerResponse(entry);
721720
entry.requests_responses.push(entry.current_response);
722721
}
723722

0 commit comments

Comments
 (0)