Drawer can only contain ConsoleView but contains some logic assuming that it can contain other type of views. The code can be simplified.
Created attachment 101875 [details] Patch
Comment on attachment 101875 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=101875&action=review > Source/WebCore/inspector/front-end/Drawer.js:59 > + WebInspector.console.show(); Drawer class should not depend on console object unless they are merged into a single entity.