| 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 941ace6018b268317be12056c9b79f7c130686f3..3afceafeb64f71d7006fb9501719058dc5e55f72 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptModule.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptModule.cpp
|
| @@ -75,6 +75,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>();
|
|
|