| <!-- |
| * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this |
| * source code is governed by a BSD-style license that can be found in the |
| * LICENSE file. |
| --> |
| <html> |
| <!-- |
| This test file causes Chrome to attempt to create the NaCl plugin as a simple |
| embed and as a content type handler. The script allows the test to check if |
| the plugin was created or blocked in either case. |
| --> |
| <head> |
| <title>Native Client CWS Restriction</title> |
| |
| <script src="test.js"></script> |
| |
| </head> |
| <body> |
| <script src="test2.js"></script> |
| <embed id="embedded" |
| class="naclModule" |
| type="application/x-nacl" |
| src="dummy.nmf"> |
| </embed> |
| <embed id="content_handler" |
| class="naclModule" |
| type="application/pdf" |
| src="test.pdf"> |
| </embed> |
| </body> |
| </html> |