Closed
Bug 561734
Opened 15 years ago
Closed 15 years ago
Use do_QueryObject
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
People
(Reporter: neil, Assigned: neil)
Details
Attachments
(2 files)
|
19.04 KB,
patch
|
surkov
:
review+
davidb
:
review+
|
Details | Diff | Splinter Review |
|
12.88 KB,
patch
|
surkov
:
review+
davidb
:
review+
|
Details | Diff | Splinter Review |
do_QueryObject replaces:
nsAccUtils::QueryAccessible (2x)
nsAccUtils::QueryAccessibleTable
nsAccUtils::QueryAccessibleDocument (2x)
nsAccUtils::QueryAccessibleTree
| Assignee | ||
Comment 1•15 years ago
|
||
Trying multiple addresses in case of mismatches, please cancel incorrect ones.
Assignee: nobody → neil
Status: NEW → ASSIGNED
Attachment #441473 -
Flags: review?(surkov.alexander)
Attachment #441473 -
Flags: review?(marco.zehe)
Attachment #441473 -
Flags: review?(bolterbugz)
Comment 2•15 years ago
|
||
(In reply to comment #1)
> Created an attachment (id=441473) [details]
> Proposed patch
>
> Trying multiple addresses in case of mismatches, please cancel incorrect ones.
Neil, could you describe this more please? I do not see anything wrong with the patch.
Comment 3•15 years ago
|
||
Comment on attachment 441473 [details] [diff] [review]
Proposed patch
Does this have any expected impact? In other words, should I test this, or is this just code cleanup/refactor?
Comment 4•15 years ago
|
||
(In reply to comment #3)
> (From update of attachment 441473 [details] [diff] [review])
> Does this have any expected impact? In other words, should I test this, or is
> this just code cleanup/refactor?
It's cleanup.
Comment 5•15 years ago
|
||
Comment on attachment 441473 [details] [diff] [review]
Proposed patch
Cancelling my review request.
Attachment #441473 -
Flags: review?(marco.zehe)
| Assignee | ||
Comment 6•15 years ago
|
||
(In reply to comment #2)
> (In reply to comment #1)
> > Trying multiple addresses in case of mismatches, please cancel incorrect ones.
> Neil, could you describe this more please? I do not see anything wrong with the
> patch.
I wasn't sure who to request or whether I had remembered the correct email addresses (Bugzilla doesn't give you a chance to correct them when you're creating an attachment) so I simply typed in what I could remember.
Comment 7•15 years ago
|
||
I see :)
Comment 8•15 years ago
|
||
Comment on attachment 441473 [details] [diff] [review]
Proposed patch
r=me, thank you for fixing this and thank you for do_QueryObject implementation!
Attachment #441473 -
Flags: review?(surkov.alexander) → review+
Comment 9•15 years ago
|
||
Comment on attachment 441473 [details] [diff] [review]
Proposed patch
r=me, nice 1 thanks.
Attachment #441473 -
Flags: review?(bolterbugz) → review+
Comment 10•15 years ago
|
||
landed on 1.9.3 - http://hg.mozilla.org/mozilla-central/rev/2d1edfb3aaa3
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 11•15 years ago
|
||
Sorry for overlooking these. I wonder whether there are any more?
Attachment #444252 -
Flags: review?(surkov.alexander)
Attachment #444252 -
Flags: review?(bolterbugz)
Comment 12•15 years ago
|
||
Comment on attachment 444252 [details] [diff] [review]
Missed some
> nsTextAccessible::AppendTextTo(nsAString& aText, PRUint32 aStartOffset, PRUint32 aLength)
> {
> nsIFrame *frame = GetFrame();
>- NS_ENSURE_TRUE(frame, NS_ERROR_FAILURE);
>+ if (!frame) return NS_ERROR_FAILURE;//NS_ENSURE_TRUE(frame, NS_ERROR_FAILURE);
why is this change?
r=me, thank you for doing this
I think there are no other cases for do_QueryObject
Attachment #444252 -
Flags: review?(surkov.alexander) → review+
| Assignee | ||
Comment 13•15 years ago
|
||
(In reply to comment #12)
> >- NS_ENSURE_TRUE(frame, NS_ERROR_FAILURE);
> >+ if (!frame) return NS_ERROR_FAILURE;//NS_ENSURE_TRUE(frame, NS_ERROR_FAILURE);
> why is this change?
I've got no idea why that change is there at all. I can only guess it must have been left over from a review of some unrelated patch. Sorry about that.
Comment 14•15 years ago
|
||
Comment on attachment 444252 [details] [diff] [review]
Missed some
r=me thanks!
Attachment #444252 -
Flags: review?(bolterbugz) → review+
| Assignee | ||
Comment 15•15 years ago
|
||
Pushed changeset ce9f07472020 to mozilla-central.
You need to log in
before you can comment on or make changes to this bug.
Description
•