chromium/third_party/blink/web_tests/fast/dom/HTMLImageElement/image-sizes-viewport-with-template-parent-and-empty-sizes.html

<!DOCTYPE html>
<script>
    if (window.testRunner)
        testRunner.dumpAsText();

    function insert() {
        var img = new Image();
        var template = document.getElementById('template');
        img.sizes = '';
        template.appendChild(img);
    }
</script>
<body onload="insert()">
  <pre id="result">PASS - didn't crash.</pre>
  <template id ="template"></template>
</body>