Revert of Revert of ServiceWorker: throw when close() or terminate() called (patchset #1 of https://codereview.chromium.org/515323002/)

Reason for revert:
The CL reverted by this patchset was not responsible for the breakage. Re-landing.

Original issue's description:
> Revert of ServiceWorker: throw when close() or terminate() called (patchset #3 of https://codereview.chromium.org/505063002/)
> 
> Reason for revert:
> Break compilation on various bots. Maybe Win only.
> 
> Original issue's description:
> > ServiceWorker: throw when close() or terminate() called
> > 
> > Per spec:
> > * ServiceWorker#terminate() should throw InvalidAccessError
> > * ServiceWorkerGlobalScope#close() should throw InvalidAccessError
> > 
> > ... since the behaviors inherited from the base interfaces are not
> > supported.
> > 
> > Spec: slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html
> > 
> > BUG=398318
> > 
> > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181049
> 
> TBR=horo@chromium.org,jsbell@chromium.org
> NOTREECHECKS=true
> NOTRY=true
> BUG=398318
> 
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181050

TBR=horo@chromium.org,mlamouri@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=398318

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

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