Re: [webcomponents] importNode and adoptNode should throw with passed a ShadowRoot (#125)

Does this necessitate a change in the DOM L4 spec? https://dom.spec.whatwg.org/#dom-document-importnodenode-deep to something along these lines (also adding the caveat for `adoptNode`):


>The *importNode(node, deep)* method must run these steps:

>- If _node_ is a `document` __or `ShadowRoot`__, throw a `NotSupportedError` exception.
>- Return a clone of `node`, with context object and the `clone children flag` set if deep is true.



---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/125#issuecomment-115028176

Received on Wednesday, 24 June 2015 22:20:39 UTC