Issue metadata
Sign in to add a comment
|
document.registerElement should have deprecation warning in console |
||||||||||||||||||||||||
Issue descriptionVersion: 54 OS: all Now that CE v1 is in stable, we should be logging a deprecation warning in the console for document.registerElement() usage and point people to the V1 API.
,
Oct 25 2016
Here's the game plan: - Launch customized built-in elements, Issue 652579 - Make document.register print a deprecation message - When this use counter is low enough, remove document.register <https://www.chromestatus.com/metrics/feature/timeline/popularity/457> We can't add a deprecation message yet because there's no path forward for people using "is" but there should be soon. Some people have expressed discomfort with deprecation messages if we're not on a clear path to removal. This is fuzzier but I think document.register use has peaked and will only decline further now that customElements.define has reached stable.
,
Oct 25 2016
Sounds like a plan to me! I also think once Polymer 2 is solidified and in the wild, devs will quickly be brought over to using CE v1.
,
Oct 31 2016
,
Oct 31 2016
,
Aug 22 2017
Bulk disowning per sshruthi's email about bug triage best practices.
,
May 31 2018
Let me merge this to deprecating CEv0. As is often pointed out by API owners, unless the usage is quite low, devs will learn *ignoring* deprecation message. |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by hayato@chromium.org
, Oct 24 2016