chromium/third_party/blink/web_tests/compositing/video/video-with-invalid-source.html

<!DOCTYPE html>
<script src="../../resources/run-after-layout-and-paint.js"></script>
<script>
if (window.testRunner) {
    testRunner.waitUntilDone();
    testRunner.dumpAsText();
}

function test() {
    var v = document.createElement("video");
    document.body.appendChild(v);
    var src = document.createElement("source");
    src.src = "notarealsource.txt";
    v.appendChild(src);
    src.addEventListener("error", function() {
       if (window.testRunner) {
            runAfterLayoutAndPaint(function() {
                // If we didn't crash here, yay!  Test is a success
                document.body.appendChild(document.createTextNode("PASS"));
                testRunner.notifyDone();
            });
        }
    }, false);
}
</script>
<body onload="test()">
</body>