Closed Bug 852239 Opened 11 years ago Closed 8 years ago

When opening an fdf file, firefox goes into an infinite loop of creating new tabs

Categories

(Core Graveyard :: Plug-ins, defect, P3)

19 Branch
x86
Windows XP
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: gerases, Unassigned, NeedInfo)

Details

(Keywords: regression)

Attachments

(2 files)

434 bytes, application/vnd.fdf
Details
12.00 KB, application/pdf
Details
User Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.97 Safari/537.22

Steps to reproduce:

I was trying to open an fdf file from a web server.


Actual results:

Firefox goes into an infinite loop of creating a new tab, reading a local file (I think a copy of the fdf file), opening another new tab, reading the same file, etc. The only solution is to reset the machine.


Expected results:

The pdf file should have been merged with the fdf file. Works in IE and Chrome for what it's worth.
OS: Linux → Windows XP
Do you selected to open the file with firefox.exe in the save as dialog ?
(In reply to Matthias Versen [:Matti] from comment #1)
> Do you selected to open the file with firefox.exe in the save as dialog ?

No, I have a URL that points to a php file that generates an fdf and feeds it back to the browser. When Firefox receives the data back, it starts the sequences I described earlier. Let me know if you need more info.
Also important I think is that Acrobat seems to require to open fdf files in a browser. I.e., if I try to open an fdf file from the drive, it will still open the browser, and then the browser will open an Acrobat window within the browser. When the default browser is set to IE, no problem. When it's set to Firefox, I get the loop.
(In reply to Loic from comment #4)
> Maybe this issue?
> https://support.mozilla.org/en-US/kb/firefox-repeatedly-opens-empty-tabs-or-
> windows

I followed the solution and removed mimeTypes.rdf. Same behavior, only now a dialog pops up asking me if I want to use Adobe Acrobat to open the fdf file.
Can you provide a small test case?
Also do you still have issues using firefox in safemode? Just to rule out add-ons.
https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode
Attached file test fdf file
Attached file test PDF file
I've uploaded a test FDF and PDF file. In the FDF, please change the location of the test.pdf. Then point Firefox to the FDF. Is this good for a test case?
I had exactly comment#4 in mind. You can get this behavior only if you assign Firefox to a content-type that Firefox doesn't support.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Does 167320 explain why it worked in the previous versions without a hitch?
You get this issue because Firefox doesn't know what to do with this content-type.
Can you please tell us which content-type the webserver sends for this file ?
Do you open the fdf file and the Acrobat Reader loads the associated pdf or do you load a pdf file in Acrobat and the plugin loads the fdf ?
Is your bug report about the Acrobat Reader as helper application or as plugin ?
Hmm, the mime type is application/vnd.fdf and that type is listed under Applications and it's set to Adobe Acrobat Reader.

> Do you open the fdf file and the Acrobat Reader loads the associated pdf or do you > load a pdf file in Acrobat and the plugin loads the fdf ?

2 ways it works: 

1. Open in Firefox, load into the Acrobat Reader plugin
2. Open in Acrobat Reader, which causes a browser with the Acrobat plugin to load the PDF + FDF.

It's number 1 that is my concern however.

> Is your bug report about the Acrobat Reader as helper application or as plugin ?

I guess as plugin.
Did you set tools/options/applications/Portable document Format to Acrobat ?
If yes: open about:config, enter pdf in the top search bar and change pdfjs.disabled to true.
Restart Firefox and test again
.
Yes pdf is set to be opened by Adobe Reader. pdfjs.disabled has been set to true -- I do need that option to be false. But not important right now.

Same behavior.
I am in exactly the same situation as the reporter of the bug.  We have a web server application that sends application/vnd.fdf type of stream to Firefox, and Firefox v.19, cannot handle it properly (goes into infinite tab loop).  I have performed all of the above requested actions to no avail. The behavior is clearly a bug that was introduced by v.19 of Firefox. How is this a duplicate?!  It is no duplicate in my opinion, since the MIME type is known and it is present under the Applications tab.  Please, re-open the issue.
Which mime-types are listed under Acrobat in about:plugins and does the mime-type match the one from the server ?
My system is currently without Acrobat for security reasons...
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
application/pdf 	        Acrobat Portable Document Format pdf
application/vnd.adobe.pdfxml 	Adobe PDF in XML Format 	pdfxml
application/vnd.adobe.x-mars 	Adobe PDF in XML Format 	mars
application/vnd.fdf 	        Acrobat Forms Data Format 	fdf
application/vnd.adobe.xfdf 	XML Version of Acrobat Forms Data Format 	xfdf
application/vnd.adobe.xdp+xml 	Acrobat XML Data Package 	xdp
application/vnd.adobe.xfd+xml 	Adobe FormFlow99 Data File 	xfd

vnd.fdf -- yes, it matches.

> My system is currently without Acrobat for security reasons...

Could you run it under a virtual machine? It would be hard to debug otherwise I think.
Component: Untriaged → Plug-ins
Keywords: regression
Product: Firefox → Core
Maybe I'm misreading the bug, but I don't see evidence that this is a regression. If it is in face a regression, can we get a regression range?
Flags: needinfo?(gerases)
Priority: -- → P3
Flags: needinfo?(bugzilla)
Setting the browser to use Acrobat Reader and opening http://mversen.de/mozilla/852239/test.fdf works for me with Firefox20 on Windows7 and Acrobat11
Flags: needinfo?(bugzilla)
sergius, can you reproduce that yourself with the attached test-files... or does this require a certain server-side setup?
Yes, I can reproduce it myself. I'm Windows XP though with Acrobat XI.
Flags: needinfo?(gerases)
(In reply to sergius from comment #9)
> I've uploaded a test FDF and PDF file. In the FDF, please change the
> location of the test.pdf. Then point Firefox to the FDF. Is this good for a
> test case?
Downloaded both files to D:\Documents and Settings\svuser\Desktop\1.
In FDF set the locations of the PDF to https://D:\Documents and Settings\svuser\Desktop\1\test.pdf. Then drag and drop the FDF in Firefox.
Actual result: The current tab freezes. Still able to use other tabs.
Tested on FF 22, Win XP x86.
Sergius, is this the same issue you were talking about earlier ?
Flags: needinfo?(gerases)
Sorry, I've got nothing new about this.

> Actual result: The current tab freezes. Still able to use other tabs.
> Sergius, is this the same issue you were talking about earlier ?

No, no freezing. Please take my original description literally.

Bugzilla keeps sending me emails about putting more info in, but I really don't have anything more to add.
Flags: needinfo?(gerases)
Are my steps to reproduce from comment 23 correct?
Same results to me in nightly 26.0a1 (2013-09-15) win 7
Don't know if they are correct. They may be correct to reproduce that problem but the original problem is different. Please see the description of the problem.
(In reply to sergius from comment #26)
> but the original problem is different. Please see the description of the problem.
Need a way to reproduce the original problem.
Ok, but that's all I the information I can provide. Unfortunately it takes quite a bit to set up and so when I re-try and hear back nothing, I forget everything as far as the details go, and then it takes just as much time to reproduce the problem. Having said that, I'm good to keep at it if I can provide more information. Let me know what you need.
Attachment #726763 - Attachment mime type: application/octet-stream → application/vnd.fdf
sergius, do you have still this issue?
If yes, is it reproducible with a clean profile?
https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles
Flags: needinfo?(gerases)
This bug has been tagged for regression and or closure.
The test fdf file is no longer available.

Considering this and time lapse; I will mark this issue as Resolved-Incomplete. 
If anyone can still reproduce it, feel free to reopen the issue and provide updated steps/links & fdf
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago8 years ago
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: