Open Bug 1848018 Opened 2 years ago Updated 3 months ago

Add tests for MozLitElement

Categories

(Toolkit :: UI Widgets, task)

task

Tracking

()

People

(Reporter: hjones, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [recomp])

MozLitElement is starting to be used in different surfaces throughout mozilla-central. Since more and more of the app is starting to depend on some of the functionality it provides we should probably put some tests in place to guard against accidental changes/breakages + provide an additional layer of documentation.

Whiteboard: [fidefe-reusable-components] → [recomp]

Is this now a dupe of Bug 1901336 since that bug added the test_moz_lit_element.html file?

Flags: needinfo?(hjones)

We now have good coverage for the Fluent stuff the class is doing and for the mapped attributes, so we can maybe make the scope of this bug a bit more specific. Looking at what MozLitElement provides (documented here) I feel like it would still be worth adding tests for @query and @queryAll and maybe dispatchOnUpdateComplete as well.

Flags: needinfo?(hjones)
You need to log in before you can comment on or make changes to this bug.