Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / test / data / nacl / nacl_load_test.html
blob2737cf31bf80f3173c9ae78e6a048767342602ac
1 <html>
2 <!--
3 Copyright (c) 2012 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>NaCl Load Test</title>
9 </head>
10 <body>
11 <h2>NaCl Load Test</h2>
12 </body>
13 <script type="text/javascript" src="nacltest.js"> </script>
14 <script type="text/javascript" src="load_util.js"> </script>
15 <script type="text/javascript" src="simple_cc.js"> </script>
16 <script>
18 function create(manifest_url) {
19 var embed = document.createElement("embed");
20 embed.src = manifest_url;
21 embed.type = "application/x-nacl";
22 if (getTestArguments()["pnacl"] !== undefined) {
23 embed.type = "application/x-pnacl";
25 simple_test.addTestListeners(embed);
26 document.body.appendChild(embed);
29 create("simple.nmf");
30 </script>
31 </html>