iframe onLoad method not invoked when receiving pdf file as stream

RESOLVED INCOMPLETE

Status

()

RESOLVED INCOMPLETE
13 years ago
9 years ago

People

(Reporter: polacofede, Unassigned)

Tracking

1.5.0.x Branch
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

13 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; es-AR; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-AR; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4

the onload method of an iframe is not invoked when i change the href to address a url that returns me a dinamically generated pdf. The pdf plugin opens and shows the file correctly but the method onLoad is not invoqued.
That problem doesn´t happens if i recieve a text file as stream I mean the text is displayed and the onLoad methos is invoked.
There is some workaround to retrieve when the streamed pdf has finished loading?

Reproducible: Always

Steps to Reproduce:
1.change the iframe href with javascript: frames[ frameName ].location.href= anURL
2.the URL must return a dinamically generated pdf.
Actual Results:  
Firefox opened the acrobat plug in inside the iframe and showed the streamed pdf file correctly but didn´t invoked the onLoad method of the iframe

Expected Results:  
i expected that the onload method of the iframe was invoked too, as happens when recieving streamed normal textfiles.

Comment 1

13 years ago
i doubt there is a way to do that.

the behaviour you're experiencing can't be called a bug.

pdf's arent rendered by firefox but by a plugin (adobe reader for example but could be anything else). opposed to opening a plain textfile which is nothing else than a markupless html file rendered with some kind of default stylesheet.

to make FF aware of the finished pdf you would need to get that info from the corresponding plugin.
Severity: major → normal

Comment 2

13 years ago
What about when you don't have a PDF browser plugin?  Doesn't the browser then need to pass the cached PDF file to the external PDF viewer (official Adobe viewer, Foxit Reader, Xpdf, etc.)?

If the browser must cache it completely first, then maybe you've got an opening to invoke something, and then pass the cached file to the external viewer or then to a plugin.
Version: unspecified → 1.5.0.x Branch
This bug was reported on Firefox 2.x or older, which is no longer supported and will not be receiving any more updates. I strongly suggest that you update to Firefox 3.6.3 or later, update your plugins (flash, adobe, etc.), and retest in a new profile. If you still see the issue with the updated Firefox, please post here. Otherwise, please close as RESOLVED > WORKSFORME
http://www.mozilla.com
http://support.mozilla.com/kb/Managing+profiles
http://support.mozilla.com/kb/Safe+mode
No reply, INCOMPLETE. Please retest with Firefox 3.6.x or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.