Move DEFINE_TYPE_CASTS from Node.h to Assertions.h

As mentioned in FIXME, DEFINE_TYPE_CASTS needs to find proper place.

BUG=N/A

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159753 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Provide a white list to prevent the WebSocket handshake fail.

The spec says that the Sec-WebSocket-Protocol header in a handshake
response can't be null if the header in a request is not null.
Some servers are not accustomed to the fail,
so we provide an adhoc white-list for it tentatively.

BUG=304319
R=tyoshino

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159754 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Fix an exception in the frontend

TBR=pfeldman
BUG=None

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

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