Set <dialog> width and height to 'fit-content'.

As per the spec: http://html5.org/r/8151

BUG=140205
TBR=tkent

Review URL: https://chromiumcodereview.appspot.com/23060031

git-svn-id: svn://svn.chromium.org/blink/trunk@156704 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Check WebSocket close code sent on unload

CL http://crrev.com/23201008 introduced sending the close code to the server on page navigation or page close with 
active WebSocket.
This CL modifies the test cases to verify the close code sent by the server is 1001.

BUG=276107
R=tyoshino

Review URL: https://chromiumcodereview.appspot.com/23069004

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