Closed Bug 824475 Opened 12 years ago Closed 12 years ago

Regression: Unable to invoke a context-menu on input fields and text-selection

Categories

(Firefox for Android Graveyard :: Text Selection, defect)

20 Branch
ARM
Android
defect
Not set
normal

Tracking

(firefox20 verified, fennec20+)

VERIFIED FIXED
Firefox 20
Tracking Status
firefox20 --- verified
fennec 20+ ---

People

(Reporter: ravicious, Assigned: wesj)

References

()

Details

(Keywords: regression, reproducible, testcase)

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux i686; rv:20.0) Gecko/20121223 Firefox/20.0
Build ID: 20121223030832

Steps to reproduce:

Firefox for Android (Nightly, 20.0a1 2012-12-24)

I tried to paste my login and password from clipboard (I use KeePass) to login form on mobile Facebook page.


Actual results:

The option to paste the text didn't show up.


Expected results:

The option to paste the text should've show up.
OS: Linux → Android
Hardware: x86 → ARM
Confirmed using G2 running Android 2.3.7 and today's nightly.
Status: UNCONFIRMED → NEW
Ever confirmed: true
tracking-fennec: --- → ?
Summary: Can't paste text in login forms → Regression: Unable to invoke a context-menu on input fields
This may be fixed by bug 824516
This has not been fixed yet after landing bug 824516.
Summary: Regression: Unable to invoke a context-menu on input fields → Regression: Unable to invoke a context-menu on input fields and text-selection
This is still broken on input fields and text-selection on Nightly (12/27). This is a loss of basic functionality in the browser.

Can we get a patch here?
There's nothing obvious in the log when this happens. Can we get a regression window? Preferably on inbound.
Assignee: nobody → wjohnston
Attached patch PatchSplinter Review
In this case we walk all the way up the tree to the HTMLElement looking for a title. HTMLElement doesn't have a hasAttribute method and throws.
Attachment #696072 - Flags: review?(bugmail.mozilla)
tracking-fennec: ? → 20+
Comment on attachment 696072 [details] [diff] [review]
Patch

Review of attachment 696072 [details] [diff] [review]:
-----------------------------------------------------------------

You mean you walk all the way up to HTMLDocument? The parent node of the HTMLHtmlElement is the HTMLDocument.
Attachment #696072 - Flags: review?(bugmail.mozilla) → review+
https://hg.mozilla.org/mozilla-central/rev/64aca6053504
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 20
I would expect this fix to be in the Nightly builds already, but I can still repro this bug with Nightly build 2012-12-31.
any particular page. the one in the url works for me as does bugzilla. maybe its hardware dependent or maybe you arent up to date?
(In reply to Wesley Johnston (:wesj) from comment #13)
> any particular page. the one in the url works for me as does bugzilla. maybe
> its hardware dependent or maybe you arent up to date?

Verified fixed in Nightly 20 (2013-01-02).
Status: RESOLVED → VERIFIED
Blocks: 828254
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: