Closed Bug 1157243 Opened 9 years ago Closed 9 years ago

Correctly handle unknown file types in Loader

Categories

(Firefox Graveyard :: Shumway, defect)

defect
Not set
normal

Tracking

(firefox40 affected)

RESOLVED FIXED
Tracking Status
firefox40 --- affected

People

(Reporter: till, Assigned: tschneider)

References

Details

We currently mostly ignore these, but should throw an error instead. There are two different things we get wrong:
- If a successful load has a body of length 0, we treat that as a loading error. Flash treats it as an unknown file type.
- If the body has an unknown header, we simply drop the response and do nothing. Flash again reports "Error #2124: Loaded file is an unknown type".
Assignee: nobody → schneider
Fixed in https://github.com/mozilla/shumway/pull/2262.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.