Closed Bug 309100 Opened 19 years ago Closed 19 years ago

Firefox 1.5 Beta 1 on Mac does not show in-line SVG. Instead, it asks to either open with other applications or save to disk

Categories

(Core :: SVG, defect)

1.8 Branch
PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: CheongTM, Unassigned)

References

()

Details

(Keywords: regression)

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4

While using Deer Park Alpha 2, I managed to open the URL above.  However, not
all the in-line SVG are shown (Refer to BUG #306671).  Now, with Firefox 1.5
Beta 1, the page does not load at all.  Instead, it asks for another application
or save to disk.

Reproducible: Always

Steps to Reproduce:
1. Point to URL http://learnaholic.sp.edu.sg
2. Click Yes radio button
3. Firefox asks whether to open using another application or save to disk

Actual Results:  
The webpage does not show up.

Expected Results:  
It should show a home page with a few in-line SVG codes
I see the same behavior using Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O;
en-US; rv:1.9a1) Gecko/20050918 Firefox/1.6a1.

http://web-sniffer.net/?url=https%3A%2F%2Flearnaholic.sp.edu.sg%2Findex.php&submit=Submit&http=1.1&gzip=yes&type=GET&ua=Mozilla%2F5.0+%28Macintosh%3B+U%3B+PPC+Mac+OS+X+Mach-O%3B+en-US%3B+rv%3A1.9a1%29+Gecko%2F20050918+Firefox%2F1.6a1+Web-Sniffer%2F1.0.22


According to http://web-sniffer.net/, the page in question has an empty
Content-Type header.  I don't know what Firefox is supposed to do with empty
Content-Type headers, but the site could probably make Firefox do the right
thing by sending a more sane Content-Type, such as application/xhtml+xml.

Since you say this is a regression, I'd want to at least know what change caused
the change in behavior before marking this bug as INVALID.
Keywords: regression
Well, I have only added the detection of platform for Linux and browser for Firefox and Mozilla for 
Linux platform using php_browscap.ini.  I checked through my codes and this should not affect the Mac 
platform codes.
In the link to web-sniffer.net, you have used https://learnaholic.sp.edu.sg as your URL.  Using that will 
bring us to a page where we are asked whether we are using Firefox with SVG-built in.  If you click yes, 
what it does is that it sets a POST to https://learnaholic.sp.edu.sg/index.php with POST data 
svgbuiltin=yes.  So, I think you have to use https://learnaholic.sp.edu.sg/index.php with POST data 
svgbuiltin=yes in web-sniffer.net.  (I don't know how to do this.)
If the header is empty, what can I do to make it contain header type "application/xhtml+xml".  Do it use 
the header () function in php?
thanks.
I have just downloaded the latest Firefox 1.5 Beta for Mac.  Now, the home page
is loaded but only with two of the many in-line SVG codes shown.  Back to the
same problem as #306671.

Keying in https://learnaholic.sp.edu.sg/index.php?svgbuiltin=yes for POST, or 
http://web-sniffer.net/?url=https%3A%2F%2Flearnaholic.sp.edu.sg%2Findex.php%3Fsvgbuiltin%3Dyes&submit=Submit&http=1.1&gzip=yes&type=POST&ua=Mozilla%2F5.0+%28Macintosh%3B+U%3B+PPC+Mac+OS+X+Mach-O%3B+en-US%3B+rv%3A1.8b4%29+Gecko%2F20050908+Firefox%2F1.4+Web-Sniffer%2F1.0.22

I can see that the header now is no longer empty. So, the problem is not on the
header content.
The correct home page is shown using Firefox 1.5 Beta for windows and linux
(though I have not uploaded the codes for Linux yet. I will do it tomorrow.)
I really hope that this problem can be resolved before Firefox 1.5 is rolled out.
thanks.
Assignee: nobody → general
Component: General → SVG
Product: Firefox → Core
QA Contact: general → ian
Version: unspecified → 1.8 Branch
Interestingly, I manage to view http://learnaholic.sp.edu.sg from my home Mac
(with only two SVG shown).  But I can't view the homepage from my work Mac
(prompt for download).
Both are installed with Firefox 1.5 Beta for Mac.
This has the same issue as bug 306671 -- your site is blocking access to debug builds of Gecko, so there's no way to even test this, much less debug it.  Please fix your broken browser-sniffing to actually work if you expect us to be able to do anything about your bug reports.
In this website, I have created a page to check the version of firefox used.  If it is not based on Version 1.8, it will display a page to request to install firefox 1.5.  That is the page that you have seen.  I don't understand why it is not allowing you to pass through.  To focus on the problem, I have created another website to clearly highlight the problem.

http://www.learnaholic.com/misc/svgbug2.xhtml

The problem that I am encountering with SVG is that the text does not shown up in Firefox 1.5 for Mac.  As you can see in the above website, codes with <s:text> element do not show up.  I believe this is a bug in Firefox 1.5 for Mac and Camino 1.0b2.  (This problem does not exist in Firefox 1.5 for Linux.)

Thank you
I have made the website http://learnaholic.sp.edu.sg to be accessible using Deer Park Alpha 2.  It will only show the pre-login page if you have not installed Adobe Reader, Quick Time player or Flash player.  There is a small link that says "Click here to skip plug-ins installation." if you do not want to install these plug-ins.

Using Firefox 1.5, only one of the SVG graphics has text shown.  Using Deer Park Alpha 2, the system shows the all the texts momentarily before the system crashes.

For URL http://www.learnaholic.com/misc/svgbug2.xhtml, Firefox 1.5 does not show any text while Deer Park Alpha 2 shows all the text.  To me, the problem on the text has been solved in Deer Park Alpha 2.  So, the current problem is why the Deer Park Alpha 2 crashes on http://learnaholic.sp.edu.sg.

Thanks and hope that the browser crashes problem can be resolved.
Using the latest nightly build Deer Park Alpha 2 browser (updated on 1/2/2006), the browser can display the home page (http://learnaholic.sp.edu.sg/index.php) successfully.  So, the latest code has solved this problem.
However, another SVG text rendering problem has been discovered.  It is filed under 325447.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
*** Bug 306671 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.