Closed Bug 304551 Opened 19 years ago Closed 18 years ago

Javascript nsIXMLHttpRequest exception after extension install, uninstall, and then reinstall on addons.mozilla.org

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect)

x86
Windows 2000
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: bent.mozilla, Assigned: Bugzilla-alanjstrBugs)

References

Details

Using 20050812 build on Win2KPro.

To reproduce:

1. Install any extension (which brings up the extension manager).
2. Without closing the extension manager, uninstall the same extension.
3. Without closing the extension manager, reinstall the extension from the
original page.

Everything seems to work just fine (well, bug 302136 is still around), except
that the following exception is thrown:

Error: uncaught exception: [Exception... "Component returned failure code:
0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send]"  nsresult: "0x80004005
(NS_ERROR_FAILURE)"  location: "JS frame ::
https://addons.mozilla.org/extensions/moreinfo.php?id=10&application=firefox ::
install :: line 86"  data: no]

The URL will be different, of course, depending on which extension you use, but
the error is always the same.
This is not an extension manager error... it is either a bug in xmlhttprequest
or in the way addons.mozilla.org is using xmlhttprequest and this does not
affect sites that install extensions without using xmlhttprequest in the script
- in this case to act as a counter for the number of times the extension has
been installed. There was a bug where this error prevented installation
previously since it happened before the call to install the extension or theme
on the web site.
Component: Extension/Theme Manager → Web Site
Product: Firefox → Update
Version: Trunk → unspecified
Summary: Javascript exception after extension install, uninstall, and then reinstall → Javascript exception after extension install, uninstall, and then reinstall on addons.mozilla.org
Assignee: nobody → Bugzilla-alanjstrBugs
QA Contact: extension.manager → web-ui
Summary: Javascript exception after extension install, uninstall, and then reinstall on addons.mozilla.org → Javascript nsIXMLHttpRequest exception after extension install, uninstall, and then reinstall on addons.mozilla.org
The bug for themes and this issue is bug 295366.
Depends on: 306643
Unable to reproduce on Firefox 1.5.0.3 and Windows XP.
Currently I get the following error when installing, uninstalling, reinstalling and then navigating to a seperate page, although i suspect this may be a seperate bug.

Error: uncaught exception: Security Error: Content at https://addons.mozilla.org/firefox/1538/ may not load data from http://releases.mozilla.org/pub/mozilla.org/extensions/paypal_send_money/paypal_send_money-1.0.1-fx.xpi.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4

WFM
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
Whiteboard: DUPEME
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.