Wed 03 Feb 2016 02:25:22 PM UTC, original submission:
This is a spin-off from bug #47054 (`getvariable.as` testsuite failure).
I found that when I tried to open `getvariable-v5.swf` test from
Gnash testsuite on a real Flash Player 5, it wouldn't load.
When right-clicked on the screen, context menu shown grayed-out
"Movie not loaded..." status.
Root cause of the issue appeared when I tried to use `file` command
to check if test SWFs were corrupted:
According to Adobe's specification, SWF version 5 does not support compression;
so it simply won't load. Later version of Flash Player e.g. v7, v9, and v11
decompressed the file properly as they have compression support.
Gnash testsuite: 0.8.11dev (git e705394 29-Jan-2016)
Flash Player: 5.0 r41 (5.0.41.0) NPAPI binary
Browser: Mozilla Filefox 11.0
System: Microsoft Windows XP Professional SP3
P.S. For the record, each SWF version have compression support as follows:
- Uncompressed SWF (file's magic string "FWS") is supported since forever.
- Zlib compression scheme (file's magic string "CWS") is supported since SWF version 6.
- LZMA compression scheme (file's magic string "ZWS") is supported since SWF version 13.
|