Changeset 223948 in webkit


Ignore:
Timestamp:
Oct 24, 2017 10:37:47 PM (7 years ago)
Author:
commit-queue@webkit.org
Message:

REGRESSION(r222181): Web Inspector: Augmenting Agents Domains are not getting activated
https://bugs.webkit.org/show_bug.cgi?id=178768
<rdar://problem/35081334>

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2017-10-24
Reviewed by Brian Burg.

  • UserInterface/Base/Main.js:

Simplify event dispatch.

  • UserInterface/Controllers/AppController.js:

(WI.AppController.prototype.activateExtraDomains):
Pass the domains on.

Location:
trunk/Source/WebInspectorUI
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r223931 r223948  
     12017-10-24  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        REGRESSION(r222181): Web Inspector: Augmenting Agents Domains are not getting activated
     4        https://bugs.webkit.org/show_bug.cgi?id=178768
     5        <rdar://problem/35081334>
     6
     7        Reviewed by Brian Burg.
     8
     9        * UserInterface/Base/Main.js:
     10        Simplify event dispatch.
     11
     12        * UserInterface/Controllers/AppController.js:
     13        (WI.AppController.prototype.activateExtraDomains):
     14        Pass the domains on.
     15
    1162017-10-24  Joseph Pecoraro  <pecoraro@apple.com>
    217
  • trunk/Source/WebInspectorUI/UserInterface/Base/Main.js

    r223920 r223948  
    696696WI.activateExtraDomains = function(domains)
    697697{
    698     this.notifications.dispatchEventToListeners(WI.Notification.ExtraDomainsActivated, {"domains": domains});
     698    this.notifications.dispatchEventToListeners(WI.Notification.ExtraDomainsActivated, {domains});
    699699
    700700    WI.CSSCompletions.requestCSSCompletions();
  • trunk/Source/WebInspectorUI/UserInterface/Controllers/AppController.js

    r222181 r223948  
    5555
    5656        // FIXME: all code within WI.activateExtraDomains should be distributed elsewhere.
    57         WI.activateExtraDomains();
     57        WI.activateExtraDomains(domains);
    5858    }
    5959};
Note: See TracChangeset for help on using the changeset viewer.