Closed Bug 717510 Opened 13 years ago Closed 9 years ago

Errors appear in Error console when I open a history search result in Library

Categories

(Firefox :: Bookmarks & History, defect)

x86
All
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: alice0775, Unassigned)

References

Details

(Keywords: regression)

Build Identifier: http://hg.mozilla.org/mozilla-central/rev/e79ef0ffcb09 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0a1) Gecko/20120111 Firefox/12.0a1 ID:20120111031049 Errors appear in Error console when I open a history search result in Library This happens when the history search result is only one in Library. Reproducible: Always Steps to Reproduce: 1. Open Firefox with clean profile and Navigate some web pages 2. Open Error Console(Ctrl+Shift+j) 3. Open Library (Ctrl+Shift+h) 4. Do search History, and make the history search result is only one 5. Double click a history search result Pay attention to Error console 6. Re-focus Library window Pay attention to Error console Actual Results: The following Error appear in error console at Step 5 & 6 **After double click to open search result in hitory (found only one history entry): Error: 'Illegal value' when calling method: [nsINavHistoryResultTreeViewer::nodeForTreeIndex] = NS_ERROR_ILLEGAL_VALUE Source file: chrome://browser/content/places/tree.xml Line: 301 Error: An error occurred updating the cmd_cut command: [Exception... "'Illegal value' when calling method: [nsINavHistoryResultTreeViewer::nodeForTreeIndex]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: chrome://browser/content/places/tree.xml :: get_selectedNodes :: line 301" data: no] Source file: chrome://global/content/globalOverlay.js Line: 86 **After re-focus Library: Error: An error occurred updating the cmd_delete command: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsINavHistoryContainerResultNode.getChild]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: chrome://browser/content/places/treeView.js :: PTV__getNodeForRow :: line 260" data: no] Source file: chrome://global/content/globalOverlay.js Line: 86 Expected Results: No error. Regression window(m-c) No error: http://hg.mozilla.org/mozilla-central/rev/133040714411 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0a1) Gecko/20110502 Firefox/6.0a1 ID:20110502043011 Error: http://hg.mozilla.org/mozilla-central/rev/4947d988f657 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0a1) Gecko/20110502 Firefox/6.0a1 ID:20110502043705 Pushlog: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=133040714411&tochange=4947d988f657
likely bug 630240, thanks.
Blocks: 630240
Keywords: regression
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.