I have to deploy Firefox on several workstations with one site added to the
'Allowed Sites - Popups' list. Is there a way to customize this?
Thanks,
Cyrille
What initially lead me to this train of thought was Ben's suggestion
that the Sherlock parsing code be factored out to facilitate writing
test programs that verify that the parsing is correct, without having to
copy code from the search service. Were the search service to move to
the toolkit, an nsISherlockParser interface could be implemented
alongside it for use in testing tools and other possible applications.
I'd appreciate feedback on whether or not people think the search
service (and a Sherlock parser) would be of value to the toolkit.
Thanks,
Gavin Sharp
> _______________________________________________
> dev-apps-firefox mailing list
> dev-apps...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-apps-firefox
>
I'm generally pretty hesitant these days to advocate putting something
in toolkit because another app "might" want to use it. Without actually
working with another implementor, we end up with an API designed only
for ourselves that becomes more difficult to change later since it's
part of the "toolkit api".
-Ben
I'm generally pretty hesitant these days to advocate putting something
in toolkit because another app "might" want to use it. Without actually
working with another implementor, we end up with an API designed only
for ourselves that becomes more difficult to change later since it's
part of the "toolkit api".
-Ben
Gavin Sharp
I had three questions here, the first is impact on seamonkey, the latter
is impact on thunderbird. And then there's xulrunner and default plugins.
Would seamonkey like to move over to the new search engines, too, and if
so, when?
How much is the increase in download size for thunderbird if we add the
search engine stuff to toolkit is the other question.
If we put search into toolkit, should we put default searchengines in
there, too? It's a bit like the issue with security certificates, if we
consider searching a toolkit feature, what does management of search
mean? (This may be 4.0 material, though.)
Axel
There are a couple of ways to go about this. For a completely automated
install and general customization, see
http://developer.mozilla.org/en/docs/Deploying_Firefox
and follow the link to the Firefox CCK.
Alternatively you can take the manual approach, given that the
information is stored in a file hostperm.1 in the profile. There isn't a
default file in c:\program files\mozilla firefox\defaults\profile, but
if you copy one there it will be used for all new profiles. Doesn't help
for any existing profiles though (eg if anyone has already run Firefox
on any of these workstations).
In general, my guidelines for putting something in the toolkit look
something like this:
1) it doesn't significantly affect FF codesize. For any feature that's going
to be in Firefox anyway this is mostly a non-issue because we can easily
move stuff.
2) It presents *either* a stable API *or* a feature that apps or embedders
need or will definitely use even if it's not frozen.
3) If it doesn't present a frozen API, we should document clearly that it
may change significantly in the future and "use at your own risk".
In this case, I agree with Ben. The search service at this point is pretty
focused on the browser and doesn't provide services that we know are going
to be used by other apps. If other apps *do* want these services, it is
pretty simple to use the code from browser/components without having to
worry about conflicts with other code.
--BDS