Closed
Bug 674464
Opened 14 years ago
Closed 14 years ago
Flag changes to currentEngine and defaultEngine in nsIBrowserSearchService
Categories
(addons.mozilla.org Graveyard :: Developer Pages, defect, P3)
addons.mozilla.org Graveyard
Developer Pages
Tracking
(Not tracked)
RESOLVED
FIXED
Q1 2012
People
(Reporter: kmag, Assigned: basta)
Details
(Whiteboard: [ReviewTeam])
Add-ons are not allowed to change the default or active search engine without user consent, but as doing so can be a significant revenue source, a lot of add-ons try it. As the change is easy to overlook, it would be nice to have it flagged. I'd settle for marking the properties dangerous, though I'd really prefer to only flag assignments (which I don't think we have infrastructure for yet).
Updated•14 years ago
|
Assignee: nobody → mbasta
Component: Admin/Editor Tools → Developer Pages
Priority: -- → P3
QA Contact: admin-tools → developers
Whiteboard: [required amo-editors]
Target Milestone: --- → Q3 2011
| Assignee | ||
Comment 1•14 years ago
|
||
Fortunately, we have the "overwritable" property. I might need to make some tweaks, but it will effectively let the validator generate "Global Overwrite" warnings when currentEngine/defaultEngine are assigned a value. It's not a great solution, but it should at least provide some level of alert.
Updated•14 years ago
|
Target Milestone: Q3 2011 → Q1 2012
| Assignee | ||
Comment 2•14 years ago
|
||
Comment 3•14 years ago
|
||
FWIW, .defaultEngine is readonly, so it can't be usefully set from JS anyways.
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 4•14 years ago
|
||
Reclassifying editor bugs and changing to a new whiteboard flag. Spam, spam, spam, spam...
Whiteboard: [required amo-editors] → [ReviewTeam]
Updated•10 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•