New issue
Advanced search Search tips

Issue 899144 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 899143
Owner: ----
Closed: Oct 26
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Introduce warning option when tag is not defined

Reported by christia...@googlemail.com, Oct 26

Issue description

UserAgent: 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:
 
index-chrome.html
323 bytes View Download
For some reason, the issue was created twice: https://bugs.chromium.org/p/chromium/issues/detail?id=899143 Could you please delete one of them?
Mergedinto: 899143
Status: Duplicate (was: Unconfirmed)

Sign in to add a comment