Skip to content

Commit 6213aa0

Browse files
GrinZerobugyaluwang
authored andcommitted
style: add comment for createInitiator
1 parent f43ef6e commit 6213aa0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/internal/inspector/network_http.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ function createInitiator() {
9797
*/
9898
function onClientRequestCreated({ request }) {
9999
request[kInspectorRequestId] = getNextRequestId();
100+
// Ensure that the stack obtained here is the one created at the time of actual construction.
100101
request[kInitiator] = createInitiator();
101102
}
102103

0 commit comments

Comments
 (0)