We need to reattach the Inspector when the window of the attached inspector and the inspected view don't match.
<rdar://problem/13605661>
Created attachment 201116 [details] Patch
Comment on attachment 201116 [details] Patch Looks good to me. A WK2 Owner probably needs to make final approval.
The better fix would be to have WKView notify the Inspector code when it moves windows or superviews so the attached Inspector can follow. I'll file that as a follow up since it would be more involved.
Filed that as bug 115833.
Comment on attachment 201116 [details] Patch Joe approved this. I think it is okay as a stopgap and a bug to fix this properly has been filed.
Comment on attachment 201116 [details] Patch Clearing flags on attachment: 201116 Committed r149804: <http://trac.webkit.org/changeset/149804>
All reviewed patches have been landed. Closing bug.