Closed Bug 1084665 Opened 10 years ago Closed 10 years ago

Make reftest-analyzer.xhtml support test/reference images of arbitrary dimensions

Categories

(Testing :: Reftest, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla36

People

(Reporter: jwatt, Assigned: jwatt)

Details

Attachments

(1 file, 1 obsolete file)

layout/tools/reftest/reftest.js hardcodes gBrowser to a size of 800x1000, and reftest-analyzer.xhtml hardcodes these values too. That means that highlighting of differences and getting pixel differences on hover are completely broken for other reftesting harnesses that use different dimensions (such as test_reftests_with_caret.html, which uses 600x600). That's...really annoying, especially when the differences are subtle and you really need the highlighting/hover features to work.
Attached patch patch (obsolete) — Splinter Review
Attachment #8507269 - Flags: review?(dholbert)
Attached patch patchSplinter Review
Attachment #8507269 - Attachment is obsolete: true
Attachment #8507269 - Flags: review?(dholbert)
Attachment #8507295 - Flags: review?(dholbert)
Attachment #8507295 - Flags: review?(dholbert) → review+
https://hg.mozilla.org/mozilla-central/rev/dd11d04e841c
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: