Convert 'document.domain' exceptions to 'es.throwSecurityError()'.

BUG=275282

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

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