chromium/third_party/blink/web_tests/images/svg-image-load-reset-on-new-base.html

<!doctype HTML>
<iframe id="frame"></iframe>
<script>
if (window.testRunner)
  window.testRunner.waitUntilDone();
function done() {
  if (window.testRunner)
    window.testRunner.notifyDone();
}
function test() {
  const content = '<head><base href="resources/"></head><body>' +
    '<svg width="100" height="100">' +
    '  <image xlink:href="base-test-resources/success.png" onload="parent.done()" onerror="parent.done()"/>' +
    '</svg></body>';
  const doc = document.getElementById("frame").contentDocument;
  doc.firstChild.innerHTML = content;
}
window.onload = test;
</script>