chromium/third_party/blink/web_tests/fast/dom/HTMLImageElement/image-src-onerror.html

<!DOCTYPE html>
<script>
    if (window.testRunner) {
        testRunner.dumpAsText();
        testRunner.waitUntilDone();
    }
    window.onload = function() {
        setTimeout(function() {
            if (window.testRunner)
                testRunner.notifyDone();
        }, 500);
    };
</script>
<img src="1x.gif" onerror="console.log('Error triggerred');">