Closed
Bug 1276972
Opened 8 years ago
Closed 8 years ago
Add value and attributes caching tests.
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
mozilla50
Tracking | Status | |
---|---|---|
firefox50 | --- | fixed |
People
(Reporter: yzen, Assigned: yzen)
Details
Attachments
(1 file)
No description provided.
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → yzenevich
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/56604/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/56604/
Attachment #8758324 -
Flags: review?(eitan)
Assignee | ||
Comment 2•8 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=35aafb436cd3
Comment 3•8 years ago
|
||
Comment on attachment 8758324 [details] Bug 1276972 - adding value and attributes caching tests. https://reviewboard.mozilla.org/r/56604/#review53712 A few questions below. Thanks! ::: accessible/tests/browser/browser_caching_attributes.js:61 (Diff revision 1) > + unexpected: { > + 'container-live': 'polite', > + 'live': 'polite' > + } > +}, { > + desc: '@id attribute changes, attributes should get updated', Will this reliably pass all the time? Not waiting for an event makes me nervous. ::: accessible/tests/browser/browser_caching_attributes.js:75 (Diff revision 1) > + unexpected: { > + 'container-live': 'polite', > + 'live': 'polite' > + } > +}, { > + desc: '@aria-live sets container-live and live attributes', Same, no event. How will this remain reliable? ::: accessible/tests/browser/browser_caching_value.js:72 (Diff revision 1) > + desc: 'Value should change when @aria-valuetext is updated', > + id: 'slider', > + attrs: [{ > + attr: 'aria-valuenow' > + }], > + expected: ['hey!', 0, 0, 7, 0] This is an interesting case, valuetext doesn't change, valuenow does, and you don't get an EVENT_VALUE_CHANGE? I would think that is a bug.
Attachment #8758324 -
Flags: review?(eitan)
Assignee | ||
Comment 4•8 years ago
|
||
(In reply to Eitan Isaacson [:eeejay] from comment #3) > Comment on attachment 8758324 [details] > MozReview Request: Bug 1276972 - adding value and attributes caching tests. > r=eeejay > > ... > > ::: accessible/tests/browser/browser_caching_value.js:72 > (Diff revision 1) > > + desc: 'Value should change when @aria-valuetext is updated', > > + id: 'slider', > > + attrs: [{ > > + attr: 'aria-valuenow' > > + }], > > + expected: ['hey!', 0, 0, 7, 0] > > This is an interesting case, valuetext doesn't change, valuenow does, and > you don't get an EVENT_VALUE_CHANGE? I would think that is a bug. Here value does not change, what does is nsIAccessibleValue::currentValue in cases were accessible supports nsIAccessibleValue interface.
Assignee | ||
Comment 5•8 years ago
|
||
Comment on attachment 8758324 [details] Bug 1276972 - adding value and attributes caching tests. Review request updated; see interdiff: https://reviewboard.mozilla.org/r/56604/diff/1-2/
Attachment #8758324 -
Attachment description: MozReview Request: Bug 1276972 - adding value and attributes caching tests. r=eeejay → Bug 1276972 - adding value and attributes caching tests.
Attachment #8758324 -
Flags: review?(eitan)
Assignee | ||
Comment 6•8 years ago
|
||
Comment on attachment 8758324 [details] Bug 1276972 - adding value and attributes caching tests. Review request updated; see interdiff: https://reviewboard.mozilla.org/r/56604/diff/2-3/
Comment 7•8 years ago
|
||
Comment on attachment 8758324 [details] Bug 1276972 - adding value and attributes caching tests. https://reviewboard.mozilla.org/r/56604/#review54516 ::: accessible/tests/browser/browser_caching_attributes.js:68 (Diff revisions 1 - 2) > attrs: [{ > attr: 'aria-live', > value: 'polite' > + }, { > + // Additionally triggering NAME_CHANGE event to make sure there are no > + // intermittents. I think this is even more problematic. The change alters the actual test. I would keep it the way it is (no waitFor). But more generally, I think it is a bug that there is no event when the numeric value changes if there is a text value.
Attachment #8758324 -
Flags: review?(eitan)
Assignee | ||
Comment 8•8 years ago
|
||
Comment on attachment 8758324 [details] Bug 1276972 - adding value and attributes caching tests. Review request updated; see interdiff: https://reviewboard.mozilla.org/r/56604/diff/3-4/
Attachment #8758324 -
Flags: review?(eitan)
Assignee | ||
Comment 9•8 years ago
|
||
(In reply to Yura Zenevich [:yzen] from comment #8) > Comment on attachment 8758324 [details] > Bug 1276972 - adding value and attributes caching tests. > > Review request updated; see interdiff: > https://reviewboard.mozilla.org/r/56604/diff/3-4/ OK, moved things back when there were no events ?
Comment 10•8 years ago
|
||
Comment on attachment 8758324 [details] Bug 1276972 - adding value and attributes caching tests. https://reviewboard.mozilla.org/r/56604/#review55100
Attachment #8758324 -
Flags: review?(eitan) → review+
Assignee | ||
Comment 11•8 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=1357e6366168
Comment 12•8 years ago
|
||
Pushed by yura.zenevich@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/b107bbf2a067 adding value and attributes caching tests. r=eeejay
Comment 13•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b107bbf2a067
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox50:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
You need to log in
before you can comment on or make changes to this bug.
Description
•