Fixing unit tests to handle updated beforeunload semantics,
which was changed due to the blink-sided patch:
https://codereview.chromium.org/31093002/

BUG=286301
TBR=Mike West

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230710 0039d316-1c4b-4281-b951-d872f2087c98
android: Wait for keypress before capturing perf profile

Wait for keypress before capturing perf profile. This lets the user set
the browser to a specific state before starting to profile.

NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230711 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 230710
SVN changes up to revision 230711