diff options
Diffstat (limited to 'WebCore/bindings/js/ScriptValue.h')
-rw-r--r-- | WebCore/bindings/js/ScriptValue.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/WebCore/bindings/js/ScriptValue.h b/WebCore/bindings/js/ScriptValue.h index b170fcf..5746c3f 100644 --- a/WebCore/bindings/js/ScriptValue.h +++ b/WebCore/bindings/js/ScriptValue.h @@ -55,8 +55,11 @@ public: bool isNull() const; bool isUndefined() const; bool isObject() const; + bool isFunction() const; bool hasNoValue() const { return m_value == JSC::JSValue(); } + bool operator==(const ScriptValue& other) const { return m_value == other.m_value; } + PassRefPtr<SerializedScriptValue> serialize(ScriptState*); static ScriptValue deserialize(ScriptState*, SerializedScriptValue*); |