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

Side by Side Diff: chrome/test/data/nacl/pnacl_dyncode_syscall_disabled/pnacl_dyncode_syscall_disabled.html

Issue 14154005: Add dyncode syscall disabled test (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with master. 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 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 2013 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="application/x-javascript">
10 //<![CDATA[
11 function setupTests(tester, plugin) {
12 function addTest(test_name, responses) {
13 if (responses === undefined) {
14 responses = [];
15 }
16 var expected_messages = [test_name + ':PASSED'].concat(responses);
17 tester.addAsyncTest(test_name, function(test) {
18 test.expectMessageSequence(plugin, expected_messages);
19 plugin.postMessage(test_name)
20 });
21 }
22
23 // On the main thread.
24 addTest('TestDyncodeCreate');
25 addTest('TestDyncodeModify');
26 addTest('TestDyncodeDelete');
27 }
28 //]]>
29 </script>
30 <title>PNaCl Dyncode Syscall Disabled Test</title>
31 </head>
32 <body>
33 <h1>PNaCl Dyncode Syscall Disabled Test</h1>
34
35 <embed type="application/x-nacl" id="test_nexe"
36 name="nacl_module"
37 src="pnacl_dyncode_syscall_disabled.nmf"
38 width="100" height="100" />
39
40 <script type="text/javascript">
41 //<![CDATA[
42 var tester = new Tester();
43 setupTests(tester, $('test_nexe'));
44 tester.waitFor($('test_nexe'));
45 tester.run();
46 //]]>
47 </script>
48 </body>
49 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698