You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
core/caniuse silently drops the browser-support table when .head dl is missing #5370
If .head dl is absent, the ?. swallows the failure and the module carries on, so the entire caniuse browser-support table is silently dropped. The author gets no warning that the feature they configured produced nothing.
The sibling module handles the same situation correctly. In src/core/implementation-status.js:
if(!headDlElem)return;
That returns early rather than continuing with work that cannot land anywhere.
Worth making caniuse either report the problem via showError/showWarning or return early the way implementation-status does, instead of failing silently.
Noted while upgrading TypeScript, which flagged a related unguarded querySelector result further down the same function. That guard is being fixed separately; this one is the pre-existing case and is not a regression.
Activity
Guard caniuse table rendering against missing .head dl element