Reduce work during resizing We don't need to refresh CodeMirror in the ConsolePrompt when it is empty. Nothing changes in the prompt but we are spending a bunch of time there under refresh. CodeMirror has its own resize detection as well.
Created attachment 321606 [details] [PATCH] Proposed Fix
Comment on attachment 321606 [details] [PATCH] Proposed Fix Actually I wonder if we can just remove this.
Created attachment 321609 [details] [PATCH] Proposed Fix The only case where the refresh() mattered was switching tabs (causing sidebars to go away and the console size to change size). For an empty console we shouldn't need to refresh anything.
Comment on attachment 321609 [details] [PATCH] Proposed Fix r=me
Comment on attachment 321609 [details] [PATCH] Proposed Fix Clearing flags on attachment: 321609 Committed r222436: <http://trac.webkit.org/changeset/222436>
All reviewed patches have been landed. Closing bug.
<rdar://problem/34692954>