void InspectorFrontend::parsedScriptSource(const JSC::SourceCode& source)
{
    OwnPtr<ScriptFunctionCall> function(newFunctionCall("parsedScriptSource"));
    function->appendArgument(JSC::UString(JSC::UString::from(source.provider()->asID())));
    function->appendArgument(source.provider()->url());
    function->appendArgument(JSC::UString(source.data(), source.length()));
    function->appendArgument(source.firstLine());
    function->call();
}
void InspectorFrontend::failedToParseScriptSource(const JSC::SourceCode& source, int errorLine, const JSC::UString& errorMessage)
{
    OwnPtr<ScriptFunctionCall> function(newFunctionCall("failedToParseScriptSource"));
    function->appendArgument(source.provider()->url());
    function->appendArgument(JSC::UString(source.data(), source.length()));
    function->appendArgument(source.firstLine());
    function->appendArgument(errorLine);
    function->appendArgument(errorMessage);
    function->call();
}
void InspectorFrontend::parsedScriptSource(const JSC::SourceCode& source)
{
    ScriptFunctionCall function(m_scriptState, m_webInspector, "dispatch"); 
    function.appendArgument("parsedScriptSource");
    function.appendArgument(JSC::UString(JSC::UString::from(source.provider()->asID())));
    function.appendArgument(source.provider()->url());
    function.appendArgument(JSC::UString(source.data(), source.length()));
    function.appendArgument(source.firstLine());
    function.call();
}
void InspectorFrontend::failedToParseScriptSource(const JSC::SourceCode& source, int errorLine, const JSC::UString& errorMessage)
{
    ScriptFunctionCall function(m_scriptState, m_webInspector, "dispatch"); 
    function.appendArgument("failedToParseScriptSource");
    function.appendArgument(source.provider()->url());
    function.appendArgument(JSC::UString(source.data(), source.length()));
    function.appendArgument(source.firstLine());
    function.appendArgument(errorLine);
    function.appendArgument(errorMessage);
    function.call();
}