Add module loader "resolve" hook for local file system to test the loader in JSC...
[WebKit-https.git] / Source / JavaScriptCore / runtime / JSInternalPromiseDeferred.h
index 540dade..662a277 100644 (file)
@@ -47,6 +47,8 @@ public:
     DECLARE_EXPORT_INFO;
 
     JS_EXPORT_PRIVATE JSInternalPromise* promise() const;
+    JS_EXPORT_PRIVATE JSInternalPromise* resolve(ExecState*, JSValue);
+    JS_EXPORT_PRIVATE JSInternalPromise* reject(ExecState*, JSValue);
 
 private:
     JSInternalPromiseDeferred(VM&);