Closed
Bug 336194
Opened 18 years ago
Closed 17 years ago
getPagesWithAnnotation throws exception if there are no pages with that annotation
Categories
(Firefox :: Bookmarks & History, defect, P3)
Firefox
Bookmarks & History
Tracking
()
RESOLVED
WORKSFORME
Firefox 3 beta3
People
(Reporter: myk, Unassigned)
Details
(Whiteboard: swag: 10mins)
In my debug trunk build, if I call getPagesWithAnnotation for an annotation that isn't currently annotating any pages, two annotation service warnings pop up on my console, and then the annotation service throws an exception: WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed: file nsAnnotationService.cpp, line 565 WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed: file nsAnnotationService.cpp, line 521 ************************************************************ * Call to xpconnect wrapped JSObject produced this error: * [Exception... "Component returned failure code: 0x804b000a [nsIAnnotationService.getPagesWithAnnotation]" nsresult: "0x804b000a (<unknown>)" location: "JS frame :: file:///home/myk/Projects/firefox-trunk/mozilla/dist/bin/components/nsMicrosummaryService.js :: MSS__updateMicrosummaries :: line 177" data: no] ************************************************************ If I then add an annotation with the given name to a page and repeat the call to getPagesWithAnnotation, the warnings don't appear, and the exception doesn't get thrown.
Updated•18 years ago
|
Assignee: nobody → brettw
Updated•18 years ago
|
OS: Linux → All
Priority: -- → P2
Hardware: PC → All
Whiteboard: swag: 10mins
Version: 2.0 Branch → Trunk
Updated•18 years ago
|
Priority: P2 → P3
Target Milestone: --- → Firefox 3 alpha2
Updated•18 years ago
|
Assignee: brettw → nobody
Updated•17 years ago
|
Target Milestone: Firefox 3 alpha2 → Firefox 3 M10
Comment 1•17 years ago
|
||
i've seen that the code changed there, does this happens yet? i've tried to reproduce but can't
Updated•17 years ago
|
Target Milestone: Firefox 3 M10 → Firefox 3 M11
Reporter | ||
Comment 2•17 years ago
|
||
No, this doesn't seem to happen anymore.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
Comment 3•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
•