Open Bug 2091555 Opened 5 days ago Updated 5 days ago

Use resolveWidgetEventSource for the Crossword widget's frame events

Categories

(Firefox :: New Tab Page, task)

task

Tracking

()

People

(Reporter: maxx, Unassigned)

References

Details

(Whiteboard: [hnt][hnt-wattle])

Bug 2083870 adds resolveWidgetEventSource(widget) to WidgetsRegistry.mjs. It returns the widget_source for user events sent from a widget's own content: iframe for entries with framed: true, widget otherwise. The Travel widget uses it for the events its frame sends.

Crossword.jsx still hard-codes source: "iframe" for its frame events (puzzle_completed and the allowlisted interactions). It should use resolveWidgetEventSource(CROSSWORD_ENTRY) instead, so every framed widget gets its source from the registry.

Crossword is framed: true, so the recorded value stays iframe and its telemetry does not change

Summary: Use `resolveWidgetEventSource` for the Crossword widget's frame events → Use resolveWidgetEventSource for the Crossword widget's frame events
You need to log in before you can comment on or make changes to this bug.