Open Bug 700531 Opened 14 years ago Updated 9 months ago

Open Web Apps extension no restart on install/uninstall causes existing appdir pages loaded to prompt incorrectly on install

Categories

(Web Apps :: Extension, defect, P2)

x86_64
Windows 7
defect

Tracking

(Not tracked)

People

(Reporter: mdabbagh.mozilla, Unassigned)

References

Details

Attachments

(1 obsolete file)

Build identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 When the user is on a page to install apps, if they disable or remove the Open Web Apps extension, the browser behaves as though the extension is still installed/enabled. Refreshing the page that the user is on where they can install an app does not work. They must go to the page in a different/new tab in order to fix the issue. This might be an error with the webpage itself but not entirely sure. Steps to Reproduce: 1. Launch Firefox 2. Install the Open Web Apps extension - Currently, the extension can be installed from http://people.mozilla.com/~mdabbagh/openwebapps/extension/ 3. Go to https://apps.mozillalabs.com/appdir/ 4. Install an app - notice the door hanger appears when installing the app signifying that the extension is recognized as installed 5. Disable/remove the extension - Tools>Add-ons>Extensions 6. Return to the tab with https://apps.mozillalabs.com/appdir/ already opened 7. Try to install an app - Notice door hanger appears again 8. Try refreshing the page and installing an app again - Notice door hanger still appears 9. Open a new tab and go to https://apps.mozillalabs.com/appdir/ 10. Try to install an app - Notice now the door hanger does not appear and the HTML5 implementation is invoked Actual Results: The extension is still recognized as installed even though it was just removed/disabled. Expected Results: The extension should automatically be recognized as disabled/removed no matter what page/tab the user is on. The user should not have to load the page in a different tab or restart the browser to fix the issue.
timA: currently doesn't know how this could be accomplished.. more help required !
Priority: -- → P2
This may never be possible due to code injection. ie. once code is injected into content, it will live until that content is deleted. If you try to "remove" the addon before then, it will only be partially removed. IMO we should punt on trying to be a restartless addon and require a restart.
I'd like to say this is not a blocker for developer preview release
No longer blocks: 698879
Note: This problem also occurs when installing the extension in one tab and having https://apps.mozillalabs.com/appdir/ in another tab.
Summary: Open Web Apps extension not disabled/removed properly → Open Web Apps extension no restart on install/uninstall causes existing appdir pages loaded to prompt incorrectly on install
A Pivotal Tracker story has been created for this Bug: http://www.pivotaltracker.com/story/show/24808687
Generally there appears to be a lot of issues with the add on being restartless (seen another issue with the dashboard when you uninstall the extension, can't launch apps). A restart should be required.
Attachment #9383774 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: