⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 91348 in webkit


Ignore:
Timestamp:
Jul 20, 2011, 1:59:48 AM (15 years ago)
Author:
yurys@chromium.org
Message:

Web Inspector: don't send Console.enable messages in case of workers
https://bugs.webkit.org/show_bug.cgi?id=64853

Reviewed by Pavel Feldman.

  • inspector/front-end/inspector.js:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r91346 r91348  
     12011-07-20  Yury Semikhatsky  <yurys@chromium.org>
     2
     3        Web Inspector: don't send Console.enable messages in case of workers
     4        https://bugs.webkit.org/show_bug.cgi?id=64853
     5
     6        Reviewed by Pavel Feldman.
     7
     8        * inspector/front-end/inspector.js:
     9
    1102011-07-20  Boris Smus  <smus@chromium.org>
    211
  • trunk/Source/WebCore/inspector/front-end/inspector.js

    r90830 r91348  
    561561    if (WebInspector.settings.monitoringXHREnabled.get())
    562562        ConsoleAgent.setMonitoringXHREnabled(true);
    563     ConsoleAgent.enable(this.console.setConsoleMessageExpiredCount.bind(this.console));
     563
     564    // There is no console agent for workers yet.
     565    if (!WebInspector.WorkerManager.isWorkerFrontend())
     566        ConsoleAgent.enable(this.console.setConsoleMessageExpiredCount.bind(this.console));
    564567
    565568    DatabaseAgent.enable();
Note: See TracChangeset for help on using the changeset viewer.