Closed
Bug 640870
Opened 13 years ago
Closed 13 years ago
Form assistant(?): "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMHTMLInputElement.selectionEnd]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://browser/content/forms.js :: _formHelperGetCaretRect"
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: cjones, Assigned: vingtetun)
Details
(Whiteboard: [fennec-checkin-postrc])
Attachments
(1 file)
2.24 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
STR (1) Debug build of fennec on desktop-linux (2) Load http://bugzilla.mozilla.org (3) Click "Log in" link at top of page (4) Click on "Password" field to focus it I see this after clicking on the field ************************************************************ * Call to xpconnect wrapped JSObject produced this error: * [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMHTMLInputElement.selectionEnd]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://browser/content/forms.js :: _formHelperGetCaretRect :: line 546" data: no] ************************************************************ If I try to enter text after that, I see the same exception on every character I type. Doesn't seem to happen on other input fields on the page. Clicking on the password field a second time brings up form assistant.
Updated•13 years ago
|
Assignee: nobody → 21
tracking-fennec: --- → ?
Comment 1•13 years ago
|
||
I can reproduce this. It might have something to do with the fact that the fields are hidden at first? But then why does the username field work fine?
Comment 2•13 years ago
|
||
Not blocking since this seems limited in scope and clicking again does get things to work.
tracking-fennec: ? → ---
Assignee | ||
Comment 3•13 years ago
|
||
The patch does not make the form assistant works for this case but does prevent the error. In fact the bugzilla code needs an update and should use the HTML5 placeholder instead of doing its own shit in https://bugzilla.mozilla.org/js/global.js
Attachment #518713 -
Flags: review?(mark.finkle)
Updated•13 years ago
|
Attachment #518713 -
Flags: review?(mark.finkle) → review+
Updated•13 years ago
|
Whiteboard: [fennec-checkin-postrc]
Assignee | ||
Comment 4•13 years ago
|
||
http://hg.mozilla.org/mobile-browser/rev/0e6df627a48e
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 5•13 years ago
|
||
Verified fixed on: Mozilla/5.0 (Android;Linux armv7l;rv:9.0a1)Gecko/20110905 Firefox/9.0a1 Fennec/9.0a1 Device: Samsung Galaxy S OS: Android 2.2
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•