Bug 620522 - Make default add-ons snippet identifiable by AMO.
authorMarco Bonardo <mbonardo@mozilla.com>
Wed, 09 Feb 2011 14:02:02 +0100
changeset 62222 731505d8842290e7e288f09591dfe3b0e37a0456
parent 62221 280e978fc6fb4c731728255a8bc9c70ded2adbea
child 62223 4215b25a76c227bd8cd94bd4de0e15bbfb86340c
push id18649
push usermak77@bonardo.net
push dateWed, 09 Feb 2011 13:02:42 +0000
treeherdermozilla-central@4215b25a76c2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs620522
milestone2.0b12pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 620522 - Make default add-ons snippet identifiable by AMO. r+a=mossop
browser/base/content/aboutHome.js
--- a/browser/base/content/aboutHome.js
+++ b/browser/base/content/aboutHome.js
@@ -137,17 +137,17 @@ const SEARCH_ENGINES = {
 
 // The process of adding a new default snippet involves:
 //   * add a new entity to aboutHome.dtd
 //   * add a <span/> for it in aboutHome.xhtml
 //   * add an entry here in the proper ordering (based on spans)
 // The <a/> part of the snippet will be linked to the corresponding url.
 const DEFAULT_SNIPPETS_URLS = [
   "http://www.mozilla.com/firefox/4.0/features"
-, "https://addons.mozilla.org/firefox/?browse=featured"
+, "https://addons.mozilla.org/firefox/?src=snippet"
 ];
 
 const SNIPPETS_UPDATE_INTERVAL_MS = 86400000; // 1 Day.
 
 let gSearchEngine;
 
 function onLoad(event)
 {