chromium/third_party/blink/web_tests/http/tests/security/subresourceIntegrity/subresource-integrity-load-regular-script-after-failed-integrity.html

<!DOCTYPE html>
<html>
    <head>
        <!-- Regression test for https://crbug.com/570340 -->
        <title>Script loaded after failed integrity check should still load</title>
    </head>
    <body>
        <script src="/resources/testharness.js"></script>
        <script src="/resources/testharnessreport.js"></script>
        <script>
            var should_fail_test = async_test('should fail');
            var should_succeed_test = async_test('should succeed');

            function should_fail(loaded) {
                should_fail_test.step(function() {
                    if (loaded)
                        assert_unreached();
                    else
                        this.done();
                });
            }

            function success() {
                should_succeed_test.step(function() {
                    this.done();
                });
            }
        </script>
        <script onerror="should_fail(false);" onload="should_fail(true);" src="resources/simple-result.js" integrity="sha256-deadbeef"></script>
        <script onerror="assert_unreached();" src="call-success.js"></script>
    </body>
</html>