Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(682)

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.h

Issue 2819733002: Implement ModuleScript::RunScript() (Closed)
Patch Set: Rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.h b/third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.h
index 4629a20e109e0d45f29049d6eb887225dc72c575..a1a094246824088fdf3dc001ff47c3808ebe5a7a 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.h
+++ b/third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.h
@@ -115,6 +115,9 @@ class CORE_EXPORT V8ScriptRunner final {
static v8::MaybeLocal<v8::Value> EvaluateModule(v8::Local<v8::Module>,
v8::Local<v8::Context>,
v8::Isolate*);
+ static void ReportExceptionForModule(v8::Isolate*,
kouhei (in TOK) 2017/04/26 00:57:42 Add comment: // Only to be used from ScriptModule:
hiroshige 2017/04/26 17:25:16 Done.
+ v8::Local<v8::Value> exception,
+ const String& file_name);
static uint32_t TagForParserCache(CachedMetadataHandler*);
static uint32_t TagForCodeCache(CachedMetadataHandler*);

Powered by Google App Engine
This is Rietveld 408576698