| Index: third_party/WebKit/Source/bindings/core/v8/ScriptModule.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptModule.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptModule.cpp
|
| index 544c0ad9f3436d4d94bba9fd76cda3dc97d33019..b2a61744bf16da2404d430eab8b57b38bd63683f 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptModule.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptModule.cpp
|
| @@ -76,6 +76,17 @@ void ScriptModule::Evaluate(ScriptState* script_state) const {
|
| }
|
| }
|
|
|
| +void ScriptModule::ReportException(ScriptState* script_state,
|
| + v8::Local<v8::Value> exception,
|
| + const String& file_name) {
|
| + v8::Isolate* isolate = script_state->GetIsolate();
|
| +
|
| + v8::TryCatch try_catch(isolate);
|
| + try_catch.SetVerbose(true);
|
| +
|
| + V8ScriptRunner::ReportExceptionForModule(isolate, exception, file_name);
|
| +}
|
| +
|
| Vector<String> ScriptModule::ModuleRequests(ScriptState* script_state) {
|
| if (IsNull())
|
| return Vector<String>();
|
|
|