Closed Bug 278142 Opened 20 years ago Closed 11 years ago

nsXTFService::CreateElement should cache the absence of element factories

Categories

(Core Graveyard :: XTF, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: peterv, Assigned: alex)

Details

If the do_GetService of the element factory fails we just bail out, ideally we'd
store a null pointer in the hash, so we can return early next time around. It
might make more sense to just use an array then, with the namespace ID as index
(after substracting kNameSpaceID_LastBuiltin).
QA Contact: xtf
XTF has been removed from the tree.  [xtfisdead] for filtering purposes.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.