A password characters are displayed in Print Preview and also printed
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| relnote-firefox | --- | 150+ |
| firefox-esr115 | --- | unaffected |
| firefox-esr140 | --- | unaffected |
| firefox150 | + | verified |
| firefox151 | + | verified |
| firefox152 | + | verified |
People
(Reporter: msmucr, Assigned: emilio)
References
(Regression)
Details
(4 keywords, Whiteboard: [adv-main150.0.3-])
Attachments
(4 files)
|
44.52 KB,
image/png
|
Details | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-release+
|
Details | Review |
Steps to reproduce:
Take any form with password input, for example:
<html>
<h1>Welcome</h1>
<form>
<div>
<label>User:</label>
<input id="username" type="text">
</div>
<div>
<label>Password:</label>
<input id="password" type="password">
</div>
<div>
<input id="submit" type="button" value="Log In">
</div>
</form>
</html>
Actual results:
Plain characters are displayed in Print preview dialog (a pic is attached) and printed.
The issue happens with current Firefox 150.0.1, Nightly 152.0a1 (2026-05-07) on Mac, Linux and Windows. The ESR version 140.10.0 seems fine.
The original report of the problem:
https://www.deskmodder.de/phpBB3/viewtopic.php?t=34293
Expected results:
Characters should be normally masked by dots like on main page view.
Comment 1•4 months ago
•
|
||
Regression window:
https://hg-edge.mozilla.org/integration/autoland/pushloghtml?fromchange=e835d0f9fea4b05436e5f3be55c9c4e31a82f377&tochange=a810895a0020d2d6be3ccf63452b8808a0d020a4
Comment 2•4 months ago
|
||
[Tracking Requested - why for this release]:There is a risk that passwords could be leaked unintentionally
Updated•4 months ago
|
| Assignee | ||
Updated•4 months ago
|
| Assignee | ||
Comment 3•4 months ago
|
||
Could restrict it to static clones but doesn't seem worth it.
Updated•4 months ago
|
Updated•4 months ago
|
Updated•4 months ago
|
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/59731 for changes under testing/web-platform/tests
Upstream PR merged by moz-wptsync-bot
Comment 9•4 months ago
|
||
The patch landed in nightly and beta is affected.
:emilio, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- See https://wiki.mozilla.org/Release_Management/Requesting_an_Uplift for documentation on how to request an uplift.
- If no, please set
status-firefox151towontfix.
For more information, please visit BugBot documentation.
Comment 10•4 months ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined/Reason for urgency: One-liner regression fix
- Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: yes
- Steps to reproduce for manual QE testing: comment 0
- Risk associated with taking this patch: low
- Explanation of risk level: targetted fix to a flag that's only set by editor
- String changes made/needed?: none
- Is Android affected?: yes
| Assignee | ||
Comment 11•4 months ago
|
||
Could restrict it to static clones but doesn't seem worth it.
Original Revision: https://phabricator.services.mozilla.com/D299083
Comment 12•4 months ago
|
||
firefox-release Uplift Approval Request
- User impact if declined/Reason for urgency: One-liner regression fix
- Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: yes
- Steps to reproduce for manual QE testing: comment 0
- Risk associated with taking this patch: low
- Explanation of risk level: targetted fix to a flag that's only set by editor
- String changes made/needed?: none
- Is Android affected?: yes
| Assignee | ||
Comment 13•4 months ago
|
||
Could restrict it to static clones but doesn't seem worth it.
Original Revision: https://phabricator.services.mozilla.com/D299083
| Assignee | ||
Updated•4 months ago
|
| Reporter | ||
Comment 14•4 months ago
|
||
Thank you for the prompt flag fix. Just successfully tested in the recent Nightly.
Updated•4 months ago
|
Updated•4 months ago
|
Comment 15•4 months ago
|
||
| uplift | ||
Updated•4 months ago
|
Updated•4 months ago
|
Comment 16•4 months ago
|
||
| 150.0.3 uplift | ||
Updated•4 months ago
|
Updated•4 months ago
|
Updated•4 months ago
|
Updated•4 months ago
|
Comment 17•4 months ago
|
||
I was able to reproduce the issue on Win11x64 using FF build 152.0a1(20260507083759) and the html from description.
Verified as fixed on Win11x64/Mac15.5/Ubuntu24.04 using FF builds 152.0a1(20260511160144), 151.0b9(20260511090442) and 150.0.3(20260511200624).
Description
•