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

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

Issue 181153002: Have PNaCl use debug pexe URL instead of stripped pexe w/ kEnableNaClDebug (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: split the test Created 6 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 | « chrome/test/data/nacl/nacl_test_data.gyp ('k') | chrome/test/data/nacl/pnacl_debug_url/pnacl_has_debug.nmf » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/nacl/pnacl_debug_url/pnacl_debug_url.html
diff --git a/chrome/test/data/nacl/pnacl_debug_url/pnacl_debug_url.html b/chrome/test/data/nacl/pnacl_debug_url/pnacl_debug_url.html
new file mode 100644
index 0000000000000000000000000000000000000000..7702afca9ccc67807a029d7a71ecbb319b9aea28
--- /dev/null
+++ b/chrome/test/data/nacl/pnacl_debug_url/pnacl_debug_url.html
@@ -0,0 +1,35 @@
+<html>
+<!--
+Copyright (c) 2014 The Chromium Authors. All rights reserved.
+Use of this source code is governed by a BSD-style license that can be
+found in the LICENSE file.
+-->
+<head>
+<title>PNaCl Debug URL test</title>
+<script type="text/javascript" src="load_util.js"></script>
+<script type="text/javascript" src="nacltest.js"></script>
+</head>
+<body>
+<h2>PNaCl Debug URL Test</h2>
+</body>
+<script>
+
+function create(nmf_url) {
+ var embed = document.createElement("embed");
+ embed.src = nmf_url;
+ embed.type = "application/x-pnacl";
+ embed.addEventListener("load", function(evt) {
+ load_util.shutdown("1 test passed.", true);
+ }, true);
+ embed.addEventListener("error", function(evt) {
+ load_util.log("Load error: " + embed.lastError);
+ load_util.shutdown("1 test failed.", false);
+ }, true);
+ document.body.appendChild(embed);
+}
+
+var nmf_file = getTestArguments()['nmf_file'];
+create(nmf_file);
+
+</script>
+</html>
« no previous file with comments | « chrome/test/data/nacl/nacl_test_data.gyp ('k') | chrome/test/data/nacl/pnacl_debug_url/pnacl_has_debug.nmf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698