Bug 73411

Summary: Web Inspector: do not report worker-related events unless inspector agent is enabled.
Product: WebKit Reporter: Pavel Feldman <pfeldman>
Component: Web Inspector (Deprecated)Assignee: Pavel Feldman <pfeldman>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch yurys: review+

Description Pavel Feldman 2011-11-30 01:34:57 PST
Backend should not generate messages until the client requests that they are sent.
Comment 1 Pavel Feldman 2011-11-30 01:38:30 PST
Created attachment 117140 [details]
Patch
Comment 2 Yury Semikhatsky 2011-11-30 02:07:14 PST
Comment on attachment 117140 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=117140&action=review

> Source/WebCore/inspector/front-end/WorkerManager.js:248
> +    disconnectedFromWorker: function()

You should rename  DedicatedWorkerMessageForwarder to WorkerMessageHandler as now it handles shared worker messages as well.
Comment 3 Pavel Feldman 2011-11-30 02:14:28 PST
Committed r101469: <http://trac.webkit.org/changeset/101469>