- From: Ryosuke Niwa <notifications@github.com>
- Date: Thu, 10 Sep 2020 22:18:38 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 11 September 2020 05:18:50 UTC
> > Ok, thanks. I've started doing just that, so I'll check back here once I've had a chance. This week is busy, so possibly next week. In the meantime, if anyone sees any obvious (or not so obvious) issues, do let me know. > > I implemented this in Chromium, and added some [WPT tests](https://github.com/web-platform-tests/wpt/pull/25402). As far as I can tell, this works pretty well. The tests should include most of the troublesome code samples from this issue thread, but please let me know if I missed a corner case that should be tested. > > In particular, I think the "intractability" you encountered last time was likely in trying to disallow calls to `attachInternals()` **after** the constructor runs, so that it is only callable from the constructor? This patch/change merely ensures that the constructor is the **first** place that it can be called. That makes sense. We've already added `disableInternals` address the issue of calling `attachInternals` after constructor so restricting it before constructor call would address the access control issue for good. > Based on the above, I'll put together a spec PR. Sound ok? Please do. -- 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/871#issuecomment-690879744
Received on Friday, 11 September 2020 05:18:50 UTC