blob: 6f9197f28c59c44d119bfe45840fdf53a4ba5d00 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>SRI invalid integrity attributes</title>
</head>
<body>
<script>
if (window.testRunner)
testRunner.dumpAsText();
var count = 0;
function checkDone() {
if (count == 2)
done();
count++;
}
function success() {
alert('PASS');
}
function scriptError() {
alert('FAIL');
}
</script>
<script src='call-success.js' onerror="scriptError();" integrity="sha256;B0_62fJSJFrdjEFR9ba04m_D-LHQ-zG6PGcaR0Trpxg="></script>
<script src='call-success.js' onerror="scriptError();" integrity="sha256:B0_62fJSJFrdjEFR9ba04m_D-LHQ-zG6PGcaR0Trpxg="></script>
<script src='call-success.js' onerror="scriptError();" integrity="sha256-(B0_62fJSJFrdjEFR9ba04m_D-LHQ-zG6PGcaR0Trpxg=)"></script>
</body>
</html>