1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5 Copyright 2012 The Chromium Authors. All rights reserved.
6 Use of this source code is governed by a BSD-style license that can
7 be found in the LICENSE file.
10 <title>PPAPI Runtime Feature Test</title>
11 <meta HTTP-EQUIV="Pragma" CONTENT="no-cache" />
12 <meta HTTP-EQUIV="Expires" CONTENT="-1" />
13 <script type="text/javascript" src="nacltest.js"></script>
17 <embed id="naclDSOModule"
19 src="browser_dlopen_test.nmf"
20 type="application/x-nacl"
22 <script type="text/javascript">
23 function setupTests(tester, plugin) {
24 function addTest(test_name) {
25 tester.addAsyncTest(test_name, function(test) {
26 test.expectMessageSequence(plugin, [test_name + ':PASSED']);
27 plugin.postMessage(test_name);
31 addTest("TestDlopenMainThread");
32 addTest("TestDlopenSecondaryThread");
35 var tester = new Tester();
36 setupTests(tester, $('naclDSOModule'));
37 tester.waitFor($('naclDSOModule'));