Index: chrome/test/data/nacl/pnacl_dyncode_syscall_disabled/pnacl_dyncode_syscall_disabled.html |
diff --git a/chrome/test/data/nacl/pnacl_dyncode_syscall_disabled/pnacl_dyncode_syscall_disabled.html b/chrome/test/data/nacl/pnacl_dyncode_syscall_disabled/pnacl_dyncode_syscall_disabled.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..aa34b888645c1be821e24c022db278f5585842d2 |
--- /dev/null |
+++ b/chrome/test/data/nacl/pnacl_dyncode_syscall_disabled/pnacl_dyncode_syscall_disabled.html |
@@ -0,0 +1,49 @@ |
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
+<html> |
+ <!-- Copyright 2013 Google Inc. All rights reserved. --> |
+ <head> |
+ <META HTTP-EQUIV="Pragma" CONTENT="no-cache" /> |
+ <META HTTP-EQUIV="Expires" CONTENT="-1" /> |
+ <script type="text/javascript" src="nacltest.js"></script> |
+ <script type="application/x-javascript"> |
+ //<![CDATA[ |
+ function setupTests(tester, plugin) { |
+ function addTest(test_name, responses) { |
+ if (responses === undefined) { |
+ responses = []; |
+ } |
+ var expected_messages = [test_name + ':PASSED'].concat(responses); |
+ tester.addAsyncTest(test_name, function(test) { |
+ test.expectMessageSequence(plugin, expected_messages); |
+ plugin.postMessage(test_name) |
+ }); |
+ } |
+ |
+ // On the main thread. |
+ addTest('TestDyncodeCreate'); |
+ addTest('TestDyncodeModify'); |
+ addTest('TestDyncodeDelete'); |
+ } |
+ //]]> |
+ </script> |
+ <title>PNaCl Dyncode Syscall Disabled Test</title> |
+ </head> |
+ <body> |
+ <h1>PNaCl Dyncode Syscall Disabled Test</h1> |
+ |
+ <embed type="application/x-nacl" id="test_nexe" |
+ name="nacl_module" |
+ src="pnacl_dyncode_syscall_disabled.nmf" |
+ width="0" height="0" /> |
jvoung (off chromium)
2013/04/23 22:43:27
Maybe make the width+height non-zero so that we ca
sehr
2013/04/24 15:34:25
Done.
|
+ |
+ <script type="text/javascript"> |
+ //<![CDATA[ |
+ var tester = new Tester(); |
+ setupTests(tester, $('test_nexe')); |
+ tester.waitFor($('test_nexe')); |
+ tester.run(); |
+ //]]> |
+ </script> |
+ </body> |
+</html> |