Closed
Bug 716677
Opened 13 years ago
Closed 13 years ago
test_bug296375.xul makes incorrect assumptions about the event ordering
Categories
(Core :: DOM: Events, defect)
Tracking
()
RESOLVED
FIXED
mozilla12
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
Details
Attachments
(1 file)
(deleted),
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
This test implicitly assumes that events added in order will be fired in order. We should just call finish when we know that we're done.
Assignee | ||
Comment 1•13 years ago
|
||
Comment 2•13 years ago
|
||
Comment on attachment 587138 [details] [diff] [review]
Patch (v1)
Does addLoadEvent not guarantee the right order? That would be bug in
mochitest. addEventListener does guarantee the order. Is mochitest not using that?
But anyway, looks ok.
Attachment #587138 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 3•13 years ago
|
||
No, mochitest rolls its own implementation, IIRC.
Assignee | ||
Comment 4•13 years ago
|
||
Target Milestone: --- → mozilla12
Assignee | ||
Comment 5•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•