Very thinly sliced onions fried and boiled with vinegar and sugar. Often thickened to a jam-like consistency.
The 'Gluttons Glossary' (1990) by John Ayto has; "nouvelle quisine has introduced us to the concept of onion marmalade, made by slowly stewing onions in a sweet and sour mixture of sugar and vinegar"
[Unverified] Can you help find more about Onion Marmalade? raise an issue on GitHub