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)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla56
Tracking Status
firefox56 --- fixed

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

References

Details

Attachments

(1 file)

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.
Wrong bug!
Blocks: 1377333
No longer blocks: 1377947
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+
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
https://hg.mozilla.org/mozilla-central/rev/738ae725fe19
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: