Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1239)

Unified Diff: ppapi/native_client/tests/ppapi_browser/manifest/manifest.html

Issue 7740013: Cloning a bunch of stuff from the native_client repository at r6528 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ppapi/native_client/tests/ppapi_browser/manifest/manifest.html
===================================================================
--- ppapi/native_client/tests/ppapi_browser/manifest/manifest.html (revision 0)
+++ ppapi/native_client/tests/ppapi_browser/manifest/manifest.html (revision 0)
@@ -0,0 +1,70 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+<!-- Copyright (c) 2011 The Native Client Authors. All rights reserved.
+ Use of this source code is governed by a BSD-style license that can be
+ found in the LICENSE file. -->
+<head>
+ <title>PPAPI Runtime Feature Test</title>
+ <meta HTTP-EQUIV="Pragma" CONTENT="no-cache" />
+ <meta HTTP-EQUIV="Expires" CONTENT="-1" />
+ <script type="text/javascript" src="nacltest.js"></script>
+ <script type="text/javascript" src="ppapi_progress_events.js"></script>
+</head>
+
+<body id="body">
+<script type="text/javascript">
+//<![CDATA[
+var tester = new Tester($('body'));
+testProgressEventStateMachine(
+ tester,
+ 'topdir_static',
+ 2, // progressMinCount
+ 0, // errorCount
+ 0, // abortCount
+ 1, // loadCount
+ undefined // lastError
+);
+testProgressEventStateMachine(
+ tester,
+ 'subdir_static',
+ 2, // progressMinCount
+ 0, // errorCount
+ 0, // abortCount
+ 1, // loadCount
+ undefined // lastError
+);
+function runTests() {
+ tester.waitFor($('topdir_static'), $('subdir_static'));
+ tester.run();
+}
+// Set all the listeners on the body.
+setListeners($('body'));
+//]]>
+</script>
+
+<!--
+// manifest_top refers to nexes in a subdirectory below the manifest.
+-->
+<embed id="topdir_static"
+ class="naclModule"
+ width=0 height=0
+ src="manifest_top.nmf"
+ type="application/x-nacl" />
+
+<!--
+// manifest_subdir refers to resources in the same directory as the manifest.
+-->
+<embed id="subdir_static"
+ class="naclModule"
+ width=0 height=0
+ src="subdir/manifest_subdir.nmf"
+ type="application/x-nacl" />
+
+<script type="text/javascript">
+//<![CDATA[
+runTests();
+//]]>
+</script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698