Closed
Bug 241991
Opened 20 years ago
Closed 20 years ago
Active Accessibility: state change event at doc load finish shouldn't report STATE_BUSY
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: aaronlev, Assigned: aaronlev)
Details
(Keywords: access)
Attachments
(1 file)
767 bytes,
patch
|
yuanyi21
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
Steps to repro: 1. Run accessible event watcher from MSAA SDK (accevent.exe) 2. Watch for state change events only (under options) 3. Load a new page in Mozilla What happens: First state change event for page reports state_busy (this is correct, doc has started to load) Second state change event for page also reports state_busy (incorrect, doc has finished loading) Expected: Second state change event should not report state_busy
Assignee | ||
Comment 1•20 years ago
|
||
Seeking r=kyle
Assignee | ||
Updated•20 years ago
|
Attachment #147252 -
Flags: review?(kyle.yuan)
Comment on attachment 147252 [details] [diff] [review] Make sure mBusy set correctly before firing event sure, r=me.
Attachment #147252 -
Flags: review?(kyle.yuan) → review+
Assignee | ||
Comment 3•20 years ago
|
||
Johnny, can we relax the requirement for sr='s in the accessibility module for some patches?
Assignee | ||
Updated•20 years ago
|
Attachment #147252 -
Flags: superreview?(jst)
Comment 4•20 years ago
|
||
Comment on attachment 147252 [details] [diff] [review] Make sure mBusy set correctly before firing event if (mBusy != eBusyStateDone) { #ifndef MOZ_ACCESSIBILITY_ATK + mBusy = eBusyStateDone; // before event callback so STATE_BUSY is not reported FireToolkitEvent(nsIAccessibleEvent::EVENT_STATE_CHANGE, this, nsnull); #endif } Right after this code mBusy is set to eBusyStateDone too, why not simply move that line up above the if check that this check is nested in? If you feel that requiring sr slows down development or doesn't generally improve code quality in the accessibility module, take that up with drivers@mozilla.org and super-reviewers@mozilla.org. sr=jst
Attachment #147252 -
Flags: superreview?(jst) → superreview+
Assignee | ||
Comment 5•20 years ago
|
||
> why not simply move that line up above the if check that this check is nested in? Because the if () relies on the same value, so if we set it earlier it won't fire the event. > If you feel that requiring sr slows down development or doesn't generally > improve code quality in the accessibility module, take that up with > drivers@mozilla.org and super-reviewers@mozilla.org. I did send an email to super-reviewers but got no response. Whenever I send an email to that alias I always get "your message awaits moderator approval" and never hear back. Are the messages getting on there?
Comment 6•20 years ago
|
||
(In reply to comment #5) > > If you feel that requiring sr slows down development or doesn't generally > > improve code quality in the accessibility module, take that up with > > drivers@mozilla.org and super-reviewers@mozilla.org. > I did send an email to super-reviewers but got no response. > Whenever I send an email to that alias I always get "your message awaits > moderator approval" and never hear back. Are the messages getting on there? Hmm, I don't remember seeing your message, so it might have gotten lost. You'll get the messages about awaiting moderator approval until someone approves accepting email from your email address to the list, but you should only get those a few times, then it should be taken care of. If you still get these, please contact myk@mozilla.org
Assignee | ||
Comment 7•20 years ago
|
||
This was checked in a while ago, forgot to mark it fixed. 2004-04-30 07:01 aaronleventhal%moonset.net mozilla/ accessible/ src/ base/ nsDocAccessible.cpp 1.34 1/0 Bug 241991. State change event for doc should clear busy flag when doc finished loading. r=kyle, sr=jst
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•