Closed Bug 691524 Opened 13 years ago Closed 13 years ago

Remove support for browser.startup.page == 2 and deprecate lastPageVisited

Categories

(Toolkit :: Places, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla10

People

(Reporter: Margaret, Assigned: Margaret)

References

(Blocks 1 open bug)

Details

(Keywords: addon-compat, dev-doc-complete, Whiteboard: [fixed-in-fx-team])

Attachments

(1 file, 1 obsolete file)

I'm going to be refactoring some of our window startup code while I implement the home tab and some corresponding new startup logic, so I figured it would be a good time to clean up some of the cruft in the startup code.

This pref hasn't been accessible from the UI for a long time (I don't know when it was), and lastPageVisited is a synchronous API only used by this pref, so I think we'd be okay killing it.
I'm fine with killing the API, but just for information, are there many add-ons using it? If it ends up being needed we may want to add an asynchronous replacement.
Attached patch patch (obsolete) — Splinter Review
As discussed on IRC, only one add-on [1] uses this API. It only supports up to 3.6a1pre, so I don't think we need to worry about breaking it.

[1] https://addons.mozilla.org/en-US/firefox/addon/firetray-10702/
Assignee: nobody → margaret.leibovic
Attachment #564373 - Flags: review?(mak77)
Attached patch patchSplinter Review
Oops, forgot to save some changes before exporting patch.
Attachment #564373 - Attachment is obsolete: true
Attachment #564373 - Flags: review?(mak77)
Attachment #564375 - Flags: review?(mak77)
Comment on attachment 564375 [details] [diff] [review]
patch

Review of attachment 564375 [details] [diff] [review]:
-----------------------------------------------------------------

This looks good to me. It still needs a SR for the API change before landing, gavin is already aware of this so going through him.
Attachment #564375 - Flags: superreview?(gavin.sharp)
Attachment #564375 - Flags: review?(mak77)
Attachment #564375 - Flags: review+
Status: NEW → ASSIGNED
Flags: in-testsuite-
Keywords: addon-compat
Attachment #564375 - Flags: superreview?(gavin.sharp) → superreview+
https://hg.mozilla.org/integration/fx-team/rev/695e3b73e605
Whiteboard: [fixed-in-fx-team]
Blocks: 692339
https://hg.mozilla.org/mozilla-central/rev/695e3b73e605
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla10
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: