Title: [223948] trunk/Source/WebInspectorUI
Revision
223948
Author
[email protected]
Date
2017-10-24 22:37:47 -0700 (Tue, 24 Oct 2017)

Log 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 <[email protected]> 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.

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (223947 => 223948)


--- trunk/Source/WebInspectorUI/ChangeLog	2017-10-25 01:35:45 UTC (rev 223947)
+++ trunk/Source/WebInspectorUI/ChangeLog	2017-10-25 05:37:47 UTC (rev 223948)
@@ -1,5 +1,20 @@
 2017-10-24  Joseph Pecoraro  <[email protected]>
 
+        REGRESSION(r222181): Web Inspector: Augmenting Agents Domains are not getting activated
+        https://bugs.webkit.org/show_bug.cgi?id=178768
+        <rdar://problem/35081334>
+
+        Reviewed by Brian Burg.
+
+        * UserInterface/Base/Main.js:
+        Simplify event dispatch.
+
+        * UserInterface/Controllers/AppController.js:
+        (WI.AppController.prototype.activateExtraDomains):
+        Pass the domains on.
+
+2017-10-24  Joseph Pecoraro  <[email protected]>
+
         Web Inspector: Console Drawer resizing doesn't match cursor position
         https://bugs.webkit.org/show_bug.cgi?id=178753
         <rdar://problem/35160484>

Modified: trunk/Source/WebInspectorUI/UserInterface/Base/Main.js (223947 => 223948)


--- trunk/Source/WebInspectorUI/UserInterface/Base/Main.js	2017-10-25 01:35:45 UTC (rev 223947)
+++ trunk/Source/WebInspectorUI/UserInterface/Base/Main.js	2017-10-25 05:37:47 UTC (rev 223948)
@@ -695,7 +695,7 @@
 
 WI.activateExtraDomains = function(domains)
 {
-    this.notifications.dispatchEventToListeners(WI.Notification.ExtraDomainsActivated, {"domains": domains});
+    this.notifications.dispatchEventToListeners(WI.Notification.ExtraDomainsActivated, {domains});
 
     WI.CSSCompletions.requestCSSCompletions();
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Controllers/AppController.js (223947 => 223948)


--- trunk/Source/WebInspectorUI/UserInterface/Controllers/AppController.js	2017-10-25 01:35:45 UTC (rev 223947)
+++ trunk/Source/WebInspectorUI/UserInterface/Controllers/AppController.js	2017-10-25 05:37:47 UTC (rev 223948)
@@ -54,6 +54,6 @@
         }
 
         // FIXME: all code within WI.activateExtraDomains should be distributed elsewhere.
-        WI.activateExtraDomains();
+        WI.activateExtraDomains(domains);
     }
 };
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to