Bug 21952: Implement Onion-Location
Whenever a valid Onion-Location HTTP header (or corresponding HTML <meta> http-equiv attribute) is found in a document load, we either redirect to it (if the user opted-in via preference) or notify the presence of an onionsite alternative with a badge in the urlbar.
Showing
- browser/base/content/browser.js 12 additions, 0 deletionsbrowser/base/content/browser.js
- browser/base/content/browser.xhtml 3 additions, 0 deletionsbrowser/base/content/browser.xhtml
- browser/components/BrowserGlue.jsm 9 additions, 0 deletionsbrowser/components/BrowserGlue.jsm
- browser/components/onionservices/OnionLocationChild.jsm 43 additions, 0 deletionsbrowser/components/onionservices/OnionLocationChild.jsm
- browser/components/onionservices/OnionLocationParent.jsm 161 additions, 0 deletionsbrowser/components/onionservices/OnionLocationParent.jsm
- browser/components/onionservices/content/onionlocation-notification-icons.css 5 additions, 0 deletions...nionservices/content/onionlocation-notification-icons.css
- browser/components/onionservices/content/onionlocation-urlbar.css 27 additions, 0 deletions...components/onionservices/content/onionlocation-urlbar.css
- browser/components/onionservices/content/onionlocation-urlbar.inc.xhtml 10 additions, 0 deletions...ents/onionservices/content/onionlocation-urlbar.inc.xhtml
- browser/components/onionservices/content/onionlocation.svg 3 additions, 0 deletionsbrowser/components/onionservices/content/onionlocation.svg
- browser/components/onionservices/content/onionlocationPreferences.inc.xhtml 11 additions, 0 deletions.../onionservices/content/onionlocationPreferences.inc.xhtml
- browser/components/onionservices/content/onionlocationPreferences.js 31 additions, 0 deletions...ponents/onionservices/content/onionlocationPreferences.js
- browser/components/onionservices/jar.mn 2 additions, 0 deletionsbrowser/components/onionservices/jar.mn
- browser/components/onionservices/moz.build 2 additions, 0 deletionsbrowser/components/onionservices/moz.build
- browser/components/preferences/privacy.inc.xhtml 2 additions, 0 deletionsbrowser/components/preferences/privacy.inc.xhtml
- browser/components/preferences/privacy.js 17 additions, 0 deletionsbrowser/components/preferences/privacy.js
- browser/themes/shared/notification-icons.inc.css 2 additions, 0 deletionsbrowser/themes/shared/notification-icons.inc.css
- browser/themes/shared/urlbar-searchbar.inc.css 2 additions, 0 deletionsbrowser/themes/shared/urlbar-searchbar.inc.css
- dom/base/Document.cpp 32 additions, 1 deletiondom/base/Document.cpp
- dom/base/Document.h 2 additions, 0 deletionsdom/base/Document.h
- dom/webidl/Document.webidl 9 additions, 0 deletionsdom/webidl/Document.webidl
Loading
Please register or sign in to comment