1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <!-- Copyright 2011 Google Inc. All rights reserved. -->
6 <META HTTP-EQUIV=
"Pragma" CONTENT=
"no-cache" />
7 <META HTTP-EQUIV=
"Expires" CONTENT=
"-1" />
8 <script type=
"text/javascript" src=
"nacltest.js"> </script>
9 <script type=
"text/javascript" src=
"progress_event_listener.js"> </script>
10 <title> PPAPI bad manifest/nexe URLs
</title>
13 <script type=
"text/javascript">
15 var tester
= new Tester($('body'));
17 // This nexe should fail validation inside the sel_ldr.
18 testProgressEventStateMachine(
21 1, // progressMinCount
25 'NaCl module load failed: Validation failure. File violates Native Client safety rules.');
27 // The driver invoked when the body has finished loading.
29 tester
.loadErrorsAreOK();
30 tester
.waitFor($('partly_invalid'));
33 // Set all the listeners on the body.
34 setListeners($('body'));
37 <embed id=
"partly_invalid"
40 src=
"partly_invalid.nmf"
41 style=
"background-color:gray"
42 type=
"application/x-nacl" />
44 <script type=
"text/javascript">