summaryrefslogtreecommitdiffstats
path: root/WebCore/inspector/InspectorController.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/inspector/InspectorController.cpp')
-rw-r--r--WebCore/inspector/InspectorController.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/WebCore/inspector/InspectorController.cpp b/WebCore/inspector/InspectorController.cpp
index 243b7ac..d0ae442 100644
--- a/WebCore/inspector/InspectorController.cpp
+++ b/WebCore/inspector/InspectorController.cpp
@@ -839,11 +839,12 @@ void InspectorController::willSendRequest(unsigned long identifier, ResourceRequ
if (!enabled())
return;
- request.setReportLoadTiming(true);
- // Only enable raw headers if front-end is attached, as otherwise we may lack
+ // Only enable load timing and raw headers if front-end is attached, as otherwise we may produce overhead.
// permissions to fetch the headers.
- if (m_frontend)
+ if (m_frontend) {
+ request.setReportLoadTiming(true);
request.setReportRawHeaders(true);
+ }
bool isMainResource = m_mainResourceIdentifier == identifier;