Open
Bug 1336750
Opened 8 years ago
Updated 2 years ago
find toolbar broken in xul pages like about:preferences; NS_ERROR_UNEXPECTED in FinderHighlighter.jsm:1113
Categories
(Toolkit :: Find Toolbar, defect)
Toolkit
Find Toolbar
Tracking
()
NEW
People
(Reporter: steffen.wilberg, Unassigned)
References
(Depends on 1 open bug)
Details
As requested in bug 1326821 comment 15, here's your bug:
1. open about:preferences, General pane
2. open the browser console
2. activate the find bar using the Find toolbar button (the ctrl+f keyboard shortcut is disabled)
3. enter "Nightly"
Result:
On about:preferences: nothing visible. In the console: the following error, once per keystroke:
NS_ERROR_UNEXPECTED: 1 FinderHighlighter.jsm:1113
_repaintHighlightAllMask resource://gre/modules/FinderHighlighter.jsm:1113:9
_maybeCreateModalHighlightNodes resource://gre/modules/FinderHighlighter.jsm:1091:5
show resource://gre/modules/FinderHighlighter.jsm:325:5
update resource://gre/modules/FinderHighlighter.jsm:443:9
_notify resource://gre/modules/Finder.jsm:118:5
fastFind resource://gre/modules/Finder.jsm:193:5
_find chrome://global/content/bindings/findbar.xml:1005:13
onxblinput chrome://global/content/bindings/findbar.xml:82:9
4. Press Enter in the findbar.
Result: The third appearance of "Nightly", in the line "Nightly is currently your default browser" is somewhat highlighted, this is, it appears in white on almost white, i.e. illegible.
I also managed to trigger this error, but can't reproduce it reliably:
A promise chain failed to handle a rejection. Did you forget to '.catch', or did you forget to 'return'?
See https://developer.mozilla.org/Mozilla/JavaScript_code_modules/Promise.jsm/Promise
Full Message:
Full Stack: JS frame :: resource://gre/modules/FinderHighlighter.jsm :: _repaintHighlightAllMask :: line 1113
JS frame :: resource://gre/modules/FinderHighlighter.jsm :: _maybeCreateModalHighlightNodes :: line 1091
JS frame :: resource://gre/modules/FinderHighlighter.jsm :: show :: line 325
JS frame :: resource://gre/modules/FinderHighlighter.jsm :: _modalHighlight :: line 1053
JS frame :: resource://gre/modules/FinderHighlighter.jsm :: highlightRange :: line 291
JS frame :: resource://gre/modules/FinderHighlighter.jsm :: onIteratorRangeFound :: line 255
JS frame :: resource://gre/modules/FinderIterator.jsm :: this.FinderIterator._findAllRanges< :: line 496
JS frame :: resource://gre/modules/Task.jsm :: TaskImpl_run :: line 319 1 FinderHighlighter.jsm:1113
Reporter | ||
Comment 1•8 years ago
|
||
Further examples are about:config and about:addons (again, use the Find toolbar button to open the find bar).
Comment 2•8 years ago
|
||
Well, this is an example of the Anonymous Content API being unavailable to XUL documents. Bug 1094959 is about this issue exactly.
Blocks: 1094959
Updated•8 years ago
|
Assignee: mdeboer → nobody
Updated•8 years ago
|
Updated•8 years ago
|
OS: Windows 10 → All
Hardware: x86 → All
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•