Closed
Bug 1378015
Opened 7 years ago
Closed 7 years ago
Rewrite aom/test_general.html so that it doesn't rely on hashtable enumeration order
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
mozilla56
Tracking | Status | |
---|---|---|
firefox56 | --- | fixed |
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
Details
Attachments
(1 file)
1.01 KB,
patch
|
MarcoZ
:
review+
|
Details | Diff | Splinter Review |
It seems like my patch in bug 1377947 is changing the hashtable enumeration order of nsPersistentProperties::mTable in the object that AccessibleNode::mIntl->Attributes() returns. The buggy test is accessible/tests/mochitest/aom/test_general.html, see this code where ordering assumption is built in: <https://searchfox.org/mozilla-central/rev/a3a739de04ee6134c11546568a33dbb6a6a29907/accessible/tests/mochitest/aom/test_general.html#91> Here is the respective hashtable enumeration: <https://searchfox.org/mozilla-central/rev/a3a739de04ee6134c11546568a33dbb6a6a29907/xpcom/ds/nsPersistentProperties.cpp#546> This is probably an existing intermittent failure.
Assignee | ||
Comment 1•7 years ago
|
||
Forgot to mention that Enumerate is called from here: https://searchfox.org/mozilla-central/rev/a3a739de04ee6134c11546568a33dbb6a6a29907/accessible/aom/AccessibleNode.cpp#91)
Assignee | ||
Comment 2•7 years ago
|
||
Attachment #8883151 -
Flags: review?(surkov.alexander)
Assignee | ||
Comment 3•7 years ago
|
||
Wrong bug!
Comment 4•7 years ago
|
||
Comment on attachment 8883151 [details] [diff] [review] Rewrite aom/test_general.html so that it doesn't rely on hashtable enumeration order Stealing r from surkov, since he won't be back until next week. Thanks, Ehsan!
Attachment #8883151 -
Flags: review?(surkov.alexander) → review+
Assignee | ||
Comment 5•7 years ago
|
||
Thanks for the review!
Pushed by eakhgari@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/738ae725fe19 Rewrite aom/test_general.html so that it doesn't rely on hashtable enumeration order; r=MarcoZ
Comment 7•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/738ae725fe19
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in
before you can comment on or make changes to this bug.
Description
•