Closed Bug 445541 Opened 17 years ago Closed 7 years ago

"ASSERTION: Give me something to work with" with radiolab feed

Categories

(Firefox Graveyard :: RSS Discovery and Preview, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INACTIVE

People

(Reporter: jruderman, Unassigned)

References

(Depends on 1 open bug, )

Details

(Keywords: assertion)

Attachments

(1 file)

Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1a1pre) Gecko/2008071414 Minefield/3.1a1pre Steps to reproduce: 1. Load http://feeds.wnyc.org/radiolab. Result: ###!!! ASSERTION: Give me something to work with: '!aMIMEType.IsEmpty() || !aFileExt.IsEmpty()', file uriloader/exthandler/nsExternalHelperAppService.cpp, line 2342 ###!!! ASSERTION: Empty aExtension parameter!: '!aExtension.IsEmpty()', file uriloader/exthandler/nsExternalHelperAppService.cpp, line 2669
Version: 2.0 Branch → Trunk
We're in FW__buildEnclosureDiv and the relevant call is: 595 var handlerInfoWrapper = this._mimeSvc.getFromTypeAndExtension(enc.get("type"), null); Apparently the type is empty string here, so naturally the MIME service asserts: it can't do anything sane in this situation.
Is an assertion really the right behavior?
For a contract violation? I suppose this code could throw instead (or in addition to). But the IDL clearly documents the contract here, and the caller is not following it.
WFM with the URL in comment 0.
Depends on: 613421
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INACTIVE
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: