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

Unified Diff: third_party/WebKit/Source/core/dom/Modulator.h

Issue 2839563002: [ES6 modules] Return previous error when an instantiation is reattempt. (Closed)
Patch Set: 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/core/dom/Modulator.h
diff --git a/third_party/WebKit/Source/core/dom/Modulator.h b/third_party/WebKit/Source/core/dom/Modulator.h
index 4c63e3c3c334988806452c0bde209ab8f6248eb7..cf8a8ce2dc37671d2eaa2eba98d32bf2b86b54b6 100644
--- a/third_party/WebKit/Source/core/dom/Modulator.h
+++ b/third_party/WebKit/Source/core/dom/Modulator.h
@@ -102,6 +102,8 @@ class CORE_EXPORT Modulator : public GarbageCollectedFinalized<Modulator>,
virtual ScriptValue InstantiateModule(ScriptModule) = 0;
+ virtual ScriptValue GetInstantiationError(const ModuleScript*) = 0;
+
virtual Vector<String> ModuleRequestsFromScriptModule(ScriptModule) = 0;
private:
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/ModulatorImpl.h » ('j') | third_party/WebKit/Source/core/dom/ModuleScript.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698