[Webkit-unassigned] [Bug 36949] Web Inspector: remove inspector methods from ScriptExecutionContext and derived classes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 2 08:09:15 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=36949





--- Comment #5 from Yury Semikhatsky <yurys at chromium.org>  2010-04-02 08:09:13 PST ---
(From update of attachment 52411)
>  
> -        scriptExecutionContext()->scriptImported(scriptLoader.identifier(), scriptLoader.script());
>  #if ENABLE(INSPECTOR)
> -        scriptExecutionContext()->addMessage(InspectorControllerDestination, JSMessageSource, LogMessageType, LogMessageLevel, "Worker script imported: \"" + *it + "\".", callerLine, callerURL);
> +        if (InspectorController* inspector = scriptExecutionContext()->inspectorController())
> +            inspector->scriptImported(scriptLoader.identifier(), scriptLoader.script());
>  #endif
Looks like after this change script imports won't be reported to the user
because InspectorController will be 0.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list