Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7064)

Unified Diff: chrome/test/data/nacl/pnacl_error_handling/pnacl_error_handling.html

Issue 14683004: Check that the PNaCl cache hash is truly derived from the bitcode content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/nacl/pnacl_error_handling/pnacl_error_handling.html
diff --git a/chrome/test/data/nacl/pnacl_error_handling/pnacl_error_handling.html b/chrome/test/data/nacl/pnacl_error_handling/pnacl_error_handling.html
index 65fcde52672cf3a4ce5c7dd33be9b635e22cab0c..004ccf744dfd412e452bec386e9dd88dcb80363c 100644
--- a/chrome/test/data/nacl/pnacl_error_handling/pnacl_error_handling.html
+++ b/chrome/test/data/nacl/pnacl_error_handling/pnacl_error_handling.html
@@ -21,6 +21,14 @@
//<![CDATA[
function declareTests(tester) {
+ // 'bad_hash' loads a manifest that has a faulty hash.
+ badLoadTest(
+ tester,
+ 'bad_hash',
+ 'pnacl_bad_hash.nmf',
+ 'NaCl module load failed: PnaclCoordinator: ' +
+ 'Bitcode hash does not match bitcode contents.');
+
// 'bad_pexe' loads a manifest, then loads a pexe that is invalid.
badLoadTest(
tester,
« no previous file with comments | « chrome/test/data/nacl/pnacl_error_handling/pnacl_bad_hash.nmf ('k') | ppapi/api/private/ppb_nacl_hash_private.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698