Mark before-unload-return-bad-value as slow

TBR=alancutter@chromium.org
NOTRY=true
BUG=399419

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179343 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Mark transformed-focused-text-input as flaky mac image

TBR=alancutter@chromium.org
NOTRY=true
BUG=399430

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179344 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Support TypeError and RangeError in private scripts

This is a split from the CL to move ScriptRegexp to Blink-in-JS (See https://codereview.chromium.org/428633008/).

This CL improves PrivateScriptRunner::throwDOMExceptionInPrivateScriptIfNeeded so that it can handle TypeError and RangeError.

BUG=341031
TEST=fast/dom/private_script_unittest.html

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

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