Closed
Bug 875398
Opened 11 years ago
Closed 11 years ago
Defect - Metro firefox Form history auto-complete spews DEPRECATION WARNING messages since the landing of bug 697377
Categories
(Firefox for Metro Graveyard :: Input, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 24
People
(Reporter: jimm, Assigned: jimm)
References
Details
(Whiteboard: feature=defect c=operations u=operations p=3)
Attachments
(2 files, 2 obsolete files)
(deleted),
patch
|
bbondy
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
bbondy
:
review+
|
Details | Diff | Splinter Review |
[JavaScript Error: "DEPRECATION WARNING: nsIFormAutoComplete::autoCompleteSearch is deprecated
You may find more details about this deprecation at: https://bugzilla.mozilla.org/show_bug.cgi?id=697377
file:///T:/Mozilla/MC-REL/dist/bin/components/nsFormAutoComplete.js 119 FormAutoComplete.prototype.autoCompleteSearch
file:///T:/Mozilla/MC-REL/dist/bin/metro/components/FormAutoComplete.js 77 autoCompleteSearch
chrome://browser/content/helperui/FormHelperUI.js 193 _formHelperGetAutocompleteSuggestions
chrome://browser/content/helperui/FormHelperUI.js 175 _formHelperUpdateSuggestionsFor
chrome://browser/content/helperui/FormHelperUI.js 166 _formHelperUpdatePopupsFor
chrome://browser/content/helperui/FormHelperUI.js 75 formHelperShow
chrome://browser/content/helperui/FormHelperUI.js 112 _onShowRequest
chrome://browser/content/helperui/FormHelperUI.js 147 formHelperReceiveMessage
null 0 null
" {file: "resource://gre/modules/Deprecated.jsm" line: 79}]
Assignee | ||
Updated•11 years ago
|
Blocks: metrov1triage
Assignee | ||
Comment 1•11 years ago
|
||
Simple work around until this is fixed is to comment out the offending line of code in toolkit -
http://mxr.mozilla.org/mozilla-central/source/toolkit/components/satchel/nsFormAutoComplete.js#119
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → jmathies
Assignee | ||
Comment 2•11 years ago
|
||
Assignee | ||
Comment 3•11 years ago
|
||
I've pulled the new code from android, which is more up to date. Also, for some reason fennec had a wrapper around the form auto complete service which added special handling for html5 inputs. The android code doesn't use this anymore, so I'm guessing the service has been updated to deal with tese input types. So I've removed the wrapper.
I'm also going to write a few simple tests for this.
Updated•11 years ago
|
QA Contact: jbecerra
Whiteboard: feature=defect c=operations u=operations p=0
Assignee | ||
Updated•11 years ago
|
Whiteboard: feature=defect c=operations u=operations p=0 → feature=defect c=operations u=operations p=3
Updated•11 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 4•11 years ago
|
||
Attachment #753782 -
Attachment is obsolete: true
Assignee | ||
Comment 5•11 years ago
|
||
Comment on attachment 754833 [details] [diff] [review]
auto-complete updates v.1
This patch updates our form auto-complete code so that it matches android's current version. It also removed an old html5 contact info skimmer we don't use.
Attachment #754833 -
Flags: review?(netzen)
Assignee | ||
Comment 6•11 years ago
|
||
Add a really basic form fill test so if this breaks in the future we know about it.
Attachment #754837 -
Flags: review?(netzen)
Comment 7•11 years ago
|
||
Comment on attachment 754833 [details] [diff] [review]
auto-complete updates v.1
Review of attachment 754833 [details] [diff] [review]:
-----------------------------------------------------------------
As per discussion on irc, this changes the behavior of autocomplete so that when you have a partial match and no autococmplete open, a tap or double click does not open autocomplete with the matched entries. I think it should show those entries in that case to be consistent with desktop firefox.
Attachment #754833 -
Flags: review?(netzen) → review-
Comment 8•11 years ago
|
||
By the way if you feel like it, it would also be nice for the autocomplete to come up as you type like it does for Desktop firefox.
Assignee | ||
Comment 9•11 years ago
|
||
This gets both scenarios working. The only change was the removal of the block of android specific code at line 176 of the original patch.
Attachment #754833 -
Attachment is obsolete: true
Attachment #754858 -
Flags: review?(netzen)
Updated•11 years ago
|
Attachment #754858 -
Flags: review?(netzen) → review+
Updated•11 years ago
|
Attachment #754837 -
Flags: review?(netzen) → review+
Assignee | ||
Comment 10•11 years ago
|
||
Comment 11•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/37fdc59d6b60
https://hg.mozilla.org/mozilla-central/rev/cf9769ac5701
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → Firefox 24
Updated•11 years ago
|
Summary: Metro firefox Form history auto-complete spews DEPRECATION WARNING messages since the landing of bug 697377 → Defect - Metro firefox Form history auto-complete spews DEPRECATION WARNING messages since the landing of bug 697377
Updated•10 years ago
|
OS: Windows 8 Metro → Windows 8.1
You need to log in
before you can comment on or make changes to this bug.
Description
•