Closed Bug 1355582 Opened 5 years ago Closed 5 years ago

Only the most recently added file extension is saved in "mimeTypes.rdf"

Categories

(Firefox :: File Handling, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 55
Tracking Status
firefox55 --- fixed

People

(Reporter: Paolo, Assigned: Paolo)

References

Details

Attachments

(1 file)

This was regressed by bug 1287664 in Firefox 52.

Most probably, this had no practical impact, but if we don't fix this there is no point in having support for multiple extensions in nsIHandlerInfo, or storing more than one file extensions in the JSON file format.

Since we're aiming at a literal translation of the current functionality from RDF to JSON, I think we should fix this bug in the RDF back-end. We can look into doing more optimizations in this code area later.
Blocks: 1355585
Comment on attachment 8857155 [details]
Bug 1355582 - Only the most recently added file extension is saved in "mimeTypes.rdf".

https://reviewboard.mozilla.org/r/129096/#review132492
Attachment #8857155 - Flags: review?(mak77) → review+
Pushed by paolo.mozmail@amadzone.org:
https://hg.mozilla.org/integration/mozilla-inbound/rev/83e7c9bfbd76
Only the most recently added file extension is saved in "mimeTypes.rdf". r=mak
https://hg.mozilla.org/mozilla-central/rev/83e7c9bfbd76
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
You need to log in before you can comment on or make changes to this bug.