chromium/chrome/test/data/nacl/pnacl_dyncode_syscall_disabled/pnacl_dyncode_syscall_disabled.html

<!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('TestIrtInterfaceHidden');
        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-pnacl" 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>