Closed
Bug 428402
Opened 17 years ago
Closed 17 years ago
Uncaught exception in places initialization during mochitest run
Categories
(Firefox :: Bookmarks & History, defect)
Firefox
Bookmarks & History
Tracking
()
RESOLVED
FIXED
Firefox 3
People
(Reporter: bent.mozilla, Assigned: bent.mozilla)
References
Details
Attachments
(1 file, 1 obsolete file)
|
1.45 KB,
patch
|
bent.mozilla
:
review+
beltzner
:
approval1.9+
|
Details | Diff | Splinter Review |
Now that we have error messages from JS components again (bug 415498) I'm
seeing this in the console on startup when running mochitests:
[Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIPlacesImportExportService.importHTMLFromFile]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: file:///src/mozilla/trunk/cyclecollector/mozilla/compiled/browser-debug/dist/MinefieldDebug.app/Contents/MacOS/components/nsBrowserGlue.js :: bg__initPlaces :: line 429" data: no]
This will keep some initialization code from running.
The failing line is here:
http://mxr.mozilla.org/seamonkey/source/browser/components/places/src/nsPlacesImportExportService.cpp#2231
Looks like this just needs to be converted to a try/catch instead of try/finally. See patch.
Attachment #314969 -
Flags: review?(dietrich)
Comment 1•17 years ago
|
||
Comment on attachment 314969 [details] [diff] [review]
Patch
please add a Cu.reportError(err) in the catch block.
r=me otherwise
Attachment #314969 -
Flags: review?(dietrich) → review+
| Assignee | ||
Comment 2•17 years ago
|
||
With a Cu.reportError as requested.
Drivers, simple fix that cleans up our error console on mochitest runs.
Attachment #314969 -
Attachment is obsolete: true
Attachment #315855 -
Flags: review+
Attachment #315855 -
Flags: approval1.9?
Comment 3•17 years ago
|
||
Comment on attachment 315855 [details] [diff] [review]
Patch
a1.9=beltzner
Attachment #315855 -
Flags: approval1.9? → approval1.9+
| Assignee | ||
Comment 4•17 years ago
|
||
I won't be able to check this in until Tuesday, so if someone else could do it before then that would be awesome.
Status: NEW → ASSIGNED
Keywords: checkin-needed
Comment 5•17 years ago
|
||
mozilla/browser/components/nsBrowserGlue.js 1.90
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3
Comment 6•15 years ago
|
||
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h".
In Thunderbird 3.0b, you do that as follows:
Tools | Message Filters
Make sure the correct account is selected. Click "New"
Conditions: Body contains places-to-b-and-h
Change the action to "Delete Message".
Select "Manually Run" from the dropdown at the top.
Click OK.
Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter.
Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
You need to log in
before you can comment on or make changes to this bug.
Description
•