Add HandleScopes and ScriptForbiddenScope::AllowUserAgentScript to private scripts

This is a split CL from https://codereview.chromium.org/394773003/.

- Added HandleScopes because some caller sites don't have HandleScopes.

- Added AllowUserAgentScript because we need to allow script execution to execute private scripts (of course).

BUG=341031

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178896 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Changed directory that BrowserTestPortOverrides looks for test files in. BrowserTestDriver now sends a message to the browser test to quit.


Layout tests cleanly tells the browser test to quit.

BUG=388517

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178897 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix CrossThreadCopier for ThreadableLoaderOptions and ResourceLoaderOptions

When copying ThreadableLoaderOptions and ResourceLoaderOptions by
CrossThreadCopier, make isolatedCopy of AtomicString contained in them and
pass it as String.

BUG=396520

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

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