Title: [266071] trunk/Source/WebInspectorUI
Revision
266071
Author
drou...@apple.com
Date
2020-08-24 10:30:29 -0700 (Mon, 24 Aug 2020)

Log Message

Web Inspector: remove legacy code for replacing the Canvas Tab with the Graphics Tab
https://bugs.webkit.org/show_bug.cgi?id=205827

Reviewed by Joseph Pecoraro.

* UserInterface/Base/Main.js:
(WI.loaded):

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (266070 => 266071)


--- trunk/Source/WebInspectorUI/ChangeLog	2020-08-24 17:24:52 UTC (rev 266070)
+++ trunk/Source/WebInspectorUI/ChangeLog	2020-08-24 17:30:29 UTC (rev 266071)
@@ -1,5 +1,15 @@
 2020-08-24  Devin Rousso  <drou...@apple.com>
 
+        Web Inspector: remove legacy code for replacing the Canvas Tab with the Graphics Tab
+        https://bugs.webkit.org/show_bug.cgi?id=205827
+
+        Reviewed by Joseph Pecoraro.
+
+        * UserInterface/Base/Main.js:
+        (WI.loaded):
+
+2020-08-24  Devin Rousso  <drou...@apple.com>
+
         Web Inspector: Elements: Styles: don't show swatches for properties that aren't used/apply
         https://bugs.webkit.org/show_bug.cgi?id=215681
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Base/Main.js (266070 => 266071)


--- trunk/Source/WebInspectorUI/UserInterface/Base/Main.js	2020-08-24 17:24:52 UTC (rev 266070)
+++ trunk/Source/WebInspectorUI/UserInterface/Base/Main.js	2020-08-24 17:30:29 UTC (rev 266071)
@@ -178,13 +178,6 @@
             WI._selectedTabIndexSetting.value = sourcesIndex;
     }
 
-    // FIXME: <https://webkit.org/b/205827> Web Inspector: remove legacy code for replacing the Canvas Tab with the Graphics Tab
-    let canvasIndex = WI._openTabsSetting.value.indexOf("canvas");
-    if (canvasIndex >= 0) {
-        WI._openTabsSetting.value.splice(canvasIndex, 1, WI.GraphicsTabContentView.Type);
-        WI._openTabsSetting.save();
-    }
-
     // State.
     WI.printStylesEnabled = false;
     WI.setZoomFactor(WI.settings.zoomFactor.value);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to