Title: [268733] trunk/Source/WebInspectorUI
Revision
268733
Author
nvasil...@apple.com
Date
2020-10-20 08:50:04 -0700 (Tue, 20 Oct 2020)

Log Message

REGRESSION(r268691): Web Inspector: WI.Sidebar.Event.CollapsedStateChanged is undefined
https://bugs.webkit.org/show_bug.cgi?id=217939

Reviewed by Brian Burg.

r268691 added an event listener for CollapsedStateChanged, which is undefined.

* UserInterface/Base/Main.js:

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (268732 => 268733)


--- trunk/Source/WebInspectorUI/ChangeLog	2020-10-20 15:48:13 UTC (rev 268732)
+++ trunk/Source/WebInspectorUI/ChangeLog	2020-10-20 15:50:04 UTC (rev 268733)
@@ -1,3 +1,14 @@
+2020-10-20  Nikita Vasilyev  <nvasil...@apple.com>
+
+        REGRESSION(r268691): Web Inspector: WI.Sidebar.Event.CollapsedStateChanged is undefined
+        https://bugs.webkit.org/show_bug.cgi?id=217939
+
+        Reviewed by Brian Burg.
+
+        r268691 added an event listener for CollapsedStateChanged, which is undefined.
+
+        * UserInterface/Base/Main.js:
+
 2020-10-20  Philippe Normand  <pnorm...@igalia.com>
 
         Web Inspector: Add setScreenSizeOverride API to the Page agent

Modified: trunk/Source/WebInspectorUI/UserInterface/Base/Main.js (268732 => 268733)


--- trunk/Source/WebInspectorUI/UserInterface/Base/Main.js	2020-10-20 15:48:13 UTC (rev 268732)
+++ trunk/Source/WebInspectorUI/UserInterface/Base/Main.js	2020-10-20 15:50:04 UTC (rev 268733)
@@ -278,11 +278,11 @@
 
     WI.navigationSidebar = new WI.SingleSidebar(document.getElementById("navigation-sidebar"), WI.Sidebar.Sides.Leading, WI.UIString("Navigation", "Navigation @ Sidebar", "Label for the navigation sidebar."));
     WI.navigationSidebar.addEventListener(WI.Sidebar.Event.WidthDidChange, WI._sidebarWidthDidChange);
-    WI.navigationSidebar.addEventListener(WI.Sidebar.Event.CollapsedStateChanged, WI._sidebarWidthDidChange);
+    WI.navigationSidebar.addEventListener(WI.Sidebar.Event.CollapsedStateDidChange, WI._sidebarWidthDidChange);
 
     WI.detailsSidebar = new WI.MultiSidebar(document.getElementById("details-sidebar"), WI.Sidebar.Sides.Trailing, WI.UIString("Details", "Details @ Sidebar", "Label for the details sidebar."));
     WI.detailsSidebar.addEventListener(WI.Sidebar.Event.WidthDidChange, WI._sidebarWidthDidChange);
-    WI.detailsSidebar.addEventListener(WI.Sidebar.Event.CollapsedStateChanged, WI._sidebarWidthDidChange);
+    WI.detailsSidebar.addEventListener(WI.Sidebar.Event.CollapsedStateDidChange, WI._sidebarWidthDidChange);
     WI.detailsSidebar.addEventListener(WI.MultiSidebar.Event.MultipleSidebarsVisibleChanged, WI._sidebarWidthDidChange);
 
     WI.searchKeyboardShortcut = new WI.KeyboardShortcut(WI.KeyboardShortcut.Modifier.CommandOrControl | WI.KeyboardShortcut.Modifier.Shift, "F", WI._focusSearchField);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to