[w3c/webcomponents] Why can't the registry enumerate the custom elements? (#775)

I am new to web components and trying to get the lay of the land.  Apologies if I have missed a prior discussion of this question.

As someone interested in *userland discoverability* I was surprised to find that the `CustomElementRegistry` is a black box.  There is simply no way to know what is registered.  You must know *a priori* what to look for.

This suffices for programmers, who build everything in advance.  But for a user-focused, dynamic environment it makes custom elements just another invisible thing.

Is this intentional?  If so, I am curious why.

-- 
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/775

Received on Friday, 23 November 2018 19:33:20 UTC