| Index: third_party/WebKit/Source/modules/fetch/GlobalFetch.cpp
|
| diff --git a/third_party/WebKit/Source/modules/fetch/GlobalFetch.cpp b/third_party/WebKit/Source/modules/fetch/GlobalFetch.cpp
|
| index a4bdd715b4aee27eda21eecc871e944e426fea19..872a327eb6ad1186470060e441cdffd6245fda09 100644
|
| --- a/third_party/WebKit/Source/modules/fetch/GlobalFetch.cpp
|
| +++ b/third_party/WebKit/Source/modules/fetch/GlobalFetch.cpp
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "core/frame/LocalDOMWindow.h"
|
| #include "core/frame/UseCounter.h"
|
| +#include "core/inspector/InspectorInstrumentation.h"
|
| #include "core/workers/WorkerGlobalScope.h"
|
| #include "modules/fetch/FetchManager.h"
|
| #include "modules/fetch/Request.h"
|
| @@ -49,6 +50,9 @@ public:
|
| Request* r = Request::create(scriptState, input, init, exceptionState);
|
| if (exceptionState.hadException())
|
| return ScriptPromise();
|
| +
|
| + if (ExecutionContext* executionContext = m_fetchManager->getExecutionContext())
|
| + InspectorInstrumentation::willSendXMLHttpOrFetchNetworkRequest(executionContext, r->url());
|
| return m_fetchManager->fetch(scriptState, r->passRequestData(scriptState));
|
| }
|
|
|
|
|