- From: smaug---- <notifications@github.com>
- Date: Fri, 01 Apr 2016 05:51:05 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Friday, 1 April 2016 12:51:31 UTC
The outer world shouldn't know there is a shadow script being executed so document.currentScript should never point to a shadow <script>. And the events should be scoped. Otherwise we just leak everything about shadow dom to the outside world. I don't see any good way to support currentScript for shadow scripts, unless we execute shadow scripts somehow in a special scope where shadowCurrentScript or some such is explicitly exposed. (yet another case where I think XBL2 had things right) --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/477#issuecomment-204387205
Received on Friday, 1 April 2016 12:51:31 UTC