#ifndef JSGlobalObjectScriptDebugServer_h
#define JSGlobalObjectScriptDebugServer_h
-#if ENABLE(INSPECTOR)
-
#include "ScriptDebugServer.h"
#include <wtf/Forward.h>
virtual void recompileAllJSFunctions() override;
private:
- virtual ListenerSet* getListenersForGlobalObject(JSC::JSGlobalObject*) override { return &m_listeners; }
+ virtual ListenerSet& getListeners() override { return m_listeners; }
virtual void didPause(JSC::JSGlobalObject*) override { }
virtual void didContinue(JSC::JSGlobalObject*) override { }
virtual void runEventLoopWhilePaused() override;
// NOTE: Currently all exceptions are reported at the API boundary through reportAPIException.
// Until a time comes where an exception can be caused outside of the API (e.g. setTimeout
// or some other async operation in a pure JSContext) we can ignore exceptions reported here.
- virtual void reportException(JSC::ExecState*, JSC::JSValue) const override { }
+ virtual void reportException(JSC::ExecState*, JSC::Exception*) const override { }
ListenerSet m_listeners;
JSC::JSGlobalObject& m_globalObject;
} // namespace Inspector
-#endif // ENABLE(INSPECTOR)
-
#endif // JSGlobalObjectScriptDebugServer_h