Closed Bug 641217 Opened 15 years ago Closed 15 years ago

Paste / contextmenu does not work in password fields

Categories

(Firefox for Android Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: mbrubeck, Assigned: mbrubeck)

References

Details

(Whiteboard: [has patch])

Attachments

(1 file)

Steps to reproduce: 1. Copy text to the clipboard. 2. Long-tap on an <input type="password"> field in Fennec. Expected results: Context menu with "Paste" option. Actual results: No context menu. Originally reported here: https://support.mozilla.com/en-US/questions/792018
Attached patch patchSplinter Review
This patch will cause the textbox context menu to appear for password fields, but without the "copy" commands. Note: mozIsPassword excludes password fields when the argument is "true." http://mxr.mozilla.org/mozilla-central/source/dom/interfaces/html/nsIDOMHTMLInputElement.idl#128
Attachment #518945 - Flags: review?(mark.finkle)
Attachment #518945 - Flags: approval2.0?
Nominated for blocking because (a) copying passwords from email to the browser was a very common use case given in requests for copy/paste, and (b) the attached patch is straightforward and low-risk. This is also a parity issue.
Whiteboard: [has patch][needs review]
Comment on attachment 518945 [details] [diff] [review] patch Seems low risk and the use case is definitely a good one.
Attachment #518945 - Flags: review?(mark.finkle)
Attachment #518945 - Flags: review+
Attachment #518945 - Flags: approval2.0?
Attachment #518945 - Flags: approval2.0+
Whiteboard: [has patch][needs review] → [has patch]
tracking-fennec: ? → ---
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Depends on: 641578
VERIFIED FIXED on: Build ID: Mozilla /5.0 (Android;Linux armv7l;rv:2.0b13pre) Gecko/20110315 Firefox/4.0b13pre Fennec /4.0b6pre Devices: Motorola Droid 2 (Android 2.2), HTC Desire(Android 2.2), Nokia N900 (Linux Maemo GTK)
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: