Closed
Bug 374977
Opened 17 years ago
Closed 17 years ago
Enable FireVox to find the window with readable context
Categories
(Other Applications :: ChatZilla, enhancement)
Other Applications
ChatZilla
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Gijs, Assigned: Gijs)
References
(Blocks 1 open bug)
Details
(Keywords: access, Whiteboard: [cz-0.9.78])
Attachments
(1 file, 1 obsolete file)
937 bytes,
patch
|
bugzilla-mozilla-20000923
:
review+
|
Details | Diff | Splinter Review |
To do this, we just need to set window.content to the output window from setCurrentObject. This will enable FireVox to find the window with readable context exactly as it does in FireFox itself. This means chat gets read easily. We probably want to tweak that stuff a bit more later, but this is the ground work that needs to be done anyway. And fortunately it's a really easy change. :-)
Assignee | ||
Updated•17 years ago
|
Assignee | ||
Comment 1•17 years ago
|
||
Well, yeah. Just another patch. Making sure not to break the world by checking we get a reasonable object.
Attachment #259366 -
Flags: review?(silver)
Comment 2•17 years ago
|
||
Comment on attachment 259366 [details] [diff] [review] Patch Why not put the new code after the same-object check?
Assignee | ||
Comment 3•17 years ago
|
||
Short answer: cause I'm an idiot. Long answer: because initially I tried to set window._content, when that didn't work I thought it would be because by the time setCurrentObject fired for *client*, that's already the right object and hence having the setter after that line was causing it (I initially had it there). Little did I know (the error console doesn't show this...) that you can't actually set window._content - and that was causing it not to show up. They want you to set window.content instead.
Attachment #259366 -
Attachment is obsolete: true
Attachment #259412 -
Flags: review?(silver)
Attachment #259366 -
Flags: review?(silver)
Assignee | ||
Comment 4•17 years ago
|
||
eh, and obviously I tested this and it does in fact work. Doh! :-)
Comment 5•17 years ago
|
||
Comment on attachment 259412 [details] [diff] [review] Better Patch r=silver, though I'd like a short little comment above the the if to say we're setting window.content so accessibility applications stand a better chance of working.
Attachment #259412 -
Flags: review?(silver) → review+
Assignee | ||
Comment 6•17 years ago
|
||
Checking in mozilla/extensions/irc/xul/content/static.js; /cvsroot/mozilla/extensions/irc/xul/content/static.js,v <-- static.js new revision: 1.237; previous revision: 1.236 done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•17 years ago
|
Whiteboard: [cz-0.9.78]
You need to log in
before you can comment on or make changes to this bug.
Description
•