Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / test / data / nacl / pnacl_nmf_options / pnacl_options.html
blob8267dff90ee574652d02276ef16b605126eace47
1 <html>
2 <!--
3 Copyright (c) 2013 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file.
6 -->
7 <head>
8 <title>PNaCl Load Options Test</title>
9 <script type="text/javascript" src="nacltest.js"></script>
10 <script type="text/javascript" src="load_util.js"></script>
11 <script type="text/javascript" src="simple_cc.js"></script>
12 </head>
13 <body>
14 <h2>PNaCl Load Options Test</h2>
15 </body>
16 <script>
18 function create(manifest_prefix, manifest_opt) {
19 var embed = document.createElement("embed");
20 var nmf_url = manifest_prefix + manifest_opt + ".nmf";
22 embed.src = nmf_url;
23 embed.type = "application/x-pnacl";
24 simple_test.addTestListeners(embed);
25 document.body.appendChild(embed);
28 var nmf_to_test = getTestArguments(
29 {'use_nmf' : 'Unknown NMF choice'})['use_nmf'];
31 create("pnacl_", nmf_to_test);
32 </script>
33 </html>