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.
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>
14 <h2>PNaCl Load Options Test
</h2>
18 function create(manifest_prefix
, manifest_opt
) {
19 var embed
= document
.createElement("embed");
20 var nmf_url
= manifest_prefix
+ manifest_opt
+ ".nmf";
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
);