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

Unified Diff: chrome/test/data/nacl/exit_status/pm_exit_status_test.html

Issue 16296005: Split pnacl and nacl mime types (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove dead code. Created 7 years, 6 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: chrome/test/data/nacl/exit_status/pm_exit_status_test.html
diff --git a/chrome/test/data/nacl/exit_status/pm_exit_status_test.html b/chrome/test/data/nacl/exit_status/pm_exit_status_test.html
index 3f3473e8f48ff55e779a771c6e00f7755a257600..22d901ed23c3ae605eed44729d569f48746485bc 100644
--- a/chrome/test/data/nacl/exit_status/pm_exit_status_test.html
+++ b/chrome/test/data/nacl/exit_status/pm_exit_status_test.html
@@ -15,7 +15,7 @@
<body>
<h1>Native Client Exit Status Test</h1>
- <div>
+ <!--
jvoung (off chromium) 2013/06/04 22:27:25 could remove the commented out html
sehr 2013/06/06 22:03:45 Done.
<embed id="naclModule"
name="naclModule"
width=400 height=400
@@ -24,10 +24,29 @@
stress_tests="0"
style="background-color:gray"
type="application/x-nacl" />
- </div>
+ -->
<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_exit_status_test.nmf", mime);
+embed.basic_tests = "2";
+embed.stress_tests = "0";
+document.body.appendChild(embed);
+
var tester = new Tester($('body'));
var args = getTestArguments({'expected_exit' :
'THIS TEST CANNOT RUN STANDALONE -- run using scons instead'});

Powered by Google App Engine
This is Rietveld 408576698