Index: LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-script-no-cors-no-xorigin-with-creds.html |
diff --git a/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-script-no-cors-no-xorigin-with-creds.html b/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-script-no-cors-no-xorigin-with-creds.html |
index e4ca2f41864d96c23335fca03af70c166e274d55..09cb37b35728f43a8b28cb62760b3ce412688f76 100644 |
--- a/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-script-no-cors-no-xorigin-with-creds.html |
+++ b/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-script-no-cors-no-xorigin-with-creds.html |
@@ -8,11 +8,11 @@ |
<script> |
var result = ''; |
var scriptLoaded = function() { |
- assert_unreached('Script ran.'); |
+ assert_equals(result, 'ran', 'Script ran.'); |
done(); |
}; |
var scriptError = function() { |
- assert_equals(result, '', 'Script did not run.'); |
+ assert_unreached('Script did not run.'); |
done(); |
}; |
</script> |