Changes DOMExpcetion types for attachShadow() and attachInternals().

They should throw NotSupportedError, not InvalidStateError.

https://dom.spec.whatwg.org/#dom-element-attachshadow
https://html.spec.whatwg.org/multipage/custom-elements.html#dom-attachinternals

Bug: 905922, 963920
Change-Id: Ica8ebee70dd2d69312971e6df1e8ad3b728458df
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1616864
Reviewed-by: Hayato Ito <hayato@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#661271}
6 files changed