void InjectedScript::inspectNode(Node* node) { ASSERT(!isEmpty()); ScriptFunctionCall function(injectedScriptObject(), "inspectNode"); function.appendArgument(nodeAsScriptValue(node)); RefPtr<JSONValue> result; makeCall(function, &result); }
void InjectedScript::inspectNode(Node* node) { ASSERT(!hasNoValue()); ScriptFunctionCall function(m_injectedScriptObject, "inspectNode"); function.appendArgument(nodeAsScriptValue(node)); RefPtr<InspectorValue> result; makeCall(function, &result); }
PassRefPtr<TypeBuilder::Runtime::RemoteObject> InjectedScript::wrapNode(Node* node, const String& groupName) { return wrapObject(nodeAsScriptValue(node), groupName); }
PassRefPtr<InspectorObject> InjectedScript::wrapNode(Node* node, const String& groupName) { return wrapObject(nodeAsScriptValue(node), groupName); }
PassRefPtr<InspectorObject> InjectedScript::wrapNode(Node* node) { return wrapObject(nodeAsScriptValue(node), ""); }