Supporting /suggest as a search engine with Firefox - how to render result so it is accepted?

Hi,
Made a search engine, added to FireFox ad default= WORKS!
Now, support for /suggest, it is kind of working, FF calls it, result returned, but FF do not render andy suggestion for USER, have tried 100 things. Belows is smallest possible sample. It is called, it answers, FF do not render suggestions…

NODE.JS EXPRESS HARDCODED SAMPLE

app.get(‘/suggest’, (req, res) => {
const q = String(req.query.q || ‘’).trim();

// No-cache while debugging
res.set(‘Cache-Control’, ‘no-store, no-cache, must-revalidate’);

const pool = [‘volvocars.com’,‘volkswagen.de’,‘volc-dns.com’,‘volcgtm.com’];
const out = q
? pool.filter(s => s.toLowerCase().includes(q.toLowerCase())).slice(0, 10)
: ;

// Let Express set application/json; Firefox explicitly supports this
res.json([q, out, , ]);
});
// the boxes here are [ followed by] rendered wrong as -

Spec says:

[
“original query”,
[“s1”, “s2”, “s3”], // suggestions
[“d1”, “d2”, “d3”], // (optional) descriptions
[“u1”, “u2”, “u3”] // (optional) URLs
]

tried with hardcoded result for “hej”:

res.send(
[“hej”,[“hej.mielec.pl”,“heja.io”,“hejaapi.com”,“hejinfu.cn”,“heja-api.com”,“hejfish.com”],,] ):

(boxes are [ and ] render as in this tool)

Anyone that has a working /suggest reply?

Exampe suggest that firefox will not render

So, problem solved:

If to return:

”pelle” and “pellejöns.com

Mozilla will only show “pelle”

For suggestions, domains are stipped.

can see that this is correct, following the spec there is nothing to block answer with domains.

So I guess this is a bug?

/ jan