Bug 1150862, make about:reader unlinkable from content on desktop, r=gavin

This commit is contained in:
Gijs Kruitbosch 2015-04-03 09:58:00 +01:00
parent 8a7ed8a37e
commit 4bbf94cdce

View File

@ -31,7 +31,7 @@ struct RedirEntry {
required before adding new map entries without
URI_SAFE_FOR_UNTRUSTED_CONTENT. Also note, however, that adding
URI_SAFE_FOR_UNTRUSTED_CONTENT will allow random web sites to link to that
URI. Perhaps we should separate the two concepts out...
URI. If you want to prevent this, add MAKE_UNLINKABLE as well.
*/
static RedirEntry kRedirMap[] = {
#ifdef MOZ_SAFE_BROWSING
@ -122,6 +122,7 @@ static RedirEntry kRedirMap[] = {
nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
nsIAboutModule::ALLOW_SCRIPT |
nsIAboutModule::URI_MUST_LOAD_IN_CHILD |
nsIAboutModule::MAKE_UNLINKABLE |
nsIAboutModule::HIDE_FROM_ABOUTABOUT },
};
static const int kRedirTotal = ArrayLength(kRedirMap);