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

RESOLVED WORKSFORME

Status

()

Firefox
Bookmarks & History
--
minor
RESOLVED WORKSFORME
6 years ago
2 years ago

People

(Reporter: Alice0775 White, Unassigned)

Tracking

({regression})

Trunk
x86
All
regression
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
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

Updated

2 years ago
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.