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

Unified Diff: ppapi/native_client/tests/nacl_browser/browser_dynamic_library/browser_dlopen_test.html

Issue 10914053: Relocating files in the nacl repo that belong in chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 3 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/nacl_browser/browser_dynamic_library/browser_dlopen_test.html
diff --git a/ppapi/native_client/tests/nacl_browser/browser_dynamic_library/browser_dlopen_test.html b/ppapi/native_client/tests/nacl_browser/browser_dynamic_library/browser_dlopen_test.html
new file mode 100644
index 0000000000000000000000000000000000000000..0df3ea9b1615ec894d5dfc8195a9d051042fc96b
--- /dev/null
+++ b/ppapi/native_client/tests/nacl_browser/browser_dynamic_library/browser_dlopen_test.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+<!--
+ Copyright 2012 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.
+-->
+<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>
+</head>
+
+<body id="body">
+<embed id="naclDSOModule"
+ name="naclDSOModule"
+ src="browser_dlopen_test.nmf"
+ type="application/x-nacl"
+ width=0 height=0 />
+<script type="text/javascript">
+function setupTests(tester, plugin) {
+ function addTest(test_name) {
+ tester.addAsyncTest(test_name, function(test) {
+ test.expectMessageSequence(plugin, [test_name + ':PASSED']);
+ plugin.postMessage(test_name);
+ });
+ }
+
+ addTest("TestDlopenMainThread");
+ addTest("TestDlopenSecondaryThread");
+}
+//<![CDATA[
+var tester = new Tester();
+ setupTests(tester, $('naclDSOModule'));
+ tester.waitFor($('naclDSOModule'));
+ tester.run();
+//]]>
+</script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698