[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[platform-swt-dev] Browser on Linux vs "navigator.product"/"navigator.productSub"
|
- From: "Christopher Deckers" <chrriis@xxxxxxxxx>
- Date: Mon, 12 May 2008 13:11:43 +0200
- Delivered-to: platform-swt-dev@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=yocBr45GHNE+xm63W1a3Pygr+/NMBNkU44sjilQgG0M=; b=ZRzceRc4jUZsPmO7xJYiHqFD8OqKO4CR72hxO2v4AiBZPpXm+QgQXLvwWpGisNzRtdxfZSzEjk8BrvEzuK67wFlIqoTTkRX72J/6QZvvQ5e5eQ9KgzWX+xv0e0nN7kqg/aYuTTbFDzhgFPHMCNBn7jxSzwQSLNefN4msJUkKVRw=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=h7e1PfB8rTVOA6yE+hxBTztUDoDLx6M62oKbGLHNDgdE8g50P8v/EX7vWaa3MhEpMWImz3pnhGLSE/Jln0CL7uOxF4dqty7830IFpjbeRANLXG/8DlkOXvKYoVVKpoK8ZMFY+r2phUfr00HZpzjGGaVBMgKfA4Lnva/BwVdyLZY=
Hi,
I use the SWT Browser to embed the FCKeditor, which is piloted using
Javascript. All worked fine until I tested under Linux where it does
not work.
The root cause is that FCKeditor uses a Javascript compatibility check
that fails under Linux (Ubuntu, Gnome, XULRunner): "navigator.product"
returns an empty String where I think "Gecko" is expected.
The general problem is that many advanced web sites use Javascript and
have such compatibility checks.
Is it expected, or is it a bug? If it is a bug, then I would open a
bug report in Bugzilla.
Note that the complete test in case of FCKeditor for Gecko is:
navigator.product == "Gecko" && navigator.productSub >= 20030210
The online FCKeditor demo page shows the problem: http://www.fckeditor.net/demo
-Christopher