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

Unified Diff: ppapi/tests/test_case.html

Issue 12288013: Add PNaCl PPAPI browser tests via pre-translation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 10 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
« no previous file with comments | « ppapi/ppapi_untrusted.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « ppapi/ppapi_untrusted.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698