chromium/third_party/blink/web_tests/http/tests/security/subresourceIntegrity/subresource-integrity-block-same-resource-twice.html

<!DOCTYPE html>
<html>
    <head>
        <title>SRI allows multiple hash values, valid if any passes among strongest</title>
        <script src="/resources/testharness.js"></script>
        <script src="/resources/testharnessreport.js"></script>
    </head>
    <body>
        <script>
            setup({single_test: true});

            // Regression test for https://crbug.com/584155
            function insertScript(errorCallback) {
                var script = document.createElement('script');
                script.src = 'fail.js';
                script.crossOrigin = 'anonymous';
                script.integrity = "sha256-deadbeef";
                script.onload = function() { assert_unreached(); }
                script.onerror = errorCallback;
                document.head.appendChild(script);
            }

            insertScript(function() {
                insertScript(function() { done(); });
            });
        </script>
    </body>
</html>