Bug 662785 - Clean up remaining first-run pieces. r=mfinkle

This commit is contained in:
Wes Johnston 2011-06-09 13:54:34 -07:00
parent 0444e9dc70
commit 37e196e588
5 changed files with 2 additions and 17 deletions

View File

@ -148,7 +148,7 @@ function tab_on_undo() {
let undoBox = document.getElementById("tabs")._tabsUndo;
is(undoBox.firstChild, null, "It should be no tab in the undo box");
Browser.loadURI("about:firstrun");
Browser.loadURI("about:home");
is(undoBox.firstChild, null, "It should be no tab in the undo box when opening a new local page");
// loadURI will open a new tab so ensure new_tab_05 point to the newly opened tab

View File

@ -120,12 +120,6 @@ AboutEmpty.prototype = {
classID: Components.ID("{433d2d75-5923-49b0-854d-f37267b03dc7}")
}
function AboutFirstrun() {}
AboutFirstrun.prototype = {
__proto__: AboutGeneric.prototype,
classID: Components.ID("{077ea23e-0f22-4168-a744-8e444b560197}")
}
function AboutFennec() {}
AboutFennec.prototype = {
__proto__: AboutGeneric.prototype,
@ -162,6 +156,6 @@ AboutBlocked.prototype = {
classID: Components.ID("{88fd40b6-c5c2-4120-9238-f2cb9ff98928}")
}
const components = [AboutEmpty, AboutFirstrun, AboutFennec, AboutRights,
const components = [AboutEmpty, AboutFennec, AboutRights,
AboutCertError, AboutFirefox, AboutHome, AboutBlocked];
const NSGetFactory = XPCOMUtils.generateNSGetFactory(components);

View File

@ -1,8 +1,6 @@
# AboutRedirector.js
component {433d2d75-5923-49b0-854d-f37267b03dc7} AboutRedirector.js
contract @mozilla.org/network/protocol/about;1?what=empty {433d2d75-5923-49b0-854d-f37267b03dc7}
component {077ea23e-0f22-4168-a744-8e444b560197} AboutRedirector.js
contract @mozilla.org/network/protocol/about;1?what=firstrun {077ea23e-0f22-4168-a744-8e444b560197}
component {842a6d11-b369-4610-ba66-c3b5217e82be} AboutRedirector.js
contract @mozilla.org/network/protocol/about;1?what=fennec {842a6d11-b369-4610-ba66-c3b5217e82be}
component {dd40c467-d206-4f22-9215-8fcc74c74e38} AboutRedirector.js

View File

@ -11,10 +11,6 @@
# title for the folder that will contains the default bookmarks
#define bookmarks_title Mobile
# LOCALIZATION NOTE (bookmarks_welcome):
# link title for about:firstrun
#define bookmarks_welcome Firefox: Welcome
# LOCALIZATION NOTE (bookmarks_aboutBrowser):
# link title for about:fennec
#define bookmarks_aboutBrowser Firefox: About your browser

View File

@ -3,9 +3,6 @@
[{"type":"text/x-moz-place-container","title":"@bookmarks_title@","annos":[{"name":"mobile/bookmarksRoot","expires":4,"type":1,"value":1}],
"children":
[
{ "title":"@bookmarks_welcome@", "type":"text/x-moz-place", "uri":"about:firstrun",
"iconUri":"chrome://branding/content/favicon32.png"
},
{"index":1,"title":"@bookmarks_aboutBrowser@", "type":"text/x-moz-place", "uri":"about:firefox",
"iconUri":"chrome://branding/content/favicon32.png"
},