The annotation reference tests now show the date/time placeholder, but since localization is not active we don't see the actual date/time string. It would be nice to be able to have this in the reference images.
const svg_xml = unescape(
    encodeURIComponent(new XMLSerializer().serializeToString(svgElement))
  );
  return new Promise((resolve, reject) => {
    const img = new Image();
    img.src = "data:image/svg+xml;base64," + btoa(svg_xml);
    img.onload = function () {
      ctx.drawImage(img, 0, 0);
      resolve();
    };
    img.onerror = function (e) {
      reject(new Error(`Error rasterizing SVG: ${e}`));
    };
  });
}
async function inlineImages(node, silentErrors = false) {
  const promises = [];
  for (const image of node.getElementsByTagName("img")) {
    const url = image.src;
    promises.push(
      fetch(url)
        .then(response => {
          if (!response.ok) {
            throw new Error(response.statusText);
          }
          return response.blob();
        })
        .then(blob => {