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

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

Issue 392023002: Remove disable-pnacl flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
Index: chrome/test/data/nacl/pnacl_mime_type/pnacl_mime_type.html
diff --git a/chrome/test/data/nacl/pnacl_mime_type/pnacl_mime_type.html b/chrome/test/data/nacl/pnacl_mime_type/pnacl_mime_type.html
index a96ad0b79fabc602433f51471ba5939219438550..41a924bd563f63004221db39be820124d2391630 100644
--- a/chrome/test/data/nacl/pnacl_mime_type/pnacl_mime_type.html
+++ b/chrome/test/data/nacl/pnacl_mime_type/pnacl_mime_type.html
@@ -21,18 +21,13 @@ function report(msg) {
domAutomationController.send(JSON.stringify(msg));
}
-var pnacl_disabled = (getTestArguments()["pnacl_disabled"] !== undefined);
var tests = 0;
var errors = 0;
var pnacl_mime_type = "application/x-pnacl";
-if (!pnacl_disabled && (navigator.mimeTypes[pnacl_mime_type] == undefined)) {
+if (navigator.mimeTypes[pnacl_mime_type] == undefined) {
report({type: "Log", message: "Error: could not find " + pnacl_mime_type});
errors++;
-} else if (pnacl_disabled &&
- (navigator.mimeTypes[pnacl_mime_type] !== undefined)) {
- report({type: "Log", message: "Error: unexpected " + pnacl_mime_type});
- errors++;
}
tests++;

Powered by Google App Engine
This is Rietveld 408576698