diff options
Diffstat (limited to 'ppapi/tests/test_case.html')
-rw-r--r-- | ppapi/tests/test_case.html | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/ppapi/tests/test_case.html b/ppapi/tests/test_case.html index d395f13..a9d0879 100644 --- a/ppapi/tests/test_case.html +++ b/ppapi/tests/test_case.html @@ -197,9 +197,14 @@ onload = function() { var mode = ExtractSearchParameter("mode"); document.title = 'Test ' + testcase; var obj; - if (mode == "nacl") { + if (mode == "nacl_newlib") { obj = document.createElement("EMBED"); - obj.setAttribute("src", "test_case.nmf"); + obj.setAttribute("src", "ppapi_nacl_tests_newlib.nmf"); + obj.setAttribute("type", "application/x-nacl"); + obj.setAttribute("mode", mode); + } else if (mode == "nacl_glibc") { + obj = document.createElement("EMBED"); + obj.setAttribute("src", "ppapi_nacl_tests_glibc.nmf"); obj.setAttribute("type", "application/x-nacl"); obj.setAttribute("mode", mode); } else { |