Bug#546047: iceweasel: breaks Link Widgets extension (works in other firefoxes)

Shai Berger shai at platonix.com
Tue Jan 5 22:45:58 UTC 2010


Hi,

On Tuesday 05 January 2010, Vincent Lefevre wrote:
> 
> [...] Link Widgets now has tests:
> 
>   info.name == 'Firefox'
> 
> in linkwidget.jar/content/code.js, and after replacing Firefox in
> these tests by Iceweasel, everything works fine. 

I can confirm this, thanks a bunch!

> I reported a bug
> here:
> 
>   https://www.mozdev.org/bugs/show_bug.cgi?id=22205
> 
> but I don't know whether the problem should be fixed in Link Widgets,
> in Iceweasel (shouldn't the internal name still be "Firefox" because
> of such tests, if possible?), or both.
> 

The engine should probably have some API for identifying the mobile UI. At the 
very least, one may try looking for things like status bars or toolbars, which 
Fennec doesn't have, or vice versa, for identification. Relying on the name of 
the app this way is, in my opinion, a Link Widgets bug.

Thanks again,
	Shai.





More information about the pkg-mozilla-maintainers mailing list