1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <!-- Copyright 2013 Google Inc. All rights reserved. -->
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">
11 function setupTests(tester, plugin) {
12 function addTest(test_name, responses) {
13 if (responses === undefined) {
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)
23 // On the main thread.
24 addTest('TestExceptionSetHandler');
25 addTest('TestExceptionSetStack');
26 addTest('TestExceptionClearFlag');
30 <title>PNaCl Exception Handling Disabled Test</title>
33 <h1>PNaCl Exception Handling Disabled Test</h1>
35 <embed type="application/x-pnacl" id="test_nexe"
37 src="pnacl_exception_handling_disabled.nmf"
38 width="100" height="100" />
40 <script type="text/javascript">
42 var tester = new Tester();
43 setupTests(tester, $('test_nexe'));
44 tester.waitFor($('test_nexe'));