Bug#600266: iceweasel: Should display documents with type text/x-diff in the browser

Petter Reinholdtsen pere at hungry.com
Fri Oct 15 09:43:04 UTC 2010


Package: iceweasel
Version: 3.0.6-3
Severity: normal

This is a usability issue.  When using Opera and visiting a page like
<URL:http://packages.qa.debian.org/e/etckeeper.html> with links to a
patch file (the ubuntu patch in this case), Iceweasel fail to show the
patch when I click on the link.  Instead it show a popup asking me to
either save the file or pick some application to display it with.
When I do the same with Opera, the browser display the text file, and
I would like Iceweasel to do the same.

The content type of the patch is text/x-diff, as can be seen from this
demonstration:

  % HEAD http://patches.ubuntu.com/e/etckeeper/etckeeper_0.48ubuntu1.patch
  200 OK
  Connection: close
  Date: Fri, 15 Oct 2010 09:36:19 GMT
  Accept-Ranges: bytes
  ETag: "1e5e0e2-2068-48c4d15906e40"
  Server: Apache/2.2.8 (Ubuntu) mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.8 OpenSSL/0.9.8g
  Content-Length: 8296
  Content-Type: text/x-diff
  Last-Modified: Mon, 26 Jul 2010 16:43:29 GMT
  Client-Date: Fri, 15 Oct 2010 09:36:19 GMT
  Client-Peer: 91.189.90.149:80
  Client-Response-Num: 1

Please change Iceweasel to show text/x-diff files inline as a text
file.

I experience this problem with Debian/Lenny, but tested it in Squeeze
with version 3.5.13-1 and the problem still exist there.

-- System Information:
Debian Release: 5.0.6
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=no_NO (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages iceweasel depends on:
ii  debianutils             2.30             Miscellaneous utilities specific t
ii  fontconfig              2.6.0-3          generic font configuration library
ii  libc6                   2.7-18lenny4     GNU C Library: Shared libraries
ii  libgcc1                 1:4.3.2-1.1      GCC support library
ii  libglib2.0-0            2.16.6-3         The GLib library of C routines
ii  libgtk2.0-0             2.12.12-1~lenny2 The GTK+ graphical user interface
ii  libnspr4-0d             4.8-1~bpo50+1    NetScape Portable Runtime Library
ii  libstdc++6              4.3.2-1.1        The GNU Standard C++ Library v3
ii  procps                  1:3.2.7-11       /proc file system utilities
ii  psmisc                  22.6-1           Utilities that use the proc filesy
ii  xulrunner-1.9           1.9.0.19-5       XUL + XPCOM application runner

iceweasel recommends no packages.

Versions of packages iceweasel suggests:
ii  latex-xft-fonts 0.1-8                    Xft-compatible versions of some La
ii  libkrb53        1.6.dfsg.4~beta1-5lenny4 MIT Kerberos runtime libraries
pn  mozplugger      <none>                   (no description available)
pn  ttf-mathematica <none>                   (no description available)
pn  xfonts-mathml   <none>                   (no description available)
pn  xprint          <none>                   (no description available)
pn  xulrunner-1.9-g <none>                   (no description available)

-- no debconf information





More information about the pkg-mozilla-maintainers mailing list