[whatwg/dom] Use "NotSupportedError" when trying to attachShadow() twice (#761)

Discussed in #760. This makes the various cases less distinguishable,
which is desirable. With this change, all three cases behave the same
between:

- A custom element with disabled-shadow
- A custom element with a shadow tree
- A built-in element on the blocklist
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/dom/pull/761

-- Commit Summary --

  * Use "NotSupportedError" when trying to attachShadow() twice

-- File Changes --

    M dom.bs (2)

-- Patch Links --

https://github.com/whatwg/dom/pull/761.patch
https://github.com/whatwg/dom/pull/761.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/761

Received on Wednesday, 15 May 2019 18:44:06 UTC