Closed Bug 378561 Opened 18 years ago Closed 18 years ago

Fire STATE_CHANGE event without specified state

Categories

(Core :: Disability Access APIs, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: ginnchen+exoracle, Assigned: ginnchen+exoracle)

References

Details

Attachments

(1 file)

in nsDocAccessible::DocLoadCallback around line 1566 according bug 343136 comment #23 it should be STATE_BUSY
Attached patch patchSplinter Review
also add a cast to avoid compiler warning
Attachment #262620 - Flags: review?(aaronleventhal)
Comment on attachment 262620 [details] [diff] [review] patch That cast shouldn't be necessary. If we need it there then why don't we need it everywehere that we set *aRole in the various impls of GetRole()? Also in XP code we use NS_STATIC_CAST.
Attachment #262620 - Flags: review?(aaronleventhal) → review+
Yes, it's not necessary. Just to workaround compiler warning: enumeral mismatch in conditional expression. Don't like it?
I'd prefer if/else if that fixes it. Otherwise use NS_STATIC_CAST, since that's the "official" way to cast in XP code.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: