Hello creating a notification with an SVG in iconUrl fails with
Unable to download all specified images
specifically DOMException: The source image could not be decoded.
var price = 12;
chrome.notifications.create({
type: 'basic',
iconUrl: "data:image/svg+xml;utf8,<svg width='128' height='128' viewBox='0 0 128 128' xmlns='
http://www.w3.org/2000/svg' version='1.1' > <text text-anchor='middle' x='50%' y='50%' dy='.35em' font-family='sans-serif' font-size='80px' font-weight='bold' fill='darkorange'>"+price+"</text></svg>",
title: "This is the title",
message: "This is the body of message",
priority: 2,
});
This piece of code works in MV2. Does anyone know a solution to this problem or have an SVG example that works in iconUrl