| Index: chrome/test/data/nacl/nameservice/pm_nameservice_test.html
|
| diff --git a/chrome/test/data/nacl/nameservice/pm_nameservice_test.html b/chrome/test/data/nacl/nameservice/pm_nameservice_test.html
|
| deleted file mode 100644
|
| index ffa78683506f81c85509659c8f39cb17c636dea6..0000000000000000000000000000000000000000
|
| --- a/chrome/test/data/nacl/nameservice/pm_nameservice_test.html
|
| +++ /dev/null
|
| @@ -1,75 +0,0 @@
|
| -<!--
|
| - Copyright 2014 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.
|
| --->
|
| -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
| - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
| -<html>
|
| - <head>
|
| - <meta http-equiv="Pragma" content="no-cache" />
|
| - <meta http-equiv="Expires" content="-1" />
|
| - <script type="text/javascript" src="nacltest.js"></script>
|
| - <title>Native Client Post Message Name Service Test</title>
|
| - </head>
|
| -
|
| - <body>
|
| - <h1>Native Client Post Message Name Service Test</h1>
|
| -
|
| - <script type="text/javascript">
|
| - //<![CDATA[
|
| -function createModule(id, src, type) {
|
| - return createNaClEmbed({
|
| - id: id,
|
| - src: src,
|
| - width: 400,
|
| - height: 400,
|
| - type: type
|
| - });
|
| -}
|
| -var mime = 'application/x-nacl';
|
| -if (getTestArguments()['pnacl'] !== undefined) {
|
| - mime = 'application/x-pnacl';
|
| -}
|
| -var embed = createModule('naclModule', 'pm_nameservice_test.nmf', mime);
|
| -embed.basic_tests ='2';
|
| -embed.stress_tests = '0';
|
| -document.body.appendChild(embed);
|
| -
|
| -function setupTests(tester, plugin) {
|
| - tester.addAsyncTest('TestInit', function(status) {
|
| - plugin.addEventListener('message', function(message_event) {
|
| - this.removeEventListener('message', arguments.callee, false);
|
| - status.assertEqual(message_event.data,
|
| - 'NaClSrpcClientCtor succeeded\n');
|
| - status.pass();
|
| - }, false);
|
| - plugin.postMessage('init');
|
| - });
|
| - tester.addAsyncTest('TestRng', function(status) {
|
| - plugin.addEventListener('message', function(message_event) {
|
| - this.removeEventListener('message', arguments.callee, false);
|
| - // alert(message_event.data);
|
| - status.pass();
|
| - }, false);
|
| - plugin.postMessage('rng');
|
| - });
|
| - tester.addAsyncTest('TestManifest', function(status) {
|
| - plugin.addEventListener('message', function(message_event) {
|
| - this.removeEventListener('message', arguments.callee, false);
|
| - status.assertEqual(message_event.data,
|
| - 'ManifestTest: basic connectivity ok\n');
|
| - status.pass();
|
| - }, false);
|
| - plugin.postMessage('manifest_test');
|
| - });
|
| -}
|
| -
|
| -var tester = new Tester();
|
| -setupTests(tester, $('naclModule'));
|
| -tester.waitFor($('naclModule'));
|
| -tester.run();
|
| - //]]>
|
| - </script>
|
| - </body>
|
| -</html>
|
|
|