- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / test / data / nacl / cross_origin / fail.html
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>NaCl Cross-origin Test</title>
9 </head>
10 <body>
11 <h2>NaCl Cross-origin Test</h2>
12 </body>
13 <script type="text/javascript" src="../load_util.js"></script>
14 <script>
15
16 function run() {
17   var embed = load_util.crossOriginEmbed("fail.nmf");
18   // Can't load a cross-origin manifest without CORS.
19   load_util.expectLoadFailure(embed, "access to manifest url was denied.");
20   document.body.appendChild(embed);
21 }
22
23 run();
24
25 </script>
26 </html>