Re: [w3c/webcomponents] document.currentScript from a script in a shadow tree. (#477)

What are use cases in which scripts inside a shadow DOM would need to use `document.currentScript`?

Until such use cases are presented, I'd assume such a feature is not needed.  So I support option 3 since adding such a feature retroactively or reverting the behavior back to option 1 is easy while shipping option 1 today and changing it later to option 2 or option 3 would be a backwards incompatible change.

---
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-205144415

Received on Monday, 4 April 2016 05:38:24 UTC