bug 808370: working console.dir(). landed bug 787985.