ouyang789987 / swfobject

Automatically exported from code.google.com/p/swfobject
0 stars 0 forks source link

produces 2 duplicate http requests(for the swf file) in firefox3.5 #413

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. open the test page in Firefox 3.5(for Windows or Linux):
   http://www.bobbyvandersluis.com/swfobject/testsuite_2_2/test.html
2. open firebug, open the "Network" tab
3. Ctrl + F5 to refresh the page
4. firebug will show two http requests for the swf file:
   http://www.bobbyvandersluis.com/swfobject/testsuite_2_2/test6.swf

What is the expected output? What do you see instead?
There should be only one http request for the swf file, there's no such
problem for swfobject1.5.
I see two http request for the swf file instead.

What version of the product are you using? On what operating system?
swfobject2.2, ubuntu 9.10 desktop i386, Firefox 3.5.4

Please provide any additional information below.
I have the screen-snapshot attached.

Original issue reported on code.google.com by xuji...@gmail.com on 4 Dec 2009 at 10:17

Attachments:

GoogleCodeExporter commented 9 years ago
Identical symptoms using Win XP Pro + Firefox 3.5.5 + swfobject.js v 2.2:
Two http requests, and
Browser refreshes / redraws / flickers entire page and a flash of white 
displayed.

swfobject.js v1.5 functions correctly, however my 
"embedded_chromless_youtube.js"
does not function with v 1.5, (only 2.2).

Symptoms also reported here:
http://forums.mozillazine.org/viewtopic.php?f=25&t=931485&sid=fb209a0f84636359cb
0a263b8a792d93&start=15

Original comment by hamish.m...@gmail.com on 14 Dec 2009 at 10:43

GoogleCodeExporter commented 9 years ago
I am having the same problem using Firefox 3.0.17 (w/Firebug) + OS X 10.5.8 +
swfobject 2.2.

Didn't have problem with swfobject 1.5.

Original comment by stormpu...@gmail.com on 12 Feb 2010 at 5:10

GoogleCodeExporter commented 9 years ago
One other comment: the first request is for the full SWF (165K, or 422KB
unencrypted), but in either case the second request gets a response of only 
64K. 
Sometimes the second request gets a 304 Not Modified, other times it gets a 200.

The headline of this Issue should change as this is NOT a FF 3.5 issue (I am 
getting
this with 3.0.17 as well).

Original comment by stormpu...@gmail.com on 12 Feb 2010 at 5:23

GoogleCodeExporter commented 9 years ago
The headline should definitely change, as I can reproduce this behavior not 
only in
Firefox 3.6, but also in Safari 4.0.4 and Opera 10.10 on Mac OS X 10.5.8.

One addition to response behavior:
Sometimes, the first request gets a 206 Partial Content, followed by a 304 Not 
Modified.

Has anybody found a workaround yet?

Original comment by mah...@gmail.com on 8 Mar 2010 at 5:17

GoogleCodeExporter commented 9 years ago
I have the same problem under firefox 3.6.3 and vista first request gets a 200 
Ok the
second one always gets 304 not modified, the apache logs confirmed that.

Original comment by iSofts.c...@gmail.com on 13 Apr 2010 at 10:02

GoogleCodeExporter commented 9 years ago
I am using Firefox 3.6 and also having the same problem. Any idea how to fix it?

Original comment by radoslaw...@gmail.com on 14 Sep 2010 at 10:11

GoogleCodeExporter commented 9 years ago
Same problem here... Firefox 3.6.11 for Mac, SWFObject 2.2.

Original comment by stein.j...@gmail.com on 2 Nov 2010 at 5:17

GoogleCodeExporter commented 9 years ago
See 
http://code.google.com/p/swfobject/wiki/faq#16._Why_does_Firefox_load_my_SWF_twi
ce?

"Firefox 3 has a known issue that sometimes causes a swf to be 'double 
initialized'. The problem appears to be fixed in their codebase, but has not 
been released yet. See the following bugs for more details: bug 438830 and bug 
445599."

"Or, if you have "Disable cache" selected in your Firefox Web Developer Toolbar 
extension a double load will occur."

This is not a SWFObject bug. Closing issue.

Original comment by platelu...@gmail.com on 7 Nov 2010 at 9:26