| 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..dc517d987f9a5589e2b366b3512d777d8f69e07a
|
| --- /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="100" height="100" />
|
| +
|
| + <script type="text/javascript">
|
| + //<![CDATA[
|
| + var tester = new Tester();
|
| + setupTests(tester, $('test_nexe'));
|
| + tester.waitFor($('test_nexe'));
|
| + tester.run();
|
| + //]]>
|
| + </script>
|
| + </body>
|
| +</html>
|
|
|