The reason is that we unconditionally clear TabbedEditorContainer's _currentFile field when tab is closed. Patch to follow.
Created attachment 158554 [details] Patch
Comment on attachment 158554 [details] Patch Attachment 158554 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/13501647 New failing tests: inspector/debugger/scripts-panel.html
Created attachment 158560 [details] Archive of layout-test-results from gce-cr-linux-06 The attached test failures were seen while running run-webkit-tests on the chromium-ews. Bot: gce-cr-linux-06 Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'> Platform: Linux-2.6.39-gcg-201203291735-x86_64-with-Ubuntu-10.04-lucid
Committed r125672: <http://trac.webkit.org/changeset/125672>