Map all ContextDestroyed custom element exceptions to InvalidStateError.
For the exceptions that document.registerElement() may throw due to the
context having gone away, map them all to InvalidStateError.
Specifically, map ContextDestroyedRegisteringDefinition to InvalidStateError
rather than NotSupportedError.
R=haraken@chromium.org,ager@chromium.org,dominicc@chromium.org
BUG=
Review URL: https://codereview.chromium.org/375343003
git-svn-id: svn://svn.chromium.org/blink/trunk@177907 bbb929c8-8fbe-4397-9dbb-9b2b20218538
4 files changed