[Webkit-unassigned] [Bug 94567] New: _compare_image() swaps actual and expected images by mistake

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 20 20:25:20 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=94567

           Summary: _compare_image() swaps actual and expected images by
                    mistake
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: simon.fraser at apple.com
                CC: dpranke at chromium.org


I'm pretty sure that _compare_image() is swapping the images by mistake:

            diff_result = self._port.diff_image(driver_output.image, expected_driver_output.image)

    def diff_image(self, expected_contents, actual_contents, tolerance):

Note flipped order of params.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list