Closed Bug 917712 Opened 11 years ago Closed 9 years ago

Firefox should not offer to add invalid search plugins

Categories

(Firefox :: Search, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 351441

People

(Reporter: jr.tt87, Unassigned)

References

()

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; rv:26.0) Gecko/20100101 Firefox/26.0 Build ID:20130917030214 When trying to add youtube.com to search engines Firefox displays an error and the youtube search engine does not appear in the drop down list as a result. Steps to reproduce: 1. Navigate to http://www.youtube.com/ 2. Click the icon from the left within the search toolbar 3. Click Add "Youtube Video Search" Actual Results Firefox displays the following -> Download Error: Nightly could not download the search plugin from: http://www.youtube.com/opensearch?locale=en_US Firefox does not add the "youtube" search engine. Expected Results Firefox should add youtube search engine to the drop down list. I tried the above in a new profile and in safe mode. Also older versions of Firefox seem to have this bug, so a regression window would be great.
There is a extra line before xml-declaration :( > > <?xml version="1.0" encoding="UTF-8"?> > <OpenSearchDescription ...
So TE bug?
Flags: needinfo?(alice0775)
However Firefox also has a bug. ** Firefox should not display menuitem of 'Add "...."', if the xml is invalid.
Flags: needinfo?(alice0775)
Blocks: 335443
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Error when trying to add youtube.com to search engines → Firefox should not display menuitem of 'Add "Invalid Search Plugin"', if the xml is invalid. (Error when trying to add youtube.com to search engines)
Version: 26 Branch → Trunk
I re-opened bug 924108 for the TE issue. The newly-summarized issue requires that we load the plugin before offering it, which is complicated. I'm sure there are other bugs discussing this (related to the name sometimes differing between what's offered in the search dropdown and what ends up installed), but I can't seem to find it at the moment.
Summary: Firefox should not display menuitem of 'Add "Invalid Search Plugin"', if the xml is invalid. (Error when trying to add youtube.com to search engines) → Firefox should not display menuitem of 'Add "Invalid Search Plugin"', if the xml is invalid
found it!
No longer blocks: 335443
Depends on: 351441
Summary: Firefox should not display menuitem of 'Add "Invalid Search Plugin"', if the xml is invalid → Firefox should not offer to add invalid search plugins
OS: Windows 7 → All
Hardware: x86 → All
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.