.
Created attachment 374079 [details] Patch
We've done this in the past, it is a horrible user experience. People ended up closing tabs and never realizing where they went or how to get them back. I suggest we don't do it. Rarely do Web Inspector users want to close tabs relative to closing the window. Probably only the Search tab which could be handled in different ways.