dom/xslt/crashtests/603844.html
author Andy Leiserson <aleiserson@mozilla.com>
Sat, 19 Jul 2025 16:44:54 +0000 (12 hours ago)
changeset 797257 246e16bb06c941d6f64d807d43c807bfba04ae86
parent 162342 67ff9392766b53c51bb876b5f74e5e6602347668
permissions -rw-r--r--
Bug 1976958 - Update wgpu to b83c9cf (2025-07-10) r=webgpu-reviewers,supply-chain-reviewers,teoxoy Differential Revision: https://phabricator.services.mozilla.com/D257047
<!DOCTYPE html>
<html class="reftest-wait">
<head>
<script>

function boom()
{
  var frame = document.createElementNS("http://www.w3.org/1999/xhtml", "iframe");
  frame.onload = y; 
  frame.src = "data:text/plain,0"; 
  document.body.appendChild(frame);
  frameDoc = frame.contentDocument;

  function y()
  {
    frameDoc.removeChild(frameDoc.documentElement);

    var xp = new XSLTProcessor;
    xp.importStylesheet(frameDoc);
    try {
      xp.transformToDocument(frameDoc.createTextNode('x'));
    } catch(e) { }

    document.documentElement.removeAttribute("class");
  }
}

</script>
</head>

<body onload="boom();"></body>
</html>