mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1150862, make about:reader unlinkable from content on desktop, r=gavin
This commit is contained in:
parent
8a7ed8a37e
commit
4bbf94cdce
@ -31,7 +31,7 @@ struct RedirEntry {
|
|||||||
required before adding new map entries without
|
required before adding new map entries without
|
||||||
URI_SAFE_FOR_UNTRUSTED_CONTENT. Also note, however, that adding
|
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_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[] = {
|
static RedirEntry kRedirMap[] = {
|
||||||
#ifdef MOZ_SAFE_BROWSING
|
#ifdef MOZ_SAFE_BROWSING
|
||||||
@ -122,6 +122,7 @@ static RedirEntry kRedirMap[] = {
|
|||||||
nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
|
nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
|
||||||
nsIAboutModule::ALLOW_SCRIPT |
|
nsIAboutModule::ALLOW_SCRIPT |
|
||||||
nsIAboutModule::URI_MUST_LOAD_IN_CHILD |
|
nsIAboutModule::URI_MUST_LOAD_IN_CHILD |
|
||||||
|
nsIAboutModule::MAKE_UNLINKABLE |
|
||||||
nsIAboutModule::HIDE_FROM_ABOUTABOUT },
|
nsIAboutModule::HIDE_FROM_ABOUTABOUT },
|
||||||
};
|
};
|
||||||
static const int kRedirTotal = ArrayLength(kRedirMap);
|
static const int kRedirTotal = ArrayLength(kRedirMap);
|
||||||
|
Loading…
Reference in New Issue
Block a user