| 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 59dd851cca9d43f87c88b40c2aa24dcc949cf9f5..66549167318d0185bae248417e797f8bc2ec9903 100644
|
| --- a/third_party/WebKit/Source/modules/fetch/GlobalFetch.cpp
|
| +++ b/third_party/WebKit/Source/modules/fetch/GlobalFetch.cpp
|
| @@ -10,6 +10,7 @@
|
| #include "core/workers/WorkerGlobalScope.h"
|
| #include "modules/fetch/FetchManager.h"
|
| #include "modules/fetch/Request.h"
|
| +#include "modules/fetch/Response.h"
|
| #include "platform/Supplementable.h"
|
| #include "platform/heap/Handle.h"
|
|
|
| @@ -96,6 +97,8 @@ ScriptPromise GlobalFetch::fetch(ScriptState* scriptState,
|
| const RequestInfo& input,
|
| const Dictionary& init,
|
| ExceptionState& exceptionState) {
|
| + scriptState->isolate()->SetWasmCompileCallback(
|
| + WasmResponseOverloads::CompileOverload);
|
| UseCounter::count(window.getExecutionContext(), UseCounter::Fetch);
|
| if (!window.frame()) {
|
| exceptionState.throwTypeError("The global scope is shutting down.");
|
|
|