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

Unified Diff: chrome/test/data/nacl/nacl_load_test.html

Issue 16296005: Split pnacl and nacl mime types (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: After (hopefully) last rebase. 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/nacl_load_test.html
diff --git a/chrome/test/data/nacl/nacl_load_test.html b/chrome/test/data/nacl/nacl_load_test.html
index a9e203b1f6039b5954f85995ebaa1063ebff33d6..9574abf593d9d30464d1e858cf33f51d8911a383 100644
--- a/chrome/test/data/nacl/nacl_load_test.html
+++ b/chrome/test/data/nacl/nacl_load_test.html
@@ -10,6 +10,7 @@ found in the LICENSE file.
<body>
<h2>NaCl Load Test</h2>
</body>
+<script type="text/javascript" src="nacltest.js"> </script>
<script>
function report(msg) {
@@ -23,6 +24,9 @@ function create(manifest_url) {
var embed = document.createElement("embed");
embed.src = manifest_url;
embed.type = "application/x-nacl";
+ if (getTestArguments()["pnacl"] !== undefined) {
+ embed.type = "application/x-pnacl";
+ }
embed.addEventListener("load", function(evt) {
report({type: "Shutdown", message: "1 test passed.", passed: true});
« no previous file with comments | « chrome/test/data/nacl/exit_status/pm_exit_status_test.html ('k') | chrome/test/data/nacl/nacl_test_data.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698