There is no Elements panel in case of worker inspector, so Scripts panel should be shown by default.
Created attachment 101859 [details] Patch
Comment on attachment 101859 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=101859&action=review > Source/WebCore/inspector/front-end/inspector.js:1029 > +WebInspector._defaultPanelName = function() I think we should stop defining functions on WebInspector.
Created attachment 101861 [details] Patch
Committed r91661: <http://trac.webkit.org/changeset/91661>