Closed
Bug 268370
Opened 20 years ago
Closed 19 years ago
missing argument when failing to add a search engine
Categories
(Firefox :: Search, defect)
Tracking
()
VERIFIED
FIXED
Firefox1.5
People
(Reporter: valentyn+bugzilla+nospam+web, Assigned: Gavin)
References
()
Details
(Keywords: verified1.8.0.5, Whiteboard: not needed for 1.8.1 (see bug 338989))
Attachments
(1 file, 2 obsolete files)
2.28 KB,
patch
|
mconnor
:
review+
dveditz
:
approval1.8.0.5+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041103 Firefox/1.0RC2
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041103 Firefox/1.0RC2
This function seems to miss an argument. When I tried to add a search engine
from a local file (which is, afaics from the source code, illegal), nothing
happens. The Javascript console spews an error: "Not enough arguments
[nslPromptService.alert]"
That is correct, we need an extra argument here.
Reproducible: Always
Steps to Reproduce:
1. add a search engine .src file that is located on the local file system, i.e.
starts with file:///..... instead of http://...../...
Actual Results:
Nothing. However, the Javascript Console showed 2 error messages
Expected Results:
show a dialog that says something like "Could not add this search bar, because
$reason"
Reporter | ||
Comment 1•20 years ago
|
||
I think that actually, the dialog box should tell why the search engine could
not be added. I'm not sure how to do that (should be trivial I think, but I
don't know if it's possible to pick up the Debug results so I didn't try).
Anyway, the attached file makes the dialog box work.
Comment 2•19 years ago
|
||
This is an automated message, with ID "auto-resolve01".
This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.
While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.
If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.
The latest beta releases can be obtained from:
Firefox: http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey: http://www.mozilla.org/projects/seamonkey/
Comment 3•19 years ago
|
||
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → EXPIRED
Assignee | ||
Updated•19 years ago
|
Status: RESOLVED → UNCONFIRMED
OS: Linux → All
Hardware: PC → All
Resolution: EXPIRED → ---
Version: unspecified → Trunk
Assignee | ||
Updated•19 years ago
|
Assignee: p_ch → nobody
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Updated•19 years ago
|
Assignee | ||
Comment 4•19 years ago
|
||
In case this is wanted for the 1.8.0 branch. I don't think alerting here is the right thing to do, I've attached a better general patch in bug 338989.
Assignee: nobody → gavin.sharp
Attachment #165113 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Assignee | ||
Comment 5•19 years ago
|
||
This is as far as I know the only known case of bug 267645, which was recently posted to secunia. May want to take the minimal fix on the 1.8.0 branch.
Updated•19 years ago
|
Flags: blocking1.8.0.5? → blocking1.8.0.5+
Assignee | ||
Updated•19 years ago
|
Attachment #223039 -
Flags: review?(mconnor)
Assignee | ||
Updated•19 years ago
|
Attachment #223039 -
Attachment description: minimal fix → minimal fix (for the 1.8.0 branch)
Assignee | ||
Comment 6•19 years ago
|
||
Fixes bug 267645 comment 2 also.
Attachment #223039 -
Attachment is obsolete: true
Attachment #224811 -
Flags: review?(mconnor)
Attachment #223039 -
Flags: review?(mconnor)
Assignee | ||
Updated•19 years ago
|
Whiteboard: [needs review mconnor]
Updated•19 years ago
|
Attachment #224811 -
Flags: review?(mconnor) → review+
Assignee | ||
Comment 7•19 years ago
|
||
Comment on attachment 224811 [details] [diff] [review]
minimal fix v2 (for the 1.8.0 branch)
This fixes two of the easier-to-hit cases of bug 267645.
Attachment #224811 -
Flags: approval1.8.0.5?
Assignee | ||
Updated•19 years ago
|
Whiteboard: [needs review mconnor]
Comment 8•19 years ago
|
||
Comment on attachment 224811 [details] [diff] [review]
minimal fix v2 (for the 1.8.0 branch)
approved for 1.8.0 branch, a=dveditz for drivers
Attachment #224811 -
Flags: approval1.8.0.5?
Attachment #224811 -
Flags: approval1.8.0.5+
Attachment #224811 -
Flags: approval-branch-1.8.1+
Assignee | ||
Comment 9•19 years ago
|
||
mozilla/browser/components/sidebar/src/nsSidebar.js 1.10.14.2
This patch doesn't need to go in anywhere else, since bug 338989 had a better fix for 1.8 and trunk.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago → 19 years ago
Keywords: fixed1.8.0.5
Resolution: --- → FIXED
Target Milestone: --- → Firefox1.5
Version: 2.0 Branch → 1.5.0.x Branch
Assignee | ||
Updated•19 years ago
|
Attachment #224811 -
Flags: approval-branch-1.8.1+
Comment 10•19 years ago
|
||
Since Product==Firefox bugs don't have appropriate SeaMonkey release flags I filed bug 342205 on the Suite and attached a merged version of attachment 224811 [details] [diff] [review]
Blocks: 342205
Status: RESOLVED → VERIFIED
Comment 11•19 years ago
|
||
Verified FIXED using Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.5) Gecko/20060621 Firefox/1.5.0.5.
No more appdir-exposing adding a search engine fails (because of bad URL, etc.).
Keywords: fixed1.8.0.5 → verified1.8.0.5
Comment 12•19 years ago
|
||
Err... above comment should read "no more appdir-exposing error message when adding a search engine fails".
Updated•19 years ago
|
Flags: blocking-firefox2-
Whiteboard: not needed on 1.8 (see bug 338989)
Updated•19 years ago
|
Whiteboard: not needed on 1.8 (see bug 338989) → not needed for 1.8.1 (see bug 338989)
You need to log in
before you can comment on or make changes to this bug.
Description
•