Implement currentDOMWindow() instead of currentDocument()

This is a simple, follow-up cleanup after the world refactoring. After this CL, V8Binding.h provides a good set of APIs as follows:

- toDOMWindow
- enteredDOMWindow
- currentDOMWindow
- callingDOMWindow
- toExecutionContext
- currentExecutionContext
- callingExecutionContext

BUG=341032

Review URL: https://codereview.chromium.org/195943010

git-svn-id: svn://svn.chromium.org/blink/trunk@169230 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Avoid stack overflow by decreasing the height of the trees used in EventsDispatchingInDeeplyNestedShadowTrees.html

I expect that the decreased height of the trees no longer causes a stack overflow.

BUG=352069

Review URL: https://codereview.chromium.org/196793012

git-svn-id: svn://svn.chromium.org/blink/trunk@169231 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Optimize heap snapshot sorting comparator.

Major gains come from:
1. typeof is gone
2. method name lookup is hoisted out of the loop.

R=yurys@chromium.org

Review URL: https://codereview.chromium.org/196023010

git-svn-id: svn://svn.chromium.org/blink/trunk@169232 bbb929c8-8fbe-4397-9dbb-9b2b20218538