Closed Bug 281840 Opened 20 years ago Closed 20 years ago

Closing a TAB creates NS_ERROR_FAILURE in extension (booktofav.js)

Categories

(Firefox :: Tabbed Browser, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: len, Assigned: bugs)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

When I try to close a TAB I get the following error message:
[Exception ..."Component returned failure code: 0x80004005 (NS_ERROR_FAILURE)
[nsIFileOutputStream.init]" nsresult:"0x80004005 (NS_ERROR_FAILURE)" location:
JSframe::chrome://booktofav/content/booktofav.js::anonymous::line113"data:no]

I think I copied it correctly.

Reproducible: Sometimes

Steps to Reproduce:
1.Just try to close a tab.  Can be one or the entire open amount.
2.
3.

Actual Results:  
Crashed and closed

Expected Results:  
Just close the tab
This bug is most likely invalid (not a bug in Firefox proper) and should
instead be reported to the authors of the "Favorites Converter (export)"
extension. Do you have the latest version installed?
If no, does the problem dissappear if you update?

https://addons.update.mozilla.org/extensions/moreinfo.php?application=firefox&id=336&vid=1017&page=comments
Summary: Closing a TAB creates NS_ERROR_FAILURE → Closing a TAB creates NS_ERROR_FAILURE in extension (booktofav.js)
improper exception catching/error handling in the extension code is a bug in the
extension.  If a call can fail, you need a fallback.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.