Bug 1273936 - make about:license content-linkable again, r=gijs
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Thu, 19 May 2016 19:27:32 +0100
changeset 330091 553ce3faa35fcb8ae90499d88ebc7b123fde15e4
parent 330090 5c73f49fee358d6ff2f09f4c28fa06448a45513d
child 330092 1983612a169bfc1720ef48b9371e65bd0ec9eef1
push id9858
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 14:37:10 +0000
treeherdermozilla-aurora@203106ef6cb6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgijs
bugs1273936
milestone50.0a1
Bug 1273936 - make about:license content-linkable again, r=gijs MozReview-Commit-ID: HZUrCR1MPHH
docshell/base/nsAboutRedirector.cpp
--- a/docshell/base/nsAboutRedirector.cpp
+++ b/docshell/base/nsAboutRedirector.cpp
@@ -60,17 +60,18 @@ static RedirEntry kRedirMap[] = {
 #ifdef MOZ_DEVTOOLS_ALL
   {
     "debugging", "chrome://devtools/content/aboutdebugging/aboutdebugging.xhtml",
     nsIAboutModule::ALLOW_SCRIPT
   },
 #endif
   {
     "license", "chrome://global/content/license.html",
-    nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT
+    nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
+      nsIAboutModule::MAKE_LINKABLE
   },
   {
     "logo", "chrome://branding/content/about.png",
     nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
     // Linkable for testing reasons.
     nsIAboutModule::MAKE_LINKABLE
   },
   {