Closed
Bug 366831
Opened 19 years ago
Closed 8 years ago
In <autocomplete.xml>, "Warning: reference to undefined property Components.classes[contractid]", when starting Browser.
Categories
(SeaMonkey :: Autocomplete, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: sgautherie, Assigned: neil)
References
Details
(Keywords: regression)
Attachments
(1 file)
|
2.39 KB,
patch
|
jag+mozilla
:
review+
jag+mozilla
:
superreview+
|
Details | Diff | Splinter Review |
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a2pre) Gecko/20070111 SeaMonkey/1.5a] (nightly) (W2Ksp4)
{
Warning: reference to undefined property Components.classes[contractid]
Source File: chrome://global/content/autocomplete.xml
Line: 116
}
This line is blamed to
{
1.130 neil%parkwaycc.co.uk 2006-04-12 16:00 Bug 313331 autocomplete file names in xul filepicker r=bz sr=jag
}
| Reporter | ||
Comment 1•19 years ago
|
||
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.9) Gecko/20061211 SeaMonkey/1.0.7] (release) (W2Ksp4)
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.2pre) Gecko/20070112 SeaMonkey/1.1] (nightly) (W2Ksp4)
No bug.
Keywords: regression
| Assignee | ||
Comment 2•19 years ago
|
||
This happens on non-linux builds because they don't have file autocomplete.
jag: There seem to be two approaches
1) add an in check to see if a component exists, and optionally dump a helpful message for any developer trying to use autocomplete with that component
2) add an in check and an instanceof check and remove the try/catch
| Reporter | ||
Updated•19 years ago
|
Assignee: general → nobody
Component: General → XP Apps: Autocomplete
QA Contact: general
Comment 3•19 years ago
|
||
I think I prefer 1. So would there then be two possible messages: "component doesn't exist" and "unable to create component"?
Also (though this probably belongs in a new bug), can we build file autocomplete on Mac so I can type file paths in the location bar and open location dialog?
| Assignee | ||
Comment 4•19 years ago
|
||
(In reply to comment #3)
>Also (though this probably belongs in a new bug), can we build file
>autocomplete on Mac so I can type file paths in the location bar and open
>location dialog?
Tricky; the current file autocomplete is built by the XUL filepicker...
| Assignee | ||
Comment 5•19 years ago
|
||
Attachment #263245 -
Flags: review?(jag)
Comment 6•19 years ago
|
||
Comment on attachment 263245 [details] [diff] [review]
Something like this?
Seems fine to me
Attachment #263245 -
Flags: superreview+
Attachment #263245 -
Flags: review?(jag)
Attachment #263245 -
Flags: review+
| Assignee | ||
Comment 7•19 years ago
|
||
Fix checked in.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 8•19 years ago
|
||
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a5pre) Gecko/20070501 SeaMonkey/1.5a] (nightly) (W2Ksp4)
V.Fixed, as reporter.
Status: RESOLVED → VERIFIED
| Reporter | ||
Updated•14 years ago
|
Assignee: nobody → neil
QA Contact: autocomplete
Pushed by frgrahl@gmx.net:
https://hg.mozilla.org/comm-central/rev/2088c6317f4c
JavaScript strict warning: reference to undefined property r+sr=jag
Status: VERIFIED → RESOLVED
Closed: 19 years ago → 8 years ago
You need to log in
before you can comment on or make changes to this bug.
Description
•