Closed
Bug 398238
Opened 17 years ago
Closed 8 years ago
Flash content saves incorrectly when using "Save Page As, Complete"
Categories
(Core Graveyard :: Embedding: APIs, defect)
Core Graveyard
Embedding: APIs
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: stephend, Unassigned)
Details
Attachments
(1 file)
153.46 KB,
image/png
|
Details |
Build ID: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.9a9pre) Gecko/2007100120 Minefield/3.0a9pre
Summary: Flash content saves incorrectly when using "Save Page As, Complete"
Steps to Reproduce:
1. Load http://www.aoltw.com
2. Do a File | Save Page As, Complete
3. Open up the local, saved HTML file
Expected Results:
File, complete with rendered Flash, displays
Actual Results:
Page loads, with content-area for Flash, but it doesn't display
Reporter | ||
Comment 1•17 years ago
|
||
A couple of notes:
1) there are a few 'undefined' spots in the page, likely caused by:
2) Error: myFlashMovie.onUnload is not a function
Source File: file:///Users/stephend/Desktop/Time%20Warner.html
Line: 24
I guess we don't/can't/shouldn't synthesize DOM events, or is this just really a bug?
Updated•17 years ago
|
Component: Download Manager → Embedding: APIs
Product: Firefox → Core
QA Contact: download.manager → apis
Reporter | ||
Updated•17 years ago
|
Flags: blocking1.9?
Comment 2•17 years ago
|
||
I wonder if this is similar to the css background-image/@import issue where there's another level of indirection that Firefox doesn't follow. So in this case, the swf file is looking for a relative path such as "/my/content/here" but because we saved the swf file and it's being loaded from a location it wasn't expecting.
Example: data:text/html,<embed%20src="http://www.timewarner.com/corp/snapshottr.swf"%20height="459"%20width="770"/>
Comment 3•17 years ago
|
||
If that's the case, I don't know how we can do anything about it. This is the same issue <script> has: we can't fix all the URIs in something Turing-complete.
Reporter | ||
Comment 4•17 years ago
|
||
I should have done this before I filed the bug, but I just checked Firefox 2.0.0.7 on Vista, and it behaves in the same way (fails to save the .swf file, and results in undefined being displayed in the page elements).
That said, there is still a bug with relative vs. absolute URIs that Firefox 2.0.0.7 handles in the Save Page As, Complete for which trunk fails. I'll log that shortly.
Reporter | ||
Comment 5•17 years ago
|
||
(In reply to comment #4)
> I should have done this before I filed the bug, but I just checked Firefox
> 2.0.0.7 on Vista, and it behaves in the same way (fails to save the .swf file,
> and results in undefined being displayed in the page elements).
>
> That said, there is still a bug with relative vs. absolute URIs that Firefox
> 2.0.0.7 handles in the Save Page As, Complete for which trunk fails. I'll log
> that shortly.
False alarm; I had actually meant to type "HTML only", and thought that File | Save Page As "HTML only" should also do URI fixup (fixing relatives from remote into their local file:\\\ paths), but I see that's not the case with 2.0.0.7. Sorry! Save Page As "Complete" works fine with today's trunk build on Vista.
Comment 7•17 years ago
|
||
http://www.apple.com/ fails to save correctly, the top menu bars are not correct.
Comment 9•17 years ago
|
||
(In reply to comment #5)
> Sorry! Save Page As "Complete" works fine with today's trunk build on Vista.
Stephen, I just can reproduce it with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008050606 Minefield/3.0pre ID:2008050606
Only the file snapshottr.swf is downloaded from your given URL. It looks like that this file is only the player and wants to fetch the data from a server located movie file. I haven't run a HTTP log until now. But this could be the cause why it's not shown.
(In reply to comment #8)
> http://www.apple.com/ fails to save correctly, the top menu bars are not
> correct.
Josh, do you have a better URL? I cannot find Flash content on the Apple homepage.
OS: Mac OS X → All
Hardware: PC → All
Comment 10•16 years ago
|
||
> 1) there are a few 'undefined' spots in the page, likely caused by:
> 2) Error: myFlashMovie.onUnload is not a function
> Source File: file:///Users/stephend/Desktop/Time%20Warner.html
> Line: 24
>
> I guess we don't/can't/shouldn't synthesize DOM events, or is this just really
> a bug?
Sounds related to bug 308814. I think Flash doesn't do interaction locally for security reasons.
Comment 11•8 years ago
|
||
To tie this up, we are not going to try and make save-complete work with Flash content. Flash content is dying and we'd have to invent a bunch of extra machinery in NPAPI to make this work for relatively little benefit.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Updated•6 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•