Index: ppapi/tests/test_case.html |
diff --git a/ppapi/tests/test_case.html b/ppapi/tests/test_case.html |
index 9f897d0ac03310547ec661b115394d8febfae242..4b67a0fda02d8aac93d4780fe957c4605e1824f4 100644 |
--- a/ppapi/tests/test_case.html |
+++ b/ppapi/tests/test_case.html |
@@ -232,6 +232,11 @@ onload = function() { |
obj.setAttribute("src", "ppapi_nacl_tests_glibc.nmf"); |
obj.setAttribute("type", "application/x-nacl"); |
obj.setAttribute("mode", mode); |
+ } else if (mode == "nacl_pnacl") { |
+ obj = document.createElement("EMBED"); |
+ obj.setAttribute("src", "ppapi_nacl_tests_pnacl.nmf"); |
+ obj.setAttribute("type", "application/x-nacl"); |
+ obj.setAttribute("mode", mode); |
} else { |
var mimeType = "application/x-ppapi-tests"; |
if (mimeType in navigator.mimeTypes) { |