incorrect/misleading messages in test_tooltip.xul

RESOLVED FIXED in mozilla11

Status

()

Core
XUL
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: jfkthame, Assigned: jfkthame)

Tracking

Trunk
mozilla11
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
Created attachment 575751 [details] [diff] [review]
patch, fix the incorrect messages

In toolkit/content/tests/chrome/test_tooltip.xul, there are three fragments of the form

    is(Math.round(rect.left),
       Math.round(buttonrect.left + parseFloat(popupstyle.marginLeft) + 6),
       testname + " top position of tooltip");

which report that they're testing the "top position", when they really mean to say "left position". ("Top position" is tested immediately afterwards in each case.)
Attachment #575751 - Flags: review?(enndeakin)
Attachment #575751 - Flags: review?(enndeakin) → review+
(Assignee)

Comment 1

6 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/ce874976149f
Target Milestone: --- → mozilla11
https://hg.mozilla.org/mozilla-central/rev/ce874976149f
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.