Skip to content

Commit

Permalink
Merge pull request facebook#10 from jasta/fix-missing-if-slow
Browse files Browse the repository at this point in the history
Fix issue that can hide slow network requests
  • Loading branch information
longinoa committed Feb 10, 2015
2 parents e833db2 + 8b12919 commit e166788
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ public void requestWillBeSent(InspectorRequest request) {
params.timestamp = stethoNow() / 1000.0;
params.initiator = initiatorJSON;
params.redirectResponse = null;
params.type = Page.ResourceType.OTHER;
peerManager.sendNotificationToPeers("Network.requestWillBeSent", params);
}
}
Expand Down Expand Up @@ -143,7 +144,7 @@ public void responseHeadersReceived(InspectorResponse response) {
}
receivedParams.response = responseJSON;
peerManager.sendNotificationToPeers("Network.responseReceived", receivedParams);
}
}
}

@Override
Expand Down

0 comments on commit e166788

Please sign in to comment.