Issue metadata
Sign in to add a comment
|
Introduce warning option when tag is not defined
Reported by
christia...@googlemail.com,
Oct 26
|
||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Safari/605.1.15 Steps to reproduce the problem: 1. Create an html page 2. In the body reference some tag/element that is not defined 3. There is no error, warning whatsoever What is the expected behavior? I would love if there was the option for Chrome Dev Tools to emit a warning when a tag is not recognized as I think this would be super helpful especially in the context of web components. What went wrong? I recently worked on a page with lots of web components and did not notice that the tag name that I used in my html was different from what I had used in window.customElements.define. The tag was visible in the elements panel, no warning was given, I could also select it, but only after half an hour I realized that it not have a shadow root, so began investigating in that direction. I think it would be a nice addition in such cases to display a warning or info to the user of Chrome Dev Tools in the console. Did this work before? N/A Chrome version: 70.0.3538.77 Channel: stable OS Version: OS X 10.14 Flash Version:
,
Oct 26
|
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by christia...@googlemail.com
, Oct 26