18#ifndef INCLUDED_MESSAGE
19#define INCLUDED_MESSAGE
38 mutable std::unique_ptr<JS::PersistentRootedValue>
m_Cached;
CMessage * CMessageFromJSVal(int mtid, const ScriptRequest &, JS::HandleValue)
Definition: MessageTypeConversions.cpp:546
virtual int GetType() const =0
JS::Value ToJSValCached(const ScriptRequest &) const
Definition: MessageTypeConversions.cpp:51
virtual JS::Value ToJSVal(const ScriptRequest &) const =0
virtual const char * GetScriptHandlerName() const =0
CMessage()
Definition: Message.h:29
std::unique_ptr< JS::PersistentRootedValue > m_Cached
Definition: Message.h:38
virtual const char * GetScriptGlobalHandlerName() const =0
virtual ~CMessage()
Definition: Message.h:31
Spidermonkey maintains some 'local' state via the JSContext* object.
Definition: ScriptRequest.h:60