Similar feature is already in firefox (selected data's get deleted if you click on "Quit" button) instead of this, if firefox gets closed from the background, selected data's get deleted automatically.
Thanks for submitting an idea to the Mozilla Connect community! Your idea is now open to votes (aka kudos) and comments.
never-displayed