Always remove registered handlers for deleted node

When a Node is about to get deleted from the Document, we should always
remove any event handlers it has registered to the EventHandlerRegistry
-- regardless of whether the Node has EventTargetData or not. This is
because native code may register nodes as having handlers without
actually inserting any handlers in in the node's event target data.

BUG=393312,393154
TEST=WebViewTest.DeleteElementWithRegisteredHandler

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178366 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: fix inspector/console/console-viewport-selection.html flakiness

It turns out that flakes happen only in tests that use
ViewportControl.forceScrollItemToBeLast method. This patch starts using
ViewportControl.forceScrollItemToBeFirst instead.

BUG=390204
TBR=vsevik

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178367 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove ActiveDOMObject::{,un}setPendingActivity

Now all invocation of {,un}setPendingActivity is gone!
Removing them from ActiveDOMObject.

The default implementation of hasPendingActivity is still left, as there
are some classes deriving from ActiveDOMObject to receive suspend() and
resume() notifications.

BUG=354845

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178368 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: DataGrid: properly refresh detached nodes.

I've found that requests in network panel are not refreshed,
because detached nodes ignore refresh request.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178369 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Consume registered DevTools shortcuts so that they don't trigger default behavior.

BUG=394313

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178370 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Remote Web Debugging for mobile Chrome M37 doesn't work with desktop Chrome M38

BUG=394587

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178371 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Fix DefaultFocusedViewStack handling for dialogs.

BUG=392793
R=apavlov, dgozman

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178372 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Fix dirty files handling in search across all files.

R=apavlov

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

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