Oh, how this has become a favorite of mine. I'll try to see if I can find the connection, confit de l'onion. I have a friend who cans, and she brought me one a couple of years ago. We fell in love with the stuff. The recipe is different, but similar, onions more finely sliced/chopped, and canned. More spices, less sugar. Well, that jar lead to more. I've told her I'll come and peel onions with her, if she'll just keep me supplied. I asked her for a jar for my parents' food package I send every year, and she complied. Mom says she puts it on hot dogs, of all things.
The most fun was that a friend visiting from France always brings me some goodies. She brought me a jar of confit de l'onion commercially produced in France (not knowing that I'm in love with this other friends' version), so I called and we had a confit de l'onion taste test. My friends' version won, hands down. It was great fun.
This is great topping for steaks and on burgers.