Avoid throwing for `cd(crossOriginWindow)` (related to issue 7597)
Unwrap objects in console.dir and console.table (related to issue 7597)