Correctly handle unknown file types in Loader

RESOLVED FIXED

Status

Firefox Graveyard
Shumway
RESOLVED FIXED
3 years ago
2 years ago

People

(Reporter: till, Assigned: tobytailor)

Tracking

Details

(Reporter)

Description

3 years ago
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".
Blocks: 1037568
Assignee: nobody → schneider
(Assignee)

Comment 1

3 years ago
Fixed in https://github.com/mozilla/shumway/pull/2262.
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.