Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: mobile/android/components/AboutRedirector.js

Issue 5396553988571136: Issue 2531 - Remove Mozilla-specific about pages (Closed)
Patch Set: Created May 15, 2015, 2:05 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « docshell/base/nsAboutRedirector.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mobile/android/components/AboutRedirector.js
===================================================================
--- a/mobile/android/components/AboutRedirector.js
+++ b/mobile/android/components/AboutRedirector.js
@@ -92,6 +92,11 @@
#endif
}
+// Removing some about pages as part of
+// https://issues.adblockplus.org/ticket/2531
+for (let moduleName of ["firefox", "fennec", "rights", "apps", "feedback"])
René Jeschke 2015/05/18 11:36:52 Are you sure, that the application only links to '
+ delete modules[moduleName];
+
function AboutRedirector() {}
AboutRedirector.prototype = {
QueryInterface: XPCOMUtils.generateQI([Ci.nsIAboutModule]),
« no previous file with comments | « docshell/base/nsAboutRedirector.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld