Skip to content

Conversation

@hoxyq
Copy link

@hoxyq hoxyq commented Jan 7, 2026

Summary

Temporary mitigation to fix JS error on client side that affects Network and Performance panels. Might not be the desired fix.

Test plan

With these changes, I can see Network and Performance panels rendered.

  • This change maintains backwards compatibility with previous Local Storage data (if modifying settings, experiments, or other persisted client state).

Upstreaming plan

@hoxyq hoxyq requested a review from huntie January 7, 2026 22:37
@meta-cla meta-cla bot added the cla signed label Jan 7, 2026
@hoxyq hoxyq merged commit d65c7f7 into main Jan 7, 2026
4 checks passed
@hoxyq hoxyq deleted the fix-infobar-duplicate branch January 7, 2026 22:40
}

customElements.define('devtools-network-event-coverage-infobar', NetworkEventCoverageInfobar);
if (!customElements.get('devtools-network-event-coverage-infobar')) {
Copy link
Member

@huntie huntie Jan 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Ruslan.

There isn't a single other customElements.get() reference in the codebase, so I'm curious to find out what I was missing from this CDT component pattern. Following up 👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants