[Homepage Sports Widget] [phase3] Penalty scores missing from live and ended matches
Categories
(Firefox for Android :: Homepage, defect)
Tracking
()
People
(Reporter: vtamas, Assigned: skhan)
References
Details
(Whiteboard: [fxdroid][group3][world-cup-phase2])
Attachments
(3 files, 3 external files, 1 obsolete file)
Steps to reproduce
- Enable "Homepage Sports Widget" feature from Secret Settings.
- Set the device date to any date during the World Championship (starting with 11th of June).
- Start a game from the bracket (mock server) and select it.
- Click the 'Force PK' button (without entering any data).
- Set time to 115 minutes to enter penalties.
- Refresh the Firefox and check the World Cup card.
- Finish the game and check again the score.
Expected behavior
Penalties status/score is successfully displayed for both live and past games.
Actual behavior
"home_penalty" and "away_penalty" values are not displayed in the World Cup card.
Device information
- Firefox version: Firefox for Android Nightly 153 (2026-06-02)
- Android device model: Samsung S24 Ultra (Android 16)
| Reporter | ||
Comment 1•5 months ago
|
||
Two gaps left penalty results invisible:
Mapping: MatchesResponseMapper detected a shootout by matching the period
string exactly against "FT(P)" / "P", but the feed marks a live shootout with
"PEN" and, once the match is final, flips the period back to "FT" and carries
the result only in home_penalty / away_penalty. Detect either a penalty period
(case-insensitive "pen" substring) or populated penalty fields -- the feed only
fills those on a shootout. Penalties are never inferred from a level regulation
score.
Rendering: the compact related-match row read only home_score / away_score and
suffixed plain Final, so a FinalAfterPenalties match showed just "2 - 2" with no
shootout score. Render it as "2(3) - 2(5)" -- the regulation score with the
shootout score in parentheses per team -- for both live Penalties and finished
FinalAfterPenalties, with "-" for a missing side. The row content description
picks it up for TalkBack.
Updates the mapper tests to the real "PEN" marker plus the finished-on-FT
fallback, and adds a related-row preview for the penalty format.
Updated•5 months ago
|
Two gaps left penalty results invisible:
Mapping: MatchesResponseMapper detected a shootout by matching the period
string exactly against "FT(P)" / "P", but the feed marks a live shootout with
"PEN" and, once the match is final, flips the period back to "FT" and carries
the result only in home_penalty / away_penalty. Detect either a penalty period
(case-insensitive "pen" substring) or populated penalty fields -- the feed only
fills those on a shootout. Penalties are never inferred from a level regulation
score.
Rendering: the compact related-match row read only home_score / away_score and
suffixed plain Final, so a FinalAfterPenalties match showed just "2 - 2" with no
shootout score. Render it as "2 - 2 · Penalties (3-5)" -- the regulation score
followed by the shootout score -- for both live Penalties and finished
FinalAfterPenalties, reusing the existing "Penalties" label.
Accessibility: the penalty row's content description mirrors the featured match
card, announcing each score next to its team ("France 2 South Africa 2") rather
than the visual "2 - 2" dash form, then the shootout result.
Updates the mapper tests to the real "PEN" marker plus the finished-on-FT
fallback, and adds a related-row preview for the penalty format.
Updated•5 months ago
|
Updated•5 months ago
|
Comment 5•5 months ago
|
||
| bugherder | ||
Two gaps left penalty results invisible:
Mapping: MatchesResponseMapper detected a shootout by matching the period
string exactly against "FT(P)" / "P", but the feed marks a live shootout with
"PEN" and, once the match is final, flips the period back to "FT" and carries
the result only in home_penalty / away_penalty. Detect either a penalty period
(case-insensitive "pen" substring) or populated penalty fields -- the feed only
fills those on a shootout. Penalties are never inferred from a level regulation
score.
Rendering: the compact related-match row read only home_score / away_score and
suffixed plain Final, so a FinalAfterPenalties match showed just "2 - 2" with no
shootout score. Render it as "2 - 2 · Penalties (3-5)" -- the regulation score
followed by the shootout score -- for both live Penalties and finished
FinalAfterPenalties, reusing the existing "Penalties" label.
Accessibility: the penalty row's content description mirrors the featured match
card, announcing each score next to its team ("France 2 South Africa 2") rather
than the visual "2 - 2" dash form, then the shootout result.
Updates the mapper tests to the real "PEN" marker plus the finished-on-FT
fallback, and adds a related-row preview for the penalty format.
Original Revision: https://phabricator.services.mozilla.com/D304509
Updated•5 months ago
|
Two gaps left penalty results invisible:
Mapping: MatchesResponseMapper detected a shootout by matching the period
string exactly against "FT(P)" / "P", but the feed marks a live shootout with
"PEN" and, once the match is final, flips the period back to "FT" and carries
the result only in home_penalty / away_penalty. Detect either a penalty period
(case-insensitive "pen" substring) or populated penalty fields -- the feed only
fills those on a shootout. Penalties are never inferred from a level regulation
score.
Rendering: the compact related-match row read only home_score / away_score and
suffixed plain Final, so a FinalAfterPenalties match showed just "2 - 2" with no
shootout score. Render it as "2 - 2 · Penalties (3-5)" -- the regulation score
followed by the shootout score -- for both live Penalties and finished
FinalAfterPenalties, reusing the existing "Penalties" label.
Accessibility: the penalty row's content description mirrors the featured match
card, announcing each score next to its team ("France 2 South Africa 2") rather
than the visual "2 - 2" dash form, then the shootout result.
Updates the mapper tests to the real "PEN" marker plus the finished-on-FT
fallback, and adds a related-row preview for the penalty format.
Original Revision: https://phabricator.services.mozilla.com/D304509
Updated•5 months ago
|
Updated•5 months ago
|
Updated•5 months ago
|
Updated•5 months ago
|
Updated•5 months ago
|
Updated•5 months ago
|
| Reporter | ||
Comment 10•5 months ago
|
||
This issue is verified as fixed on Firefox for Android Nightly 153 (2026-06-07) and Firefox 152 beta 8 on Samsung S24 ultra (Android 16) and Google Pixel 10 pro (Android 16).
| Reporter | ||
Updated•5 months ago
|
| Reporter | ||
Comment 11•5 months ago
|
||
This issue is verified as fixed on Firefox for Android 151.0.4 under Oppo find X3 Neo (Android 11).
Description
•