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

Side by Side Diff: ppapi/native_client/tests/ppapi_browser/bad/ppapi_bad_native.html

Issue 7740013: Cloning a bunch of stuff from the native_client repository at r6528 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html>
4 <!-- Copyright 2011 Google Inc. All rights reserved. -->
5 <head>
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="ppapi_progress_events.js"> </script>
10 <title> PPAPI bad manifest/nexe URLs </title>
11 </head>
12 <body id="body">
13 <script type="text/javascript">
14 //<![CDATA[
15 var tester = new Tester($('body'));
16
17 // This nexe should fail validation inside the sel_ldr.
18 testProgressEventStateMachine(
19 tester,
20 'partly_invalid',
21 1, // progressMinCount
22 1, // errorCount
23 0, // abortCount
24 0, // loadCount
25 'NaCl module load failed: Validation failure. File violates Native Client sa fety rules.');
26
27 // The driver invoked when the body has finished loading.
28 function runTests() {
29 tester.loadErrorsAreOK();
30 tester.waitFor($('partly_invalid'));
31 tester.run();
32 }
33 // Set all the listeners on the body.
34 setListeners($('body'));
35 //]]>
36 </script>
37 <embed id="partly_invalid"
38 class="naclModule"
39 width=100 height=20
40 src="partly_invalid.nmf"
41 style="background-color:gray"
42 type="application/x-nacl" />
43
44 <script type="text/javascript">
45 //<![CDATA[
46 runTests();
47 //]]>
48 </script>
49 </body>
50 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698