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}); |